From 85a23dab031d48ce76cadb985a0cbc671914246a Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 14 Mar 2010 14:36:04 -0700 Subject: CLEANUP: fixed a typo and added "changed" indicator to language settings --- include/preferences.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/preferences.php') diff --git a/include/preferences.php b/include/preferences.php index 3904899..43f97df 100644 --- a/include/preferences.php +++ b/include/preferences.php @@ -483,6 +483,7 @@ if($changed_timezone) echo "changed"; echo "\n"; echo " Language: \n"; output_select_language("language",$PREF['language']); +if($changed_language == 1) echo "changed"; echo "\n"; echo " Password(old): ", ""; @@ -537,7 +538,7 @@ if($changed_openid) echo " \n"; echo "
Submit
\n"; echo " \n"; -echo "

E-DoKo uses gravatars as icons. I

"; +echo "

E-DoKo uses gravatars as icons.

"; echo "\n"; return; -- cgit v1.2.3-18-g5258 From 0e9200ecd3372c655bea3e7dbf071c2cca2866d2 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 14 Mar 2010 15:19:42 -0700 Subject: marked more strings for translation --- include/preferences.php | 60 ++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'include/preferences.php') diff --git a/include/preferences.php b/include/preferences.php index 43f97df..b30e7cb 100644 --- a/include/preferences.php +++ b/include/preferences.php @@ -327,12 +327,12 @@ $timezone = DB_get_user_timezone($myid); echo "
\n"; echo "
\n"; -echo "

Your settings are

\n"; +echo '

'._('Your settings are')."

\n"; echo "
\n"; -echo " Game-related\n"; +echo ' '._('Game-related')."\n"; echo " \n"; -echo " \n"; +echo ' \n"; if($PREF['vacation_start']) $value = substr($PREF['vacation_start'],0,10); else @@ -347,25 +347,25 @@ if($PREF['vacation_comment']) $value = $PREF['vacation_comment']; else $value = ''; -echo " \n"; echo "\n"; echo " \n"; echo " \n"; @@ -413,16 +413,16 @@ echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
Vacation:
'._('Vacation:')." comment:"; -if($changed_vacation == 1) echo "changed"; -if($changed_vacation == -1) echo "wrong date format"; +echo ' '._('comment:').""; +if($changed_vacation == 1) echo _('changed'); +if($changed_vacation == -1) echo _('wrong date format'); echo "
use YYYY-MM-DDuse '-' in start field to unset vacation
Notification: \n"; echo " "; -if($changed_notify) echo "changed"; +if($changed_notify) echo _('changed'); echo "
Digest: \n"; @@ -378,34 +378,34 @@ echo ">digest off\n"; echo " \n"; +echo ">"._('every hour')."\n"; echo " \n"; +echo ">"._('every 2h')."\n"; echo " \n"; +echo ">"._('every 3h')."\n"; echo " \n"; +echo ">"._('every 4h')."\n"; echo " \n"; +echo ">"._('every 6h')."\n"; echo " \n"; +echo ">"._('every 12h')."\n"; echo " \n"; +echo ">"._('every 24h')."\n"; echo " "; -if($changed_digest) echo "changed"; +if($changed_digest) echo _('changed'); echo "
Autosetup: \n"; echo " "; -if($changed_autosetup) echo "changed"; +if($changed_autosetup) echo _('changed'); echo "
Sorting: \n"; @@ -438,7 +438,7 @@ if($PREF['sorting']=="high-low") echo " \n"; } echo " "; -if($changed_sorting) echo "changed"; +if($changed_sorting) echo _('changed'); echo "
Open for new games: \n"; echo " "; -if($changed_openforgames) echo "changed"; +if($changed_openforgames) echo _('changed'); echo "
Card set: \n"; @@ -469,7 +469,7 @@ if($PREF['cardset']=="altenburg") echo " \n"; } echo " "; -if($changed_cards) echo "changed"; +if($changed_cards) echo _('changed'); echo "
\n"; echo "
\n"; @@ -479,11 +479,11 @@ echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; -- cgit v1.2.3-18-g5258
Email: $email
Timezone: \n"; output_select_timezone("timezone",$timezone); -if($changed_timezone) echo "changed"; +if($changed_timezone) echo _('changed'); echo "
Language: \n"; output_select_language("language",$PREF['language']); -if($changed_language == 1) echo "changed"; +if($changed_language == 1) echo _('changed'); echo "
Password(old): ", ""; @@ -499,7 +499,7 @@ switch($changed_password) echo "The old password is not correct."; break; case '1': - echo "changed"; + echo _('changed'); break; } echo "