update translations

This commit is contained in:
Andrew Dolgov 2007-08-11 16:40:27 +01:00
parent 68659d9896
commit 6a214f923d
7 changed files with 133 additions and 179 deletions

View File

@ -9,10 +9,12 @@
require_once 'config.php';
function get_translations() {
$tr = array("en_US" => "English",
"ru_RU" => "Russian",
"fr_FR" => "French",
"zh_CN" => "Chinese");
$tr = array(
"" => "Detect automatically",
"en_US" => "English",
"fr_FR" => "Français",
"ru_RU" => "Русский",
"zh_CN" => "Simplified Chinese");
return $tr;
}
@ -24,7 +26,7 @@
function startup_gettext() {
# Get locale from Accept-Language header
$lang = al2gt(array("en_US", "ru_RU", "zh_CN", "fr_FR"), "text/html");
$lang = al2gt(array_keys(get_translations()), "text/html");
if (defined('_TRANSLATION_OVERRIDE_DEFAULT')) {
$lang = _TRANSLATION_OVERRIDE_DEFAULT;

Binary file not shown.

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-08-11 21:22+0400\n"
"POT-Creation-Date: 2007-08-11 23:38+0400\n"
"PO-Revision-Date: 2007-08-10 16:30+0200\n"
"Last-Translator: Thibaut Cousin <informatique@thibaut-cousin.net>\n"
"Language-Team: Français <fr@li.org>\n"
@ -146,61 +146,45 @@ msgstr ""
"Votre version de MySQL n'est pas gérée pour le moment. Reportez-vous au \n"
"\t\tsite officiel pour plus d'informations."
#: functions.php:13
msgid "English"
msgstr ""
#: functions.php:14
msgid "Russian"
msgstr ""
#: functions.php:15
msgid "Chinese"
msgstr ""
#: functions.php:16
msgid "French"
msgstr ""
#: functions.php:2224 modules/popup-dialog.php:135
#: functions.php:2231 modules/popup-dialog.php:135
#: modules/pref-filters.php:290
msgid "All feeds"
msgstr "Tous les flux"
#: functions.php:2253 functions.php:2292 functions.php:2616 functions.php:3400
#: functions.php:3430 modules/pref-feeds.php:890
#: functions.php:2260 functions.php:2299 functions.php:2623 functions.php:3407
#: functions.php:3437 modules/pref-feeds.php:890
msgid "Uncategorized"
msgstr "Sans catégorie"
#: functions.php:2282 functions.php:3240
#: functions.php:2289 functions.php:3247
msgid "Special"
msgstr "Spécial"
#: functions.php:2284 functions.php:3274
#: functions.php:2291 functions.php:3281
msgid "Labels"
msgstr "Intitulé"
#: functions.php:2302 functions.php:2638 functions.php:3251
#: functions.php:2309 functions.php:2645 functions.php:3258
msgid "Starred articles"
msgstr "Articles remarquables"
#: functions.php:2304 functions.php:2640 functions.php:3258
#: functions.php:2311 functions.php:2647 functions.php:3265
msgid "Published articles"
msgstr "Articles publiés"
#: functions.php:2602 functions.php:2604
#: functions.php:2609 functions.php:2611
msgid "Search results"
msgstr "Résultats de recherche"
#: functions.php:2620 functions.php:2633 functions.php:2648
#: functions.php:2627 functions.php:2640 functions.php:2655
msgid "Searched for"
msgstr "Recherché"
#: functions.php:2873
#: functions.php:2880
msgid "New headlines for last 24 hours, as of "
msgstr "Nouveaux en-têtes dans les dernières 24 heures, à compter de "
#: functions.php:2917
#: functions.php:2924
msgid ""
"You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at "
@ -208,118 +192,118 @@ msgstr ""
"Vous recevez ce courrier électronique parce que vous avez activé la synthèse "
"quotidienne dans TIny Tiny RSS sur "
#: functions.php:2919
#: functions.php:2926
msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr ""
"Pour vous désinscrire, modifiez votre configuration ou contactez "
"l'administrateur de votre TIny Tiny RSS.\n"
#: functions.php:3125 functions.php:3167 functions.php:4071
#: functions.php:3132 functions.php:3174 functions.php:4078
#: modules/pref-feeds.php:615 modules/pref-feeds.php:852
#: modules/pref-filters.php:255 modules/pref-labels.php:234
#: modules/pref-users.php:208
msgid "Select:"
msgstr "Sélectionner&nbsp;:"
#: functions.php:3126 functions.php:3168 modules/pref-feeds.php:616
#: functions.php:3133 functions.php:3175 modules/pref-feeds.php:616
#: modules/pref-feeds.php:853 modules/pref-filters.php:256
#: modules/pref-labels.php:235 modules/pref-users.php:209
msgid "All"
msgstr "Tout"
#: functions.php:3127 functions.php:3131 functions.php:3169 functions.php:3172
#: functions.php:3134 functions.php:3138 functions.php:3176 functions.php:3179
#: tt-rss.php:172
msgid "Unread"
msgstr "Non lus"
#: functions.php:3128 functions.php:3170 modules/pref-feeds.php:617
#: functions.php:3135 functions.php:3177 modules/pref-feeds.php:617
#: modules/pref-feeds.php:854 modules/pref-filters.php:257
#: modules/pref-labels.php:236 modules/pref-users.php:210
msgid "None"
msgstr "Aucun"
#: functions.php:3130
#: functions.php:3137
msgid "Toggle"
msgstr "Marquages spéciaux&nbsp;"
#: functions.php:3132 functions.php:3173 tt-rss.php:171
#: functions.php:3139 functions.php:3180 tt-rss.php:171
msgid "Starred"
msgstr "Remarquables"
#: functions.php:3133
#: functions.php:3140
msgid "Published"
msgstr "Publiés"
#: functions.php:3136 localized_schema.php:15
#: functions.php:3143 localized_schema.php:15
msgid "Mark as read"
msgstr "Marquer comme lu"
#: functions.php:3137
#: functions.php:3144
msgid "This page"
msgstr "Cette page"
#: functions.php:3138
#: functions.php:3145
msgid "Entire feed"
msgstr "Tout le flux"
#: functions.php:3146
#: functions.php:3153
msgid "Next page"
msgstr "Page suivante"
#: functions.php:3147
#: functions.php:3154
msgid "Previous page"
msgstr "Page précédente"
#: functions.php:3148
#: functions.php:3155
msgid "First page"
msgstr "Première page"
#: functions.php:3158 functions.php:3184
#: functions.php:3165 functions.php:3191
msgid "Convert to label"
msgstr "Convertir en intitulé"
#: functions.php:3172
#: functions.php:3179
msgid "Toggle:"
msgstr "Marquages spéciaux&nbsp;:"
#: functions.php:3175
#: functions.php:3182
msgid "Mark as read:"
msgstr "Marquer comme lu&nbsp;:"
#: functions.php:3176
#: functions.php:3183
msgid "Page"
msgstr "Page"
#: functions.php:3177 modules/pref-filters.php:263
#: functions.php:3184 modules/pref-filters.php:263
msgid "Feed"
msgstr "Flux"
#: functions.php:3222
#: functions.php:3229
msgid "Generated feed"
msgstr "Flux généré"
#: functions.php:3472
#: functions.php:3479
msgid "No feeds to display."
msgstr "Aucun flux à afficher."
#: functions.php:3489
#: functions.php:3496
msgid "Tags"
msgstr "Étiquettes"
#: functions.php:3711
#: functions.php:3718
msgid " - by "
msgstr "- par "
#: functions.php:3760
#: functions.php:3767
msgid "no tags"
msgstr "aucune étiquette"
#: functions.php:3829
#: functions.php:3836
msgid "Feed not found."
msgstr "Flux non trouvé."
#: functions.php:3891
#: functions.php:3898
msgid ""
"Could not display feed (query failed). Please check label match syntax or "
"local configuration."
@ -327,7 +311,7 @@ msgstr ""
"Impossible d'afficher le flux (la requête l'a pas abouti). Veuillez vérifier "
"la syntaxe de son intitulé ou la configuration locale."
#: functions.php:4132
#: functions.php:4139
msgid "No articles found."
msgstr "Aucun article trouvé."
@ -786,16 +770,16 @@ msgstr ""
msgid "Use more accessible date/time format for headlines"
msgstr ""
#: login_form.php:49 modules/popup-dialog.php:90 modules/pref-feeds.php:264
#: login_form.php:55 modules/popup-dialog.php:90 modules/pref-feeds.php:264
#: modules/pref-users.php:29
msgid "Login:"
msgstr "Nom&nbsp;:"
#: login_form.php:51 modules/popup-dialog.php:91 modules/pref-feeds.php:270
#: login_form.php:57 modules/popup-dialog.php:91 modules/pref-feeds.php:270
msgid "Password:"
msgstr "Mot de passe&nbsp;:"
#: login_form.php:53
#: login_form.php:59
msgid "Language:"
msgstr ""

Binary file not shown.

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-08-11 21:22+0400\n"
"POT-Creation-Date: 2007-08-11 23:38+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -140,184 +140,168 @@ msgid ""
"\t\tofficial site for more information."
msgstr ""
#: functions.php:13
msgid "English"
msgstr ""
#: functions.php:14
msgid "Russian"
msgstr ""
#: functions.php:15
msgid "Chinese"
msgstr ""
#: functions.php:16
msgid "French"
msgstr ""
#: functions.php:2224 modules/popup-dialog.php:135
#: functions.php:2231 modules/popup-dialog.php:135
#: modules/pref-filters.php:290
msgid "All feeds"
msgstr "Все каналы"
#: functions.php:2253 functions.php:2292 functions.php:2616 functions.php:3400
#: functions.php:3430 modules/pref-feeds.php:890
#: functions.php:2260 functions.php:2299 functions.php:2623 functions.php:3407
#: functions.php:3437 modules/pref-feeds.php:890
msgid "Uncategorized"
msgstr "Нет категории"
#: functions.php:2282 functions.php:3240
#: functions.php:2289 functions.php:3247
msgid "Special"
msgstr "Особые"
#: functions.php:2284 functions.php:3274
#: functions.php:2291 functions.php:3281
msgid "Labels"
msgstr "Метки"
#: functions.php:2302 functions.php:2638 functions.php:3251
#: functions.php:2309 functions.php:2645 functions.php:3258
msgid "Starred articles"
msgstr "Отмеченные статьи"
#: functions.php:2304 functions.php:2640 functions.php:3258
#: functions.php:2311 functions.php:2647 functions.php:3265
#, fuzzy
msgid "Published articles"
msgstr "Отмеченные статьи"
#: functions.php:2602 functions.php:2604
#: functions.php:2609 functions.php:2611
msgid "Search results"
msgstr "Результаты поиска"
#: functions.php:2620 functions.php:2633 functions.php:2648
#: functions.php:2627 functions.php:2640 functions.php:2655
msgid "Searched for"
msgstr "Поиск"
#: functions.php:2873
#: functions.php:2880
msgid "New headlines for last 24 hours, as of "
msgstr "Новые заголовки за последние 24 часа, на "
#: functions.php:2917
#: functions.php:2924
msgid ""
"You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at "
msgstr ""
#: functions.php:2919
#: functions.php:2926
msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr ""
#: functions.php:3125 functions.php:3167 functions.php:4071
#: functions.php:3132 functions.php:3174 functions.php:4078
#: modules/pref-feeds.php:615 modules/pref-feeds.php:852
#: modules/pref-filters.php:255 modules/pref-labels.php:234
#: modules/pref-users.php:208
msgid "Select:"
msgstr "Выбрать:"
#: functions.php:3126 functions.php:3168 modules/pref-feeds.php:616
#: functions.php:3133 functions.php:3175 modules/pref-feeds.php:616
#: modules/pref-feeds.php:853 modules/pref-filters.php:256
#: modules/pref-labels.php:235 modules/pref-users.php:209
msgid "All"
msgstr "Все"
#: functions.php:3127 functions.php:3131 functions.php:3169 functions.php:3172
#: functions.php:3134 functions.php:3138 functions.php:3176 functions.php:3179
#: tt-rss.php:172
msgid "Unread"
msgstr "Новые"
#: functions.php:3128 functions.php:3170 modules/pref-feeds.php:617
#: functions.php:3135 functions.php:3177 modules/pref-feeds.php:617
#: modules/pref-feeds.php:854 modules/pref-filters.php:257
#: modules/pref-labels.php:236 modules/pref-users.php:210
msgid "None"
msgstr "Ничего"
#: functions.php:3130
#: functions.php:3137
#, fuzzy
msgid "Toggle"
msgstr "Изменить:"
#: functions.php:3132 functions.php:3173 tt-rss.php:171
#: functions.php:3139 functions.php:3180 tt-rss.php:171
msgid "Starred"
msgstr "Отмеченные"
#: functions.php:3133
#: functions.php:3140
msgid "Published"
msgstr ""
#: functions.php:3136 localized_schema.php:15
#: functions.php:3143 localized_schema.php:15
msgid "Mark as read"
msgstr "Как прочитанные"
#: functions.php:3137
#: functions.php:3144
msgid "This page"
msgstr "Эту страницу"
#: functions.php:3138
#: functions.php:3145
msgid "Entire feed"
msgstr "Весь канал"
#: functions.php:3146
#: functions.php:3153
msgid "Next page"
msgstr "След. стр."
#: functions.php:3147
#: functions.php:3154
msgid "Previous page"
msgstr "Пред. cтр."
#: functions.php:3148
#: functions.php:3155
msgid "First page"
msgstr "На первую"
#: functions.php:3158 functions.php:3184
#: functions.php:3165 functions.php:3191
msgid "Convert to label"
msgstr "Превратить в метку"
#: functions.php:3172
#: functions.php:3179
msgid "Toggle:"
msgstr "Изменить:"
#: functions.php:3175
#: functions.php:3182
msgid "Mark as read:"
msgstr "Пометить как прочит.:"
#: functions.php:3176
#: functions.php:3183
msgid "Page"
msgstr "Страница"
#: functions.php:3177 modules/pref-filters.php:263
#: functions.php:3184 modules/pref-filters.php:263
msgid "Feed"
msgstr "Канал"
#: functions.php:3222
#: functions.php:3229
msgid "Generated feed"
msgstr ""
#: functions.php:3472
#: functions.php:3479
msgid "No feeds to display."
msgstr "Нет каналов для отображения."
#: functions.php:3489
#: functions.php:3496
msgid "Tags"
msgstr "Теги"
#: functions.php:3711
#: functions.php:3718
msgid " - by "
msgstr ", автор - "
#: functions.php:3760
#: functions.php:3767
msgid "no tags"
msgstr "нет тегов"
#: functions.php:3829
#: functions.php:3836
msgid "Feed not found."
msgstr "Канал не найден."
#: functions.php:3891
#: functions.php:3898
msgid ""
"Could not display feed (query failed). Please check label match syntax or "
"local configuration."
msgstr ""
#: functions.php:4132
#: functions.php:4139
msgid "No articles found."
msgstr "Статей не найдено."
@ -776,16 +760,16 @@ msgstr ""
msgid "Use more accessible date/time format for headlines"
msgstr ""
#: login_form.php:49 modules/popup-dialog.php:90 modules/pref-feeds.php:264
#: login_form.php:55 modules/popup-dialog.php:90 modules/pref-feeds.php:264
#: modules/pref-users.php:29
msgid "Login:"
msgstr "Пользователь:"
#: login_form.php:51 modules/popup-dialog.php:91 modules/pref-feeds.php:270
#: login_form.php:57 modules/popup-dialog.php:91 modules/pref-feeds.php:270
msgid "Password:"
msgstr "Пароль:"
#: login_form.php:53
#: login_form.php:59
msgid "Language:"
msgstr ""

Binary file not shown.

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Tiny Tiny RSS1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-08-11 21:22+0400\n"
"POT-Creation-Date: 2007-08-11 23:38+0400\n"
"PO-Revision-Date: 2007-06-10 11:56+0800\n"
"Last-Translator: sluke <sluke520@yahoo.com.cn>\n"
"Language-Team: hicode.org <sluke520@yahoo.com.cn>\n"
@ -141,184 +141,168 @@ msgstr ""
"不支持你的MySQL版本. 请访问 \n"
"\t\t官方网站获取更多信息。"
#: functions.php:13
msgid "English"
msgstr ""
#: functions.php:14
msgid "Russian"
msgstr ""
#: functions.php:15
msgid "Chinese"
msgstr ""
#: functions.php:16
msgid "French"
msgstr ""
#: functions.php:2224 modules/popup-dialog.php:135
#: functions.php:2231 modules/popup-dialog.php:135
#: modules/pref-filters.php:290
msgid "All feeds"
msgstr "所有feed"
#: functions.php:2253 functions.php:2292 functions.php:2616 functions.php:3400
#: functions.php:3430 modules/pref-feeds.php:890
#: functions.php:2260 functions.php:2299 functions.php:2623 functions.php:3407
#: functions.php:3437 modules/pref-feeds.php:890
msgid "Uncategorized"
msgstr "未分类"
#: functions.php:2282 functions.php:3240
#: functions.php:2289 functions.php:3247
msgid "Special"
msgstr "专用"
#: functions.php:2284 functions.php:3274
#: functions.php:2291 functions.php:3281
msgid "Labels"
msgstr "标记"
#: functions.php:2302 functions.php:2638 functions.php:3251
#: functions.php:2309 functions.php:2645 functions.php:3258
msgid "Starred articles"
msgstr "星级文章"
#: functions.php:2304 functions.php:2640 functions.php:3258
#: functions.php:2311 functions.php:2647 functions.php:3265
#, fuzzy
msgid "Published articles"
msgstr "星级文章"
#: functions.php:2602 functions.php:2604
#: functions.php:2609 functions.php:2611
msgid "Search results"
msgstr "搜索结果"
#: functions.php:2620 functions.php:2633 functions.php:2648
#: functions.php:2627 functions.php:2640 functions.php:2655
msgid "Searched for"
msgstr "搜索"
#: functions.php:2873
#: functions.php:2880
msgid "New headlines for last 24 hours, as of "
msgstr "24小时最新头条,截至"
#: functions.php:2917
#: functions.php:2924
msgid ""
"You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at "
msgstr "由于您启用了Tiny Tiny RSS每日文摘会收到此邮件。"
#: functions.php:2919
#: functions.php:2926
msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr "若要退订,访问你的配置选项或联络管理员。\n"
#: functions.php:3125 functions.php:3167 functions.php:4071
#: functions.php:3132 functions.php:3174 functions.php:4078
#: modules/pref-feeds.php:615 modules/pref-feeds.php:852
#: modules/pref-filters.php:255 modules/pref-labels.php:234
#: modules/pref-users.php:208
msgid "Select:"
msgstr "选择:"
#: functions.php:3126 functions.php:3168 modules/pref-feeds.php:616
#: functions.php:3133 functions.php:3175 modules/pref-feeds.php:616
#: modules/pref-feeds.php:853 modules/pref-filters.php:256
#: modules/pref-labels.php:235 modules/pref-users.php:209
msgid "All"
msgstr "所有"
#: functions.php:3127 functions.php:3131 functions.php:3169 functions.php:3172
#: functions.php:3134 functions.php:3138 functions.php:3176 functions.php:3179
#: tt-rss.php:172
msgid "Unread"
msgstr "未读"
#: functions.php:3128 functions.php:3170 modules/pref-feeds.php:617
#: functions.php:3135 functions.php:3177 modules/pref-feeds.php:617
#: modules/pref-feeds.php:854 modules/pref-filters.php:257
#: modules/pref-labels.php:236 modules/pref-users.php:210
msgid "None"
msgstr "无"
#: functions.php:3130
#: functions.php:3137
#, fuzzy
msgid "Toggle"
msgstr "触发:"
#: functions.php:3132 functions.php:3173 tt-rss.php:171
#: functions.php:3139 functions.php:3180 tt-rss.php:171
msgid "Starred"
msgstr "星级"
#: functions.php:3133
#: functions.php:3140
msgid "Published"
msgstr ""
#: functions.php:3136 localized_schema.php:15
#: functions.php:3143 localized_schema.php:15
msgid "Mark as read"
msgstr "标记为已读"
#: functions.php:3137
#: functions.php:3144
msgid "This page"
msgstr "本页"
#: functions.php:3138
#: functions.php:3145
msgid "Entire feed"
msgstr "输入feed"
#: functions.php:3146
#: functions.php:3153
msgid "Next page"
msgstr "下页"
#: functions.php:3147
#: functions.php:3154
msgid "Previous page"
msgstr "上页"
#: functions.php:3148
#: functions.php:3155
msgid "First page"
msgstr "首页"
#: functions.php:3158 functions.php:3184
#: functions.php:3165 functions.php:3191
msgid "Convert to label"
msgstr "转换标签"
#: functions.php:3172
#: functions.php:3179
msgid "Toggle:"
msgstr "触发:"
#: functions.php:3175
#: functions.php:3182
msgid "Mark as read:"
msgstr "标记为已读:"
#: functions.php:3176
#: functions.php:3183
msgid "Page"
msgstr "页"
#: functions.php:3177 modules/pref-filters.php:263
#: functions.php:3184 modules/pref-filters.php:263
msgid "Feed"
msgstr "Feed"
#: functions.php:3222
#: functions.php:3229
msgid "Generated feed"
msgstr "产生feed"
#: functions.php:3472
#: functions.php:3479
msgid "No feeds to display."
msgstr "无feed显示。"
#: functions.php:3489
#: functions.php:3496
msgid "Tags"
msgstr "标签"
#: functions.php:3711
#: functions.php:3718
msgid " - by "
msgstr ", 由 - "
#: functions.php:3760
#: functions.php:3767
msgid "no tags"
msgstr "无标签"
#: functions.php:3829
#: functions.php:3836
msgid "Feed not found."
msgstr "未找到Feed."
#: functions.php:3891
#: functions.php:3898
msgid ""
"Could not display feed (query failed). Please check label match syntax or "
"local configuration."
msgstr "无法显示feed(查询失败); 请核对标签匹配语法或本地配置."
#: functions.php:4132
#: functions.php:4139
msgid "No articles found."
msgstr "未找到文章。"
@ -778,16 +762,16 @@ msgstr ""
msgid "Use more accessible date/time format for headlines"
msgstr ""
#: login_form.php:49 modules/popup-dialog.php:90 modules/pref-feeds.php:264
#: login_form.php:55 modules/popup-dialog.php:90 modules/pref-feeds.php:264
#: modules/pref-users.php:29
msgid "Login:"
msgstr "登陆:"
#: login_form.php:51 modules/popup-dialog.php:91 modules/pref-feeds.php:270
#: login_form.php:57 modules/popup-dialog.php:91 modules/pref-feeds.php:270
msgid "Password:"
msgstr "密码:"
#: login_form.php:53
#: login_form.php:59
msgid "Language:"
msgstr ""