Hi Tomas, I created a preleminary translation. I have not much experience with this, so I am unsure whether I set the right encoding type? I chose ISO-8859-15 (Western European including Euro Symbol). Also, I noticed that both for view.php and edit.php the headline for Home Address and Business Address where not centered like the other two headlines, but aligned to the left. Personally, I do not care about that sort of thing other than I like it all to be the same, so I changed it. (See diffs attached). In Address view, the plugin will add a link 'more' to access extra entries. This does not make use of any localizable string yet, so I could only have hard-coded it into German. in squirrelmail.po, there already is a string for that, so perhaps that could be used? Thanks, Martin Am Di, 1.08.2006, 09:13, schrieb Tomas Kuliavas: >> Hi Tomas, >> I just installed the plugin and patch (I use SquirrelMail 1.4.7) and it works great! >> If you like I could provide a German translation for it. Is it enough to provide a German version of abook_extend.pot? > > Yes, if you don't break gettext format or use some gettext editor to create German abook_extended.po file. Translation must be licensed under GPL. Binary abook_extended.mo file is created with 'msgfmt -v -c -o abook_extended.mo abook_extended.po' command. Translated abook_extended.po and abook_extended.mo files should be stored in same directory that stores squirrelmail.po and squirrelmail.mo files. German translation is stored in locale/de_DE/LC_MESSAGES. > > -- > Tomas > > > -- "In everyone there sleeps A sense of life lived according to love. To some it means the difference they could make By loving others, but across most it sweeps As all they might have done had they been loved. That nothing cures." Philip Larkin 'Faith Healing' (1960)--- view.php.old 2006-08-02 14:26:15.242979743 +0200 +++ view.php 2006-08-02 14:24:31.714985064 +0200 @@ -116,7 +116,7 @@ echo '
'; echo html_tag('table', html_tag('tr', - html_tag('th',_("Home address"),'left',$color[0],'colspan="2"') + html_tag('th',_("Home address"),'center',$color[0],'colspan="2"') ). html_tag('tr', html_tag('td',_("Street:"),'right','','width="50%"'). @@ -146,7 +146,7 @@ echo ' | ';
echo html_tag('table',
html_tag('tr',
- html_tag('th',_("Business address"),'left',$color[0],'colspan="2"')
+ html_tag('th',_("Business address"),'center',$color[0],'colspan="2"')
).
html_tag('tr',
html_tag('td',_("Street:"),'right','','width="50%"'). Attachment:
edit.diff # German translations for PACKAGE package. # Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # root <martin@xxxxxxxxxxxxxx>, 2006. # msgid "" msgstr "" "Project-Id-Version: V 0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-08-02 13:49+0200\n" "PO-Revision-Date: 2006-08-02 13:50+0200\n" "Last-Translator: root <martin@xxxxxxxxxxxxxx>\n" "Language-Team: German <translation-team-de@xxxxxxxxxxxxxxxxxxxxx>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: edit.php:31 view.php:27 msgid "Invalid nickname" msgstr "Ungültiges Kürzel" #: edit.php:36 view.php:32 msgid "Invalid backend" msgstr "Ungültiges Backend" #: edit.php:41 view.php:37 msgid "Invalid backend number" msgstr "Ungültige Backend Nummer" #: edit.php:44 view.php:40 msgid "Invalid backend type" msgstr "Ungültiger Backend Typ" #: edit.php:56 view.php:52 msgid "No such address book entry" msgstr "Der Adressbucheintrag existiert nicht" #: edit.php:65 msgid "Invalid address book form" msgstr "Ungültiges Adressbuch Formular" #: edit.php:104 view.php:59 msgid "Personal Information" msgstr "Persönliche Informationen" #: edit.php:107 view.php:62 msgid "Nickname:" msgstr "Kürzel:" #: edit.php:111 view.php:66 msgid "First Name:" msgstr "Vorname:" #: edit.php:115 view.php:70 msgid "Last Name:" msgstr "Nachname:" #: edit.php:119 view.php:74 msgid "Info:" msgstr "Info:" #: edit.php:123 view.php:78 msgid "Email:" msgstr "E-Mail:" #: edit.php:130 view.php:85 msgid "Phones" msgstr "Telefonnummern" #: edit.php:133 view.php:88 msgid "Home:" msgstr "Privat:" #: edit.php:137 view.php:92 msgid "Work:" msgstr "Büro:" #: edit.php:141 view.php:96 msgid "Mobile:" msgstr "Mobil:" #: edit.php:145 view.php:100 msgid "Home Fax:" msgstr "Fax Privat:" #: edit.php:149 view.php:104 msgid "Work Fax:" msgstr "Fax Büro:" #: edit.php:153 view.php:108 msgid "Pager:" msgstr "Pager:" #: edit.php:164 view.php:119 msgid "Home address" msgstr "Adresse Privat" #: edit.php:167 edit.php:197 view.php:122 view.php:152 msgid "Street:" msgstr "Straße:" #: edit.php:171 edit.php:201 view.php:126 view.php:156 msgid "City:" msgstr "Ort:" #: edit.php:175 edit.php:205 view.php:130 view.php:160 msgid "Postal Code:" msgstr "PLZ:" #: edit.php:179 edit.php:209 view.php:134 view.php:164 msgid "State/Region:" msgstr "Bundesland:" #: edit.php:183 edit.php:213 view.php:138 view.php:168 msgid "Country:" msgstr "Land:" #: edit.php:187 view.php:142 msgid "Personal Web Page:" msgstr "Homepage Privat:" #: edit.php:194 view.php:149 msgid "Business address" msgstr "Adresse Büro" #: edit.php:217 view.php:172 msgid "Company:" msgstr "Frima:" #: edit.php:221 view.php:176 msgid "Job Title:" msgstr "Position:" #: edit.php:225 view.php:180 msgid "Department:" msgstr "Abteilung:" #: edit.php:229 view.php:184 msgid "Office Location:" msgstr "" #: edit.php:233 view.php:188 msgid "Business Web Page:" msgstr "Homepage Firma:" #: edit.php:244 view.php:199 msgid "Notes:" msgstr "Notizen:" #: edit.php:255 msgid "Save" msgstr "Speichern:" #: edit.php:256 msgid "Reset" msgstr "Zurücksetzen" #: edit.php:257 msgid "Cancel" msgstr "Abbrechen" #: functions.php:80 msgid "Personal address book" msgstr "Persönliches Adressbuch" #: functions.php:82 functions.php:125 class/abook_extended_adodb.php:69 #: class/abook_extended_mdb2.php:60 class/abook_extended_peardb.php:60 msgid "Extended address book" msgstr "Erweitertes Adressbuch" #: functions.php:125 msgid "Unknown address book class type." msgstr "Unbekannte Adressbuch Klasse." #: view.php:213 msgid "Edit" msgstr "Bearbeiten" #: view.php:217 msgid "Return" msgstr "Zurück" #: class/abook_extended_adodb.php:73 msgid "ADODB library is not available." msgstr "ADODB Bibliothek ist nicht verfügbar." #: class/abook_extended_adodb.php:81 msgid "Database type is not set." msgstr "Der Datenbanktyp wurde nicht festgelegt." #: class/abook_extended_adodb.php:86 msgid "Database server's name is not set." msgstr "Name des Datenbankservers ist nicht festgelegt." #: class/abook_extended_adodb.php:91 msgid "Database user is not set." msgstr "Datenbanknutzer ist nicht festgelegt." #: class/abook_extended_adodb.php:96 msgid "Database password is not set." msgstr "Datenbankpasswort ist nicht festgelegt." #: class/abook_extended_adodb.php:102 msgid "Database is not set." msgstr "Datenbank ist nicht festgelegt." #: class/abook_extended_adodb.php:107 class/abook_extended_mdb2.php:82 #: class/abook_extended_peardb.php:82 msgid "Table name is not set." msgstr "Tabellenname ist nicht festgelegt." #: class/abook_extended_adodb.php:112 class/abook_extended_mdb2.php:87 #: class/abook_extended_peardb.php:87 msgid "Address book owner is not set." msgstr "Besitzer des Adressbuchs ist nicht festgelegt." #: class/abook_extended_adodb.php:166 #, c-format msgid "Invalid database type: %s" msgstr "Ungültiger Datenbanktyp: %s" #: class/abook_extended_adodb.php:179 msgid "Database connection failed." msgstr "Verbindung zur Datenbank fehlgeschlagen." #. #. * Error: found more than one record with selected nickname. #. * owner and nickname combo must be unique in SquirrelMail address book. #. #: class/abook_extended_adodb.php:316 class/abook_extended_adodb.php:325 #: class/abook_extended_adodb.php:609 class/abook_extended_adodb.php:618 #: class/abook_extended_mdb2.php:280 class/abook_extended_mdb2.php:551 #: class/abook_extended_peardb.php:288 class/abook_extended_peardb.php:558 msgid "Database error: more than one owner and nickname match detected." msgstr "" #: class/abook_extended_adodb.php:420 class/abook_extended_adodb.php:472 #: class/abook_extended_adodb.php:514 class/abook_extended_adodb.php:715 #: class/abook_extended_adodb.php:790 class/abook_extended_mdb2.php:353 #: class/abook_extended_mdb2.php:404 class/abook_extended_mdb2.php:445 #: class/abook_extended_mdb2.php:608 class/abook_extended_mdb2.php:681 #: class/abook_extended_peardb.php:361 class/abook_extended_peardb.php:411 #: class/abook_extended_peardb.php:452 class/abook_extended_peardb.php:615 #: class/abook_extended_peardb.php:688 msgid "Address book is read-only" msgstr "" #: class/abook_extended_adodb.php:424 class/abook_extended_adodb.php:719 #: class/abook_extended_mdb2.php:357 class/abook_extended_mdb2.php:612 #: class/abook_extended_peardb.php:365 class/abook_extended_peardb.php:619 msgid "Address book quota exceeded" msgstr "" #: class/abook_extended_adodb.php:428 class/abook_extended_adodb.php:528 #: class/abook_extended_adodb.php:723 class/abook_extended_adodb.php:804 #: class/abook_extended_mdb2.php:361 class/abook_extended_mdb2.php:459 #: class/abook_extended_mdb2.php:616 class/abook_extended_mdb2.php:695 #: class/abook_extended_peardb.php:369 class/abook_extended_peardb.php:466 #: class/abook_extended_peardb.php:623 class/abook_extended_peardb.php:702 msgid "Address book entry is too big" msgstr "" #: class/abook_extended_adodb.php:434 class/abook_extended_adodb.php:536 #: class/abook_extended_adodb.php:729 class/abook_extended_adodb.php:812 #: class/abook_extended_mdb2.php:368 class/abook_extended_mdb2.php:467 #: class/abook_extended_mdb2.php:622 class/abook_extended_mdb2.php:703 #: class/abook_extended_peardb.php:375 class/abook_extended_peardb.php:474 #: class/abook_extended_peardb.php:629 class/abook_extended_peardb.php:710 #, c-format msgid "User '%s' already exist." msgstr "" #. TODO: unable to show multiline error message. #: class/abook_extended_adodb.php:437 class/abook_extended_adodb.php:538 #: class/abook_extended_adodb.php:732 class/abook_extended_adodb.php:814 #: class/abook_extended_mdb2.php:371 class/abook_extended_mdb2.php:469 #: class/abook_extended_mdb2.php:625 class/abook_extended_mdb2.php:705 #: class/abook_extended_peardb.php:378 class/abook_extended_peardb.php:476 #: class/abook_extended_peardb.php:632 class/abook_extended_peardb.php:712 msgid "Nicknames are case insensitive." msgstr "" #: class/abook_extended_adodb.php:457 class/abook_extended_adodb.php:775 #: class/abook_extended_mdb2.php:388 class/abook_extended_mdb2.php:665 #: class/abook_extended_peardb.php:395 class/abook_extended_peardb.php:672 msgid "Address add operation failed." msgstr "" #: class/abook_extended_adodb.php:458 class/abook_extended_adodb.php:500 #: class/abook_extended_adodb.php:563 class/abook_extended_adodb.php:776 #: class/abook_extended_adodb.php:862 class/abook_extended_mdb2.php:389 #: class/abook_extended_mdb2.php:430 class/abook_extended_mdb2.php:490 #: class/abook_extended_mdb2.php:666 class/abook_extended_mdb2.php:749 #: class/abook_extended_peardb.php:396 class/abook_extended_peardb.php:437 #: class/abook_extended_peardb.php:497 class/abook_extended_peardb.php:673 #: class/abook_extended_peardb.php:756 #, c-format msgid "Error: %s" msgstr "" #: class/abook_extended_adodb.php:499 class/abook_extended_mdb2.php:429 #: class/abook_extended_peardb.php:436 msgid "Address delete operation failed" msgstr "" #: class/abook_extended_adodb.php:523 class/abook_extended_adodb.php:799 #: class/abook_extended_mdb2.php:454 class/abook_extended_mdb2.php:690 #: class/abook_extended_peardb.php:461 class/abook_extended_peardb.php:697 #, c-format msgid "User '%s' does not exist" msgstr "" #: class/abook_extended_adodb.php:562 class/abook_extended_adodb.php:861 #: class/abook_extended_mdb2.php:489 class/abook_extended_mdb2.php:748 #: class/abook_extended_peardb.php:496 class/abook_extended_peardb.php:755 msgid "Address modify operation failed." msgstr "" #. same error also in db_prefs.php #: class/abook_extended_mdb2.php:65 class/abook_extended_peardb.php:65 msgid "" "Could not include PEAR database functions required for the database backend." msgstr "" #: class/abook_extended_mdb2.php:66 class/abook_extended_peardb.php:66 #, c-format msgid "Is PEAR installed, and is the include path set correctly to find %s?" msgstr "" #: class/abook_extended_mdb2.php:68 class/abook_extended_peardb.php:68 msgid "Please contact your system administrator and report this error." msgstr "" #: class/abook_extended_mdb2.php:77 class/abook_extended_peardb.php:77 msgid "DSN is not set." msgstr "DSN nicht festgelegt." #: class/abook_extended_mdb2.php:134 class/abook_extended_mdb2.php:213 #: class/abook_extended_mdb2.php:261 class/abook_extended_mdb2.php:322 #: class/abook_extended_mdb2.php:532 class/abook_extended_peardb.php:134 #: class/abook_extended_peardb.php:221 class/abook_extended_peardb.php:269 #: class/abook_extended_peardb.php:330 class/abook_extended_peardb.php:539 #, c-format msgid "Database error: %s" msgstr "Datenbankfehler: %s" #: class/abook_extended_peardb.php:148 msgid "" "Unsupported Pear DB version. Please upgrade to Pear DB 1.6.0 or later " "version." msgstr "Nicht unterstützte Version von Pear DB. Bitte aktualisieren Sie auf Pear DB Version 1.6.0 oder neuer." ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
|