[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-i18n
Subject:    [SM-I18N] folder_synch update draft 0.9
From:       jam () qv90 ! de
Date:       2006-01-06 10:16:15
Message-ID: 64319.84.177.17.194.1136542575.squirrel () qv90 ! dyndns ! org
[Download RAW message or body]

Hi,

I added international language support to folder_synch plugin (and a
german translation). Would be great if somebody takes care about
publishing it into production...

Append patch:
$ patch -p0 -d $sm/plugins < ./patch/folder_synch.diff

Live long and prosper
Jam
["folder_synch.diff" (application/octet-stream)]

diff -Naur /tmp/org/folder_synch/includes/display_inside.php \
                /usr/share/smtest/plugins/folder_synch/includes/display_inside.php
--- folder_synch/includes/display_inside.php	2003-06-18 06:13:44.000000000 +0200
+++ folder_synch/includes/display_inside.php	2006-01-06 11:02:07.390924077 +0100
@@ -1,11 +1,17 @@
 <?php
 	global $folder_synch_opt_left, $folder_synch_opt_right;
 
-	echo '<tr><td align="right">Folder list update forces message list update:</td>';
+        bindtextdomain('folder_synch', SM_PATH . 'locale');
+	textdomain('folder_synch');
+
+	echo '<tr><td align="right">' . _("Folder list update forces message list update:") \
. '</td>';  echo '<td><input name="folder_synch_opt_right" type="checkbox" \
value="1"';  echo ($folder_synch_opt_right == '1' ? ' checked' : '') . '></td></tr>' \
. "\n";  
-	echo '<tr><td align="right">Message list update forces folder list update:</td>';
+	echo '<tr><td align="right">' . _("Message list update forces folder list update:") \
. '</td>';  echo '<td><input name="folder_synch_opt_left" type="checkbox" value="1"';
 	echo ($folder_synch_opt_left == '1' ? ' checked' : '') . '></td></tr>' . "\n";
+
+        bindtextdomain('squirrelmail', SM_PATH . 'locale');
+	textdomain('squirrelmail');
 ?>
\ Kein Zeilenumbruch am Dateiende.
diff -Naur /tmp/org/folder_synch/setup.php \
                /usr/share/smtest/plugins/folder_synch/setup.php
--- folder_synch/setup.php	2003-06-18 06:13:45.000000000 +0200
+++ folder_synch/setup.php	2006-01-06 11:04:24.364218528 +0100
@@ -1,6 +1,11 @@
 <?php
    /*
     *  Folder Synch Plugin
+    *
+    *  v0.9 by Florian Daeumling <jam@qv90.de>
+    *  
+    *  Support for localization added
+    *  
     *  v0.8
     *
     *  Changed option names in pref file back to old values.  Now right side should
@@ -29,7 +34,7 @@
     */
 
 function folder_synch_version() {
-   return '0.8';
+   return '0.9';
 }
 
 // hooks
diff -Naur /tmp/org/folder_synch/version \
                /usr/share/smtest/plugins/folder_synch/version
--- folder_synch/version	2003-06-18 06:13:35.000000000 +0200
+++ folder_synch/version	2006-01-06 11:04:31.752993719 +0100
@@ -1,2 +1,2 @@
 Folder Synch
-0.8
\ Kein Zeilenumbruch am Dateiende.
+0.9
\ Kein Zeilenumbruch am Dateiende.


["folder_synch.po" (application/octet-stream)]
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
-- 
squirrelmail-i18n mailing list
Posting guidelines: http://squirrelmail.org/wiki/MailingListPostingGuidelines
Information about translations:
http://www.squirrelmail.org/wiki/LanguageTranslation
List address: squirrelmail-i18n@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization
List info (Subscribe/Unsubscribe/Change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic