diff options
author | Carsten Haitzler <raster@rasterman.com> | 2012-11-22 11:57:22 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2012-11-22 11:57:22 +0000 |
commit | 5d7474c5e5981eb57f2a4cb4e0007d29578d467a (patch) | |
tree | bf0bd4e75e8bc5c1515a594f59e9ade271ecae60 /src/bin/e_about.c | |
parent | 191837c60910f27fb95e2b040d4e9681c8ad30e7 (diff) | |
download | enlightenment-5d7474c5e5981eb57f2a4cb4e0007d29578d467a.tar.gz |
split about text -> the translatable bit and the license bit (always
english).
SVN revision: 79539
Diffstat (limited to 'src/bin/e_about.c')
-rw-r--r-- | src/bin/e_about.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/bin/e_about.c b/src/bin/e_about.c index 56b78b0157..ddf9d8e145 100644 --- a/src/bin/e_about.c +++ b/src/bin/e_about.c @@ -10,6 +10,7 @@ EAPI E_About * e_about_new(E_Container *con) { E_Obj_Dialog *od; + char buf[16384]; od = e_obj_dialog_new(con, _("About Enlightenment"), "E", "_about"); if (!od) return NULL; @@ -17,11 +18,8 @@ e_about_new(E_Container *con) e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close")); e_obj_dialog_obj_part_text_set(od, "e.text.title", _("Enlightenment")); e_obj_dialog_obj_part_text_set(od, "e.text.version", VERSION); - e_obj_dialog_obj_part_text_set - (od, "e.textblock.about", - /* note: if translating this, ONLY translate down until (but not - * including) "All rights reserved". - this is a legal document - * and should remain in its original form */ + snprintf + (buf, sizeof(buf), "%s%s", _( "<title>Copyright © 2000-2012, by the Enlightenment " "Development Team</><br>" @@ -32,6 +30,7 @@ e_about_new(E_Container *con) "To contact us please visit:<br>" "<hilight>http://www.enlightenment.org</><br>" "<br>" + ), "All rights reserved.<br>" "<br>" "Redistribution and use in source and binary forms, with or without " @@ -57,9 +56,8 @@ e_about_new(E_Container *con) "LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN " "ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE " "POSSIBILITY OF SUCH DAMAGE.</><br>" - ) ); - + e_obj_dialog_obj_part_text_set(od, "e.textblock.about", buf); { FILE *f; char buf[4096]; |