var reg_exp = form.reg_exp.value;
if (reg_exp == "") {
- alert("Can't add filter: nothing to match on.");
+ alert(__("Can't add filter: nothing to match on."));
return false;
}
var feed_url = form.feed_url.value;
if (feed_url == "") {
- alert("Can't subscribe: no feed URL given.");
+ alert(__("Can't subscribe: no feed URL given."));
return false;
}
# Get locale from Accept-Language header
$lang = al2gt(array("en_US", "ru_RU", "zh_CN", "fr_FR"), "text/html");
-
+
+ if (defined('_TRANSLATION_OVERRIDE_DEFAULT')) {
+ $lang = _TRANSLATION_OVERRIDE_DEFAULT;
+ }
+
if ($lang) {
_setlocale(LC_MESSAGES, $lang);
_bindtextdomain("messages", "locale");
print "<select id=\"$id\" name=\"$id\" $attributes>";
if ($include_all_feeds) {
- print "<option value=\"0\">All feeds</option>";
+ print "<option value=\"0\">".__('All feeds')."</option>";
}
$result = db_query($link, "SELECT id,title FROM ttrss_feeds
<a href=\"$sel_unread_link\">".__('Unread')."</a>,
<a href=\"$sel_none_link\">".__('None')."</a></li>
<li class=\"vsep\"> </li>
- <li class=\"top\">Toggle<ul>
+ <li class=\"top\">".__('Toggle')."<ul>
<li onclick=\"$tog_unread_link\">".__('Unread')."</li>
<li onclick=\"$tog_marked_link\">".__('Starred')."</li>
<li onclick=\"$tog_published_link\">".__('Published')."</li>
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-08-10 23:25+0400\n"
+"POT-Creation-Date: 2007-08-11 00:14+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"
"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:2239 functions.php:2278 functions.php:2602 functions.php:3386
-#: functions.php:3416 modules/pref-feeds.php:890
+#: functions.php:2214 modules/popup-dialog.php:135
+#: modules/pref-filters.php:290
+msgid "All feeds"
+msgstr "Tous les flux"
+
+#: functions.php:2243 functions.php:2282 functions.php:2606 functions.php:3390
+#: functions.php:3420 modules/pref-feeds.php:890
msgid "Uncategorized"
msgstr "Sans catégorie"
-#: functions.php:2268 functions.php:3226
+#: functions.php:2272 functions.php:3230
msgid "Special"
msgstr "Spécial"
-#: functions.php:2270 functions.php:3260
+#: functions.php:2274 functions.php:3264
msgid "Labels"
msgstr "Intitulé"
-#: functions.php:2288 functions.php:2624 functions.php:3237
+#: functions.php:2292 functions.php:2628 functions.php:3241
msgid "Starred articles"
msgstr "Articles remarquables"
-#: functions.php:2290 functions.php:2626 functions.php:3244
+#: functions.php:2294 functions.php:2630 functions.php:3248
msgid "Published articles"
msgstr "Articles publiés"
-#: functions.php:2588 functions.php:2590
+#: functions.php:2592 functions.php:2594
msgid "Search results"
msgstr "Résultats de recherche"
-#: functions.php:2606 functions.php:2619 functions.php:2634
+#: functions.php:2610 functions.php:2623 functions.php:2638
msgid "Searched for"
msgstr "Recherché"
-#: functions.php:2859
+#: functions.php:2863
msgid "New headlines for last 24 hours, as of "
msgstr "Nouveaux en-têtes dans les dernières 24 heures, à compter de "
-#: functions.php:2903
+#: functions.php:2907
msgid ""
"You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at "
"Vous recevez ce courrier électronique parce que vous avez activé la synthèse "
"quotidienne dans TIny Tiny RSS sur "
-#: functions.php:2905
+#: functions.php:2909
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:3111 functions.php:3153 functions.php:4053
+#: functions.php:3115 functions.php:3157 functions.php:4057
#: 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 :"
-#: functions.php:3112 functions.php:3154 modules/pref-feeds.php:616
+#: functions.php:3116 functions.php:3158 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:3113 functions.php:3117 functions.php:3155 functions.php:3158
+#: functions.php:3117 functions.php:3121 functions.php:3159 functions.php:3162
#: tt-rss.php:172
msgid "Unread"
msgstr "Non lus"
-#: functions.php:3114 functions.php:3156 modules/pref-feeds.php:617
+#: functions.php:3118 functions.php:3160 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:3118 functions.php:3159 tt-rss.php:171
+#: functions.php:3120
+msgid "Toggle"
+msgstr "Marquages spéciaux "
+
+#: functions.php:3122 functions.php:3163 tt-rss.php:171
msgid "Starred"
msgstr "Remarquables"
-#: functions.php:3119
+#: functions.php:3123
msgid "Published"
msgstr "Publiés"
-#: functions.php:3122
+#: functions.php:3126
msgid "Mark as read"
msgstr "Marquer comme lu"
-#: functions.php:3123
+#: functions.php:3127
msgid "This page"
msgstr "Cette page"
-#: functions.php:3124
+#: functions.php:3128
msgid "Entire feed"
msgstr "Tout le flux"
-#: functions.php:3132
+#: functions.php:3136
msgid "Next page"
msgstr "Page suivante"
-#: functions.php:3133
+#: functions.php:3137
msgid "Previous page"
msgstr "Page précédente"
-#: functions.php:3134
+#: functions.php:3138
msgid "First page"
msgstr "Première page"
-#: functions.php:3144 functions.php:3170
+#: functions.php:3148 functions.php:3174
msgid "Convert to label"
msgstr "Convertir en intitulé"
-#: functions.php:3158
+#: functions.php:3162
msgid "Toggle:"
msgstr "Marquages spéciaux :"
-#: functions.php:3161
+#: functions.php:3165
msgid "Mark as read:"
msgstr "Marquer comme lu :"
-#: functions.php:3162
+#: functions.php:3166
msgid "Page"
msgstr "Page"
-#: functions.php:3163 modules/pref-filters.php:263
+#: functions.php:3167 modules/pref-filters.php:263
msgid "Feed"
msgstr "Flux"
-#: functions.php:3208
+#: functions.php:3212
msgid "Generated feed"
msgstr "Flux généré"
-#: functions.php:3458
+#: functions.php:3462
msgid "No feeds to display."
msgstr "Aucun flux à afficher."
-#: functions.php:3475
+#: functions.php:3479
msgid "Tags"
msgstr "Étiquettes"
-#: functions.php:3697
+#: functions.php:3701
msgid " - by "
msgstr "- par "
-#: functions.php:3742
+#: functions.php:3746
msgid "no tags"
msgstr "aucune étiquette"
-#: functions.php:3754
+#: functions.php:3758
msgid "Tags:"
msgstr "Étiquettes ,:"
-#: functions.php:3811
+#: functions.php:3815
msgid "Feed not found."
msgstr "Flux non trouvé."
-#: functions.php:3873
+#: functions.php:3877
msgid ""
"Could not display feed (query failed). Please check label match syntax or "
"local configuration."
"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:4114
+#: functions.php:4118
msgid "No articles found."
msgstr "Aucun article trouvé."
msgid "Adding feed category..."
msgstr "Ajout d'une catégorie de flux..."
-#: localized_js.php:42
+#: localized_js.php:42 localized_js.php:101
msgid "Can't add user: no login specified."
msgstr "Impossible d'ajouter un utilisateur : aucun nom fourni."
msgid "Adding user..."
msgstr "Ajout d'un utilisateur..."
-#: localized_js.php:45
+#: localized_js.php:45 localized_js.php:99
msgid "Can't create label: missing SQL expression."
msgstr "Impossible de créer un intitulé : expression SQL manquante."
-#: localized_js.php:46
+#: localized_js.php:46 localized_js.php:100
msgid "Can't create label: missing caption."
msgstr "Impossible de créer un intitulé : descriptif manquant."
msgid "Removing selected labels..."
msgstr "Suppression des intitulés sélectionnés..."
-#: localized_js.php:49 localized_js.php:68
+#: localized_js.php:49 localized_js.php:68 localized_js.php:102
msgid "No labels are selected."
msgstr "Aucun intitulé sélectionné."
msgstr "Suppression des utilisateurs sélectionnés..."
#: localized_js.php:52 localized_js.php:70 localized_js.php:72
+#: localized_js.php:103
msgid "No users are selected."
msgstr "Aucun utilisateur sélectionné."
msgid "Removing selected filters..."
msgstr "Suppression des filtres sélectionnés..."
-#: localized_js.php:55 localized_js.php:78
+#: localized_js.php:55 localized_js.php:78 localized_js.php:104
msgid "No filters are selected."
msgstr "Aucun filtre sélectionné."
msgstr "Désinscription des flux sélectionnés..."
#: localized_js.php:58 localized_js.php:76 localized_js.php:80
+#: localized_js.php:105 localized_js.php:108
msgid "No feeds are selected."
msgstr "Aucun flux sélectionné."
msgid "Removing selected categories..."
msgstr "Suppression des catégories sélectionnées..."
-#: localized_js.php:61 localized_js.php:82
+#: localized_js.php:61 localized_js.php:82 localized_js.php:106
msgid "No categories are selected."
msgstr "Aucune catégorie sélectionnée."
msgid "Saving label..."
msgstr "Enregistrement de l'intitulé..."
-#: localized_js.php:65
+#: localized_js.php:65 localized_js.php:107
msgid "Login field cannot be blank."
msgstr "Le nom ne peut pas être vide."
msgid "Could not change address."
msgstr "Impossible de changer l'adresse."
-#: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29
+#: localized_js.php:96
+msgid "You can't unsubscribe from the category."
+msgstr ""
+
+#: localized_js.php:97
+#, fuzzy
+msgid "Please select some feed first."
+msgstr "Veuillez sélectionner un flux."
+
+#: localized_js.php:98
+msgid "You can't edit this kind of feed."
+msgstr ""
+
+#: localized_js.php:109
+msgid "Can't add filter: nothing to match on."
+msgstr ""
+
+#: localized_js.php:110
+msgid "Can't subscribe: no feed URL given."
+msgstr ""
+
+#: localized_schema.php:5 modules/popup-dialog.php:166
+#: modules/pref-feeds.php:865 modules/pref-feeds.php:926
+msgid "Title"
+msgstr "Titre"
+
+#: localized_schema.php:6
+#, fuzzy
+msgid "Title or Content"
+msgstr "Titre ou contenu"
+
+#: localized_schema.php:7
+#, fuzzy
+msgid "Link"
+msgstr "Lier à :"
+
+#: localized_schema.php:8 modules/popup-dialog.php:167
+msgid "Content"
+msgstr "Contenu"
+
+#: login_form.php:49 modules/popup-dialog.php:90 modules/pref-feeds.php:264
+#: modules/pref-users.php:29
msgid "Login:"
msgstr "Nom :"
-#: login_form.php:51 modules/pref-feeds.php:270
+#: login_form.php:51 modules/popup-dialog.php:91 modules/pref-feeds.php:270
msgid "Password:"
msgstr "Mot de passe :"
msgid "Subscribe to feed"
msgstr "S'inscrire à un flux"
+#: modules/popup-dialog.php:62 modules/pref-feeds.php:165
+msgid "Feed URL:"
+msgstr "URL du flux :"
+
#: modules/popup-dialog.php:70 modules/pref-feeds.php:173
msgid "Category:"
msgstr "Catégorie :"
+#: modules/popup-dialog.php:86
+msgid "Click here if this feed requires authentication."
+msgstr ""
+
#: modules/popup-dialog.php:101 modules/pref-feed-browser.php:107
#: modules/pref-feeds.php:118
msgid "Subscribe"
msgid "Where:"
msgstr "Emplacement :"
-#: modules/popup-dialog.php:135 modules/pref-filters.php:290
-msgid "All feeds"
-msgstr "Tous les flux"
-
#: modules/popup-dialog.php:148
msgid "This feed"
msgstr "Ce flux"
msgid "Match on:"
msgstr "Correspondance sur :"
-#: modules/popup-dialog.php:166 modules/pref-feeds.php:865
-#: modules/pref-feeds.php:926
-msgid "Title"
-msgstr "Titre"
-
-#: modules/popup-dialog.php:167
-msgid "Content"
-msgstr "Contenu"
-
#: modules/popup-dialog.php:168
msgid "Title or content"
msgstr "Titre ou contenu"
msgid "Create filter"
msgstr "Créer un filtre"
+#: modules/popup-dialog.php:262 modules/popup-dialog.php:293
+#: modules/pref-filters.php:40 modules/pref-filters.php:72
+msgid "description"
+msgstr ""
+
#: modules/popup-dialog.php:267 modules/pref-filters.php:45
msgid "Match:"
msgstr "Correspondance :"
msgid "browse more"
msgstr "en afficher plus"
+#: modules/pref-feed-browser.php:5 modules/pref-feeds.php:53
+msgid "Feed browser is administratively disabled."
+msgstr "Le navigateur de flux a été désactivé par l'administrateur."
+
+#: modules/pref-feed-browser.php:15
+#, fuzzy
+msgid "Feed information:"
+msgstr "Actions sur ce flux :"
+
+#: modules/pref-feed-browser.php:51
+#, fuzzy
+msgid "Last headlines:"
+msgstr "Dernière connexion"
+
#: modules/pref-feed-browser.php:77
msgid ""
"This panel shows feeds subscribed by other users of this system, just in "
msgid "Show"
msgstr "Afficher"
+#: modules/pref-feed-browser.php:152 modules/pref-feeds.php:111
+msgid "No feeds found to subscribe."
+msgstr "Aucun flux auquel s'inscrire n'a été trouvé."
+
#: modules/pref-feeds.php:38
msgid "Subscribed to feeds:"
msgstr "Inscrit aux flux :"
-#: modules/pref-feeds.php:53
-msgid "Feed browser is administratively disabled."
-msgstr "Le navigateur de flux a été désactivé par l'administrateur."
-
#: modules/pref-feeds.php:57
msgid "Other feeds: Top 25"
msgstr "Autres flux : Top 25"
msgstr ""
"Affichage des 25 meilleurs flux enregistrés, classés par popularité :"
-#: modules/pref-feeds.php:111
-msgid "No feeds found to subscribe."
-msgstr "Aucun flux auquel s'inscrire n'a été trouvé."
-
#: modules/pref-feeds.php:145
msgid "Feed editor"
msgstr "Éditeur de flux"
msgid "Title:"
msgstr "Titre :"
-#: modules/pref-feeds.php:165
-msgid "Feed URL:"
-msgstr "URL du flux :"
-
#: modules/pref-feeds.php:193
msgid "Update Interval:"
msgstr "Fréquence de mise à jour :"
msgid "Old password is incorrect."
msgstr "L'ancien mot de passe n'est pas correct."
+#: modules/pref-prefs.php:59 modules/pref-prefs.php:388
+#, fuzzy
+msgid "Save configuration"
+msgstr "La configuration a été enregistrée."
+
+#: modules/pref-prefs.php:127 modules/pref-prefs.php:392
+msgid "Reset to defaults"
+msgstr "Revenir aux valeurs par défaut"
+
#: modules/pref-prefs.php:185
msgid ""
"Your password is at default value, \n"
msgid "Select theme"
msgstr "Sélectionner un thème"
+#: modules/pref-prefs.php:285
+msgid "Default"
+msgstr "Utiliser la valeur par défaut"
+
+#: modules/pref-prefs.php:301
+#, fuzzy
+msgid "Change theme"
+msgstr "Modifier l'adresse électronique"
+
+#: modules/pref-prefs.php:353
+msgid "short_desc"
+msgstr ""
+
#: modules/pref-users.php:12
msgid "User editor"
msgstr "Éditeur d'utilisateur"
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-08-10 23:25+0400\n"
+"POT-Creation-Date: 2007-08-11 00:14+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"
"\t\tofficial site for more information."
msgstr ""
-#: functions.php:2239 functions.php:2278 functions.php:2602 functions.php:3386
-#: functions.php:3416 modules/pref-feeds.php:890
+#: functions.php:2214 modules/popup-dialog.php:135
+#: modules/pref-filters.php:290
+msgid "All feeds"
+msgstr "Все каналы"
+
+#: functions.php:2243 functions.php:2282 functions.php:2606 functions.php:3390
+#: functions.php:3420 modules/pref-feeds.php:890
msgid "Uncategorized"
msgstr "Нет категории"
-#: functions.php:2268 functions.php:3226
+#: functions.php:2272 functions.php:3230
msgid "Special"
msgstr "Особые"
-#: functions.php:2270 functions.php:3260
+#: functions.php:2274 functions.php:3264
msgid "Labels"
msgstr "Метки"
-#: functions.php:2288 functions.php:2624 functions.php:3237
+#: functions.php:2292 functions.php:2628 functions.php:3241
msgid "Starred articles"
msgstr "Отмеченные статьи"
-#: functions.php:2290 functions.php:2626 functions.php:3244
+#: functions.php:2294 functions.php:2630 functions.php:3248
#, fuzzy
msgid "Published articles"
msgstr "Отмеченные статьи"
-#: functions.php:2588 functions.php:2590
+#: functions.php:2592 functions.php:2594
msgid "Search results"
msgstr "Результаты поиска"
-#: functions.php:2606 functions.php:2619 functions.php:2634
+#: functions.php:2610 functions.php:2623 functions.php:2638
msgid "Searched for"
msgstr "Поиск"
-#: functions.php:2859
+#: functions.php:2863
msgid "New headlines for last 24 hours, as of "
msgstr "Новые заголовки за последние 24 часа, на "
-#: functions.php:2903
+#: functions.php:2907
msgid ""
"You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at "
msgstr ""
-#: functions.php:2905
+#: functions.php:2909
msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr ""
-#: functions.php:3111 functions.php:3153 functions.php:4053
+#: functions.php:3115 functions.php:3157 functions.php:4057
#: 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:3112 functions.php:3154 modules/pref-feeds.php:616
+#: functions.php:3116 functions.php:3158 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:3113 functions.php:3117 functions.php:3155 functions.php:3158
+#: functions.php:3117 functions.php:3121 functions.php:3159 functions.php:3162
#: tt-rss.php:172
msgid "Unread"
msgstr "Новые"
-#: functions.php:3114 functions.php:3156 modules/pref-feeds.php:617
+#: functions.php:3118 functions.php:3160 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:3118 functions.php:3159 tt-rss.php:171
+#: functions.php:3120
+#, fuzzy
+msgid "Toggle"
+msgstr "Изменить:"
+
+#: functions.php:3122 functions.php:3163 tt-rss.php:171
msgid "Starred"
msgstr "Отмеченные"
-#: functions.php:3119
+#: functions.php:3123
msgid "Published"
msgstr ""
-#: functions.php:3122
+#: functions.php:3126
msgid "Mark as read"
msgstr "Как прочитанные"
-#: functions.php:3123
+#: functions.php:3127
msgid "This page"
msgstr "Эту страницу"
-#: functions.php:3124
+#: functions.php:3128
msgid "Entire feed"
msgstr "Весь канал"
-#: functions.php:3132
+#: functions.php:3136
msgid "Next page"
msgstr "След. стр."
-#: functions.php:3133
+#: functions.php:3137
msgid "Previous page"
msgstr "Пред. cтр."
-#: functions.php:3134
+#: functions.php:3138
msgid "First page"
msgstr "На первую"
-#: functions.php:3144 functions.php:3170
+#: functions.php:3148 functions.php:3174
msgid "Convert to label"
msgstr "Превратить в метку"
-#: functions.php:3158
+#: functions.php:3162
msgid "Toggle:"
msgstr "Изменить:"
-#: functions.php:3161
+#: functions.php:3165
msgid "Mark as read:"
msgstr "Пометить как прочит.:"
-#: functions.php:3162
+#: functions.php:3166
msgid "Page"
msgstr "Страница"
-#: functions.php:3163 modules/pref-filters.php:263
+#: functions.php:3167 modules/pref-filters.php:263
msgid "Feed"
msgstr "Канал"
-#: functions.php:3208
+#: functions.php:3212
msgid "Generated feed"
msgstr ""
-#: functions.php:3458
+#: functions.php:3462
msgid "No feeds to display."
msgstr "Нет каналов для отображения."
-#: functions.php:3475
+#: functions.php:3479
msgid "Tags"
msgstr "Теги"
-#: functions.php:3697
+#: functions.php:3701
msgid " - by "
msgstr ", автор - "
-#: functions.php:3742
+#: functions.php:3746
msgid "no tags"
msgstr "нет тегов"
-#: functions.php:3754
+#: functions.php:3758
msgid "Tags:"
msgstr "Теги:"
-#: functions.php:3811
+#: functions.php:3815
msgid "Feed not found."
msgstr "Канал не найден."
-#: functions.php:3873
+#: functions.php:3877
msgid ""
"Could not display feed (query failed). Please check label match syntax or "
"local configuration."
msgstr ""
-#: functions.php:4114
+#: functions.php:4118
msgid "No articles found."
msgstr "Статей не найдено."
msgid "Adding feed category..."
msgstr "Категория добавляется..."
-#: localized_js.php:42
+#: localized_js.php:42 localized_js.php:101
msgid "Can't add user: no login specified."
msgstr ""
msgid "Adding user..."
msgstr "Пользователь добавляется..."
-#: localized_js.php:45
+#: localized_js.php:45 localized_js.php:99
msgid "Can't create label: missing SQL expression."
msgstr ""
-#: localized_js.php:46
+#: localized_js.php:46 localized_js.php:100
msgid "Can't create label: missing caption."
msgstr ""
msgid "Removing selected labels..."
msgstr "Выбранные метки удаляются..."
-#: localized_js.php:49 localized_js.php:68
+#: localized_js.php:49 localized_js.php:68 localized_js.php:102
msgid "No labels are selected."
msgstr "Нет выбранных меток."
msgstr "Выбранные пользователи удаляются..."
#: localized_js.php:52 localized_js.php:70 localized_js.php:72
+#: localized_js.php:103
msgid "No users are selected."
msgstr "Нет выбранных пользователей."
msgid "Removing selected filters..."
msgstr "Выбранные фильтры удаляются..."
-#: localized_js.php:55 localized_js.php:78
+#: localized_js.php:55 localized_js.php:78 localized_js.php:104
msgid "No filters are selected."
msgstr "Нет выбранных фильтров."
msgstr "Выбранные каналы удаляются..."
#: localized_js.php:58 localized_js.php:76 localized_js.php:80
+#: localized_js.php:105 localized_js.php:108
msgid "No feeds are selected."
msgstr "Нет выбранных каналов."
msgid "Removing selected categories..."
msgstr "Выбранные категории удаляются..."
-#: localized_js.php:61 localized_js.php:82
+#: localized_js.php:61 localized_js.php:82 localized_js.php:106
msgid "No categories are selected."
msgstr "Нет выбранных категорий."
msgid "Saving label..."
msgstr "Идет сохранение метки..."
-#: localized_js.php:65
+#: localized_js.php:65 localized_js.php:107
msgid "Login field cannot be blank."
msgstr ""
msgid "Could not change address."
msgstr ""
-#: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29
+#: localized_js.php:96
+msgid "You can't unsubscribe from the category."
+msgstr ""
+
+#: localized_js.php:97
+#, fuzzy
+msgid "Please select some feed first."
+msgstr "Пожалуйста выберите только один канал."
+
+#: localized_js.php:98
+msgid "You can't edit this kind of feed."
+msgstr ""
+
+#: localized_js.php:109
+msgid "Can't add filter: nothing to match on."
+msgstr ""
+
+#: localized_js.php:110
+msgid "Can't subscribe: no feed URL given."
+msgstr ""
+
+#: localized_schema.php:5 modules/popup-dialog.php:166
+#: modules/pref-feeds.php:865 modules/pref-feeds.php:926
+msgid "Title"
+msgstr "Заголовок"
+
+#: localized_schema.php:6
+#, fuzzy
+msgid "Title or Content"
+msgstr "Заголовок или содержимое"
+
+#: localized_schema.php:7
+#, fuzzy
+msgid "Link"
+msgstr "Связать с:"
+
+#: localized_schema.php:8 modules/popup-dialog.php:167
+msgid "Content"
+msgstr "Содержимое"
+
+#: login_form.php:49 modules/popup-dialog.php:90 modules/pref-feeds.php:264
+#: modules/pref-users.php:29
msgid "Login:"
msgstr "Пользователь:"
-#: login_form.php:51 modules/pref-feeds.php:270
+#: login_form.php:51 modules/popup-dialog.php:91 modules/pref-feeds.php:270
msgid "Password:"
msgstr "Пароль:"
msgid "Subscribe to feed"
msgstr "Подписаться на канал"
+#: modules/popup-dialog.php:62 modules/pref-feeds.php:165
+msgid "Feed URL:"
+msgstr "URL канала:"
+
#: modules/popup-dialog.php:70 modules/pref-feeds.php:173
msgid "Category:"
msgstr "Категория:"
+#: modules/popup-dialog.php:86
+msgid "Click here if this feed requires authentication."
+msgstr ""
+
#: modules/popup-dialog.php:101 modules/pref-feed-browser.php:107
#: modules/pref-feeds.php:118
msgid "Subscribe"
msgid "Where:"
msgstr "Где:"
-#: modules/popup-dialog.php:135 modules/pref-filters.php:290
-msgid "All feeds"
-msgstr "Все каналы"
-
#: modules/popup-dialog.php:148
msgid "This feed"
msgstr "Этот канал"
msgid "Match on:"
msgstr "Искать по:"
-#: modules/popup-dialog.php:166 modules/pref-feeds.php:865
-#: modules/pref-feeds.php:926
-msgid "Title"
-msgstr "Заголовок"
-
-#: modules/popup-dialog.php:167
-msgid "Content"
-msgstr "Содержимое"
-
#: modules/popup-dialog.php:168
msgid "Title or content"
msgstr "Заголовок или содержимое"
msgid "Create filter"
msgstr "Создать фильтр"
+#: modules/popup-dialog.php:262 modules/popup-dialog.php:293
+#: modules/pref-filters.php:40 modules/pref-filters.php:72
+msgid "description"
+msgstr ""
+
#: modules/popup-dialog.php:267 modules/pref-filters.php:45
msgid "Match:"
msgstr "Поиск:"
msgid "browse more"
msgstr ""
+#: modules/pref-feed-browser.php:5 modules/pref-feeds.php:53
+msgid "Feed browser is administratively disabled."
+msgstr "Другие каналы отключены администратором"
+
+#: modules/pref-feed-browser.php:15
+#, fuzzy
+msgid "Feed information:"
+msgstr "Действия над каналами:"
+
+#: modules/pref-feed-browser.php:51
+#, fuzzy
+msgid "Last headlines:"
+msgstr "Последний вход"
+
#: modules/pref-feed-browser.php:77
msgid ""
"This panel shows feeds subscribed by other users of this system, just in "
msgid "Show"
msgstr "Показать"
+#: modules/pref-feed-browser.php:152 modules/pref-feeds.php:111
+msgid "No feeds found to subscribe."
+msgstr "Каналы для подписки не найдены."
+
#: modules/pref-feeds.php:38
msgid "Subscribed to feeds:"
msgstr "Подписаны каналы:"
-#: modules/pref-feeds.php:53
-msgid "Feed browser is administratively disabled."
-msgstr "Другие каналы отключены администратором"
-
#: modules/pref-feeds.php:57
msgid "Other feeds: Top 25"
msgstr "Топ 25 каналов"
msgid "Showing top 25 registered feeds, sorted by popularity:"
msgstr "Топ 25 популярных каналов:"
-#: modules/pref-feeds.php:111
-msgid "No feeds found to subscribe."
-msgstr "Каналы для подписки не найдены."
-
#: modules/pref-feeds.php:145
msgid "Feed editor"
msgstr "Редактор канала"
msgid "Title:"
msgstr "Заголовок:"
-#: modules/pref-feeds.php:165
-msgid "Feed URL:"
-msgstr "URL канала:"
-
#: modules/pref-feeds.php:193
msgid "Update Interval:"
msgstr "Интервал обновления:"
msgid "Old password is incorrect."
msgstr "Старый пароль неправилен."
+#: modules/pref-prefs.php:59 modules/pref-prefs.php:388
+#, fuzzy
+msgid "Save configuration"
+msgstr "Конфигурация сохранена."
+
+#: modules/pref-prefs.php:127 modules/pref-prefs.php:392
+#, fuzzy
+msgid "Reset to defaults"
+msgstr "Сбросить настройки?"
+
#: modules/pref-prefs.php:185
msgid ""
"Your password is at default value, \n"
msgid "Select theme"
msgstr "Выбор темы"
+#: modules/pref-prefs.php:285
+#, fuzzy
+msgid "Default"
+msgstr "По умолчанию"
+
+#: modules/pref-prefs.php:301
+#, fuzzy
+msgid "Change theme"
+msgstr "Изменить e-mail"
+
+#: modules/pref-prefs.php:353
+msgid "short_desc"
+msgstr ""
+
#: modules/pref-users.php:12
msgid "User editor"
msgstr "Редактор пользователей"
msgstr ""
"Project-Id-Version: Tiny Tiny RSS1.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-08-10 23:25+0400\n"
+"POT-Creation-Date: 2007-08-11 00:14+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"
"不支持你的MySQL版本. 请访问 \n"
"\t\t官方网站获取更多信息。"
-#: functions.php:2239 functions.php:2278 functions.php:2602 functions.php:3386
-#: functions.php:3416 modules/pref-feeds.php:890
+#: functions.php:2214 modules/popup-dialog.php:135
+#: modules/pref-filters.php:290
+msgid "All feeds"
+msgstr "所有feed"
+
+#: functions.php:2243 functions.php:2282 functions.php:2606 functions.php:3390
+#: functions.php:3420 modules/pref-feeds.php:890
msgid "Uncategorized"
msgstr "未分类"
-#: functions.php:2268 functions.php:3226
+#: functions.php:2272 functions.php:3230
msgid "Special"
msgstr "专用"
-#: functions.php:2270 functions.php:3260
+#: functions.php:2274 functions.php:3264
msgid "Labels"
msgstr "标记"
-#: functions.php:2288 functions.php:2624 functions.php:3237
+#: functions.php:2292 functions.php:2628 functions.php:3241
msgid "Starred articles"
msgstr "星级文章"
-#: functions.php:2290 functions.php:2626 functions.php:3244
+#: functions.php:2294 functions.php:2630 functions.php:3248
#, fuzzy
msgid "Published articles"
msgstr "星级文章"
-#: functions.php:2588 functions.php:2590
+#: functions.php:2592 functions.php:2594
msgid "Search results"
msgstr "搜索结果"
-#: functions.php:2606 functions.php:2619 functions.php:2634
+#: functions.php:2610 functions.php:2623 functions.php:2638
msgid "Searched for"
msgstr "搜索"
-#: functions.php:2859
+#: functions.php:2863
msgid "New headlines for last 24 hours, as of "
msgstr "24小时最新头条,截至"
-#: functions.php:2903
+#: functions.php:2907
msgid ""
"You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at "
msgstr "由于您启用了Tiny Tiny RSS每日文摘,会收到此邮件。"
-#: functions.php:2905
+#: functions.php:2909
msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr "若要退订,访问你的配置选项或联络管理员。\n"
-#: functions.php:3111 functions.php:3153 functions.php:4053
+#: functions.php:3115 functions.php:3157 functions.php:4057
#: 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:3112 functions.php:3154 modules/pref-feeds.php:616
+#: functions.php:3116 functions.php:3158 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:3113 functions.php:3117 functions.php:3155 functions.php:3158
+#: functions.php:3117 functions.php:3121 functions.php:3159 functions.php:3162
#: tt-rss.php:172
msgid "Unread"
msgstr "未读"
-#: functions.php:3114 functions.php:3156 modules/pref-feeds.php:617
+#: functions.php:3118 functions.php:3160 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:3118 functions.php:3159 tt-rss.php:171
+#: functions.php:3120
+#, fuzzy
+msgid "Toggle"
+msgstr "触发:"
+
+#: functions.php:3122 functions.php:3163 tt-rss.php:171
msgid "Starred"
msgstr "星级"
-#: functions.php:3119
+#: functions.php:3123
msgid "Published"
msgstr ""
-#: functions.php:3122
+#: functions.php:3126
msgid "Mark as read"
msgstr "标记为已读"
-#: functions.php:3123
+#: functions.php:3127
msgid "This page"
msgstr "本页"
-#: functions.php:3124
+#: functions.php:3128
msgid "Entire feed"
msgstr "输入feed"
-#: functions.php:3132
+#: functions.php:3136
msgid "Next page"
msgstr "下页"
-#: functions.php:3133
+#: functions.php:3137
msgid "Previous page"
msgstr "上页"
-#: functions.php:3134
+#: functions.php:3138
msgid "First page"
msgstr "首页"
-#: functions.php:3144 functions.php:3170
+#: functions.php:3148 functions.php:3174
msgid "Convert to label"
msgstr "转换标签"
-#: functions.php:3158
+#: functions.php:3162
msgid "Toggle:"
msgstr "触发:"
-#: functions.php:3161
+#: functions.php:3165
msgid "Mark as read:"
msgstr "标记为已读:"
-#: functions.php:3162
+#: functions.php:3166
msgid "Page"
msgstr "页"
-#: functions.php:3163 modules/pref-filters.php:263
+#: functions.php:3167 modules/pref-filters.php:263
msgid "Feed"
msgstr "Feed"
-#: functions.php:3208
+#: functions.php:3212
msgid "Generated feed"
msgstr "产生feed"
-#: functions.php:3458
+#: functions.php:3462
msgid "No feeds to display."
msgstr "无feed显示。"
-#: functions.php:3475
+#: functions.php:3479
msgid "Tags"
msgstr "标签"
-#: functions.php:3697
+#: functions.php:3701
msgid " - by "
msgstr ", 由 - "
-#: functions.php:3742
+#: functions.php:3746
msgid "no tags"
msgstr "无标签"
-#: functions.php:3754
+#: functions.php:3758
msgid "Tags:"
msgstr "标签:"
-#: functions.php:3811
+#: functions.php:3815
msgid "Feed not found."
msgstr "未找到Feed."
-#: functions.php:3873
+#: functions.php:3877
msgid ""
"Could not display feed (query failed). Please check label match syntax or "
"local configuration."
msgstr "无法显示feed(查询失败); 请核对标签匹配语法或本地配置."
-#: functions.php:4114
+#: functions.php:4118
msgid "No articles found."
msgstr "未找到文章。"
msgid "Adding feed category..."
msgstr "添加feed分类..."
-#: localized_js.php:42
+#: localized_js.php:42 localized_js.php:101
msgid "Can't add user: no login specified."
msgstr "添加用户失败:未登录。"
msgid "Adding user..."
msgstr "添加用户..."
-#: localized_js.php:45
+#: localized_js.php:45 localized_js.php:99
msgid "Can't create label: missing SQL expression."
msgstr "创建标签失败:缺少或错误的SQL表达式。"
-#: localized_js.php:46
+#: localized_js.php:46 localized_js.php:100
msgid "Can't create label: missing caption."
msgstr "创建标签失败:缺少标题。"
msgid "Removing selected labels..."
msgstr "移除选定标记..."
-#: localized_js.php:49 localized_js.php:68
+#: localized_js.php:49 localized_js.php:68 localized_js.php:102
msgid "No labels are selected."
msgstr "未选定标记."
msgstr "移除选定用户..."
#: localized_js.php:52 localized_js.php:70 localized_js.php:72
+#: localized_js.php:103
msgid "No users are selected."
msgstr "未选定用户."
msgid "Removing selected filters..."
msgstr "移除选定的过滤器..."
-#: localized_js.php:55 localized_js.php:78
+#: localized_js.php:55 localized_js.php:78 localized_js.php:104
msgid "No filters are selected."
msgstr "未选定过滤器。"
msgstr "退订选定feed..."
#: localized_js.php:58 localized_js.php:76 localized_js.php:80
+#: localized_js.php:105 localized_js.php:108
msgid "No feeds are selected."
msgstr "未选择feed."
msgid "Removing selected categories..."
msgstr "移除选定分类..."
-#: localized_js.php:61 localized_js.php:82
+#: localized_js.php:61 localized_js.php:82 localized_js.php:106
msgid "No categories are selected."
msgstr "未选定分类。"
msgid "Saving label..."
msgstr "保存标记..."
-#: localized_js.php:65
+#: localized_js.php:65 localized_js.php:107
msgid "Login field cannot be blank."
msgstr "登陆框不能留空。"
msgid "Could not change address."
msgstr "未能更新数据库"
-#: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29
+#: localized_js.php:96
+msgid "You can't unsubscribe from the category."
+msgstr ""
+
+#: localized_js.php:97
+#, fuzzy
+msgid "Please select some feed first."
+msgstr "请只选择一个feed."
+
+#: localized_js.php:98
+msgid "You can't edit this kind of feed."
+msgstr ""
+
+#: localized_js.php:109
+msgid "Can't add filter: nothing to match on."
+msgstr ""
+
+#: localized_js.php:110
+msgid "Can't subscribe: no feed URL given."
+msgstr ""
+
+#: localized_schema.php:5 modules/popup-dialog.php:166
+#: modules/pref-feeds.php:865 modules/pref-feeds.php:926
+msgid "Title"
+msgstr "标题"
+
+#: localized_schema.php:6
+#, fuzzy
+msgid "Title or Content"
+msgstr "标题或内容"
+
+#: localized_schema.php:7
+#, fuzzy
+msgid "Link"
+msgstr "链接:"
+
+#: localized_schema.php:8 modules/popup-dialog.php:167
+msgid "Content"
+msgstr "内容"
+
+#: login_form.php:49 modules/popup-dialog.php:90 modules/pref-feeds.php:264
+#: modules/pref-users.php:29
msgid "Login:"
msgstr "登陆:"
-#: login_form.php:51 modules/pref-feeds.php:270
+#: login_form.php:51 modules/popup-dialog.php:91 modules/pref-feeds.php:270
msgid "Password:"
msgstr "密码:"
msgid "Subscribe to feed"
msgstr "订阅feed"
+#: modules/popup-dialog.php:62 modules/pref-feeds.php:165
+msgid "Feed URL:"
+msgstr "Feed URL:"
+
#: modules/popup-dialog.php:70 modules/pref-feeds.php:173
msgid "Category:"
msgstr "分类:"
+#: modules/popup-dialog.php:86
+msgid "Click here if this feed requires authentication."
+msgstr ""
+
#: modules/popup-dialog.php:101 modules/pref-feed-browser.php:107
#: modules/pref-feeds.php:118
msgid "Subscribe"
msgid "Where:"
msgstr "地点:"
-#: modules/popup-dialog.php:135 modules/pref-filters.php:290
-msgid "All feeds"
-msgstr "所有feed"
-
#: modules/popup-dialog.php:148
msgid "This feed"
msgstr "本feed"
msgid "Match on:"
msgstr "匹配:"
-#: modules/popup-dialog.php:166 modules/pref-feeds.php:865
-#: modules/pref-feeds.php:926
-msgid "Title"
-msgstr "标题"
-
-#: modules/popup-dialog.php:167
-msgid "Content"
-msgstr "内容"
-
#: modules/popup-dialog.php:168
msgid "Title or content"
msgstr "标题或内容"
msgid "Create filter"
msgstr "创建过滤器"
+#: modules/popup-dialog.php:262 modules/popup-dialog.php:293
+#: modules/pref-filters.php:40 modules/pref-filters.php:72
+msgid "description"
+msgstr ""
+
#: modules/popup-dialog.php:267 modules/pref-filters.php:45
msgid "Match:"
msgstr "匹配:"
msgid "browse more"
msgstr "浏览所有"
+#: modules/pref-feed-browser.php:5 modules/pref-feeds.php:53
+msgid "Feed browser is administratively disabled."
+msgstr "Feed 浏览器有限制"
+
+#: modules/pref-feed-browser.php:15
+#, fuzzy
+msgid "Feed information:"
+msgstr "Feed 操作:"
+
+#: modules/pref-feed-browser.php:51
+#, fuzzy
+msgid "Last headlines:"
+msgstr "最后登陆"
+
#: modules/pref-feed-browser.php:77
msgid ""
"This panel shows feeds subscribed by other users of this system, just in "
msgid "Show"
msgstr "显示"
+#: modules/pref-feed-browser.php:152 modules/pref-feeds.php:111
+msgid "No feeds found to subscribe."
+msgstr "无feed可订阅。"
+
#: modules/pref-feeds.php:38
msgid "Subscribed to feeds:"
msgstr "订阅feed:"
-#: modules/pref-feeds.php:53
-msgid "Feed browser is administratively disabled."
-msgstr "Feed 浏览器有限制"
-
#: modules/pref-feeds.php:57
msgid "Other feeds: Top 25"
msgstr " 其他feed: Top 25"
msgid "Showing top 25 registered feeds, sorted by popularity:"
msgstr "显示按受欢迎度排序的25个注册feed:"
-#: modules/pref-feeds.php:111
-msgid "No feeds found to subscribe."
-msgstr "无feed可订阅。"
-
#: modules/pref-feeds.php:145
msgid "Feed editor"
msgstr "Feed编辑"
msgid "Title:"
msgstr "标题:"
-#: modules/pref-feeds.php:165
-msgid "Feed URL:"
-msgstr "Feed URL:"
-
#: modules/pref-feeds.php:193
msgid "Update Interval:"
msgstr "更新间隔:"
msgid "Old password is incorrect."
msgstr "原密码错误."
+#: modules/pref-prefs.php:59 modules/pref-prefs.php:388
+#, fuzzy
+msgid "Save configuration"
+msgstr "设置已保存."
+
+#: modules/pref-prefs.php:127 modules/pref-prefs.php:392
+#, fuzzy
+msgid "Reset to defaults"
+msgstr "重置默认项?"
+
#: modules/pref-prefs.php:185
msgid ""
"Your password is at default value, \n"
msgid "Select theme"
msgstr "选择模板"
+#: modules/pref-prefs.php:285
+#, fuzzy
+msgid "Default"
+msgstr "用户默认"
+
+#: modules/pref-prefs.php:301
+#, fuzzy
+msgid "Change theme"
+msgstr "更改 e-mail"
+
+#: modules/pref-prefs.php:353
+msgid "short_desc"
+msgstr ""
+
#: modules/pref-users.php:12
msgid "User editor"
msgstr "用户编辑"
print T_js_decl("Replace current publishing address with a new one?");
print T_js_decl("Address changed.");
print T_js_decl("Could not change address.");
+print T_js_decl("You can't unsubscribe from the category.");
+print T_js_decl("Please select some feed first.");
+print T_js_decl("You can't edit this kind of feed.");
+print T_js_decl("Can't create label: missing SQL expression.");
+print T_js_decl("Can't create label: missing caption.");
+print T_js_decl("Can't add user: no login specified.");
+print T_js_decl("No labels are selected.");
+print T_js_decl("No users are selected.");
+print T_js_decl("No filters are selected.");
+print T_js_decl("No feeds are selected.");
+print T_js_decl("No categories are selected.");
+print T_js_decl("Login field cannot be blank.");
+print T_js_decl("No feeds are selected.");
+print T_js_decl("Can't add filter: nothing to match on.");
+print T_js_decl("Can't subscribe: no feed URL given.");
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
+#print T_js_decl(
?>
--- /dev/null
+<?
+ /*
+ * This is a dummy plug for gettext to know we have some translatable strings in the schema.
+ * This file is not otherwise used.
+ */
+
+ # filters
+
+ __("Title");
+ __("Title or Content");
+ __("Link");
+ __("Content");
+
+ __("Filter article");
+ __("Mark as read");
+ __("Set starred");
+ __("Publish article");
+ __("Assign tags");
+
+
+?>
print "<input type=\"hidden\" name=\"from\" value=\"tt-rss\">";
print "<table width='100%'>
- <tr><td>Feed URL:</td><td>
+ <tr><td>".__('Feed URL:')."</td><td>
<input class=\"iedit\" onblur=\"javascript:enableHotkeys()\"
onkeypress=\"return filterCR(event, qaddFeed)\"
onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
print "<div id='fadd_login_prompt'><br/>
<a href='javascript:showBlockElement(\"fadd_login_container\",
- \"fadd_login_prompt\")'>Click here if this feed requires authentication.</a></div>";
+ \"fadd_login_prompt\")'>".__('Click here if this feed requires authentication.')."</a></div>";
print "<div id='fadd_login_container'>
<table width='100%'>
- <tr><td>Login:</td><td><input name='auth_login' class='iedit'></td></tr>
- <tr><td>Password:</td><td><input type='password'
+ <tr><td>".__('Login:')."</td><td><input name='auth_login' class='iedit'></td></tr>
+ <tr><td>".__('Password:')."</td><td><input type='password'
name='auth_pass' class='iedit'></td></tr>
</table>
</div>";
while ($line = db_fetch_assoc($result)) {
//array_push($filter_types, $line["description"]);
- $filter_types[$line["id"]] = $line["description"];
+ $filter_types[$line["id"]] = __($line["description"]);
}
print "<table width='100%'>";
ORDER BY name");
while ($line = db_fetch_assoc($result)) {
- printf("<option value='%d'>%s</option>", $line["id"], $line["description"]);
+ printf("<option value='%d'>%s</option>", $line["id"], __($line["description"]));
}
print "</select>";
function module_pref_feed_browser($link) {
if (!ENABLE_FEED_BROWSER) {
- print "Feed browser is administratively disabled.";
+ print __("Feed browser is administratively disabled.");
return;
}
$id = db_escape_string($_GET["id"]);
print "<div class=\"browserFeedInfo\">";
- print "<b>Feed information:</b>";
+ print "<b>".__('Feed information:')."</b>";
print "<div class=\"detailsPart\">";
$result = db_query($link, "SELECT
if (db_num_rows($result) > 0) {
- print "<b>Last headlines:</b><br>";
+ print "<b>".__('Last headlines:')."</b><br>";
print "<div class=\"detailsPart\">";
print "<ul class=\"compact\">";
}
if ($feedctr == 0) {
- print "<li>No feeds found to subscribe.</li>";
+ print "<li>".__('No feeds found to subscribe.')."</li>";
}
print "</ul>";
while ($line = db_fetch_assoc($result)) {
//array_push($filter_types, $line["description"]);
- $filter_types[$line["id"]] = $line["description"];
+ $filter_types[$line["id"]] = __($line["description"]);
}
print "<table width='100%'>";
while ($line = db_fetch_assoc($result)) {
$is_sel = ($line["id"] == $action_id) ? "selected" : "";
- printf("<option value='%d' $is_sel>%s</option>", $line["id"], $line["description"]);
+ printf("<option value='%d' $is_sel>%s</option>", $line["id"], __($line["description"]));
}
print "</select>";
return;
- } else if ($subop == "Save configuration") {
+ } else if ($subop == __("Save configuration")) {
$_SESSION["prefs_op_result"] = "save-config";
return;
- } else if ($subop == "Reset to defaults") {
+ } else if ($subop == __("Reset to defaults")) {
$_SESSION["prefs_op_result"] = "reset-to-defaults";
print "<tr><td colspan='3'><h3>".__("Themes")."</h3></tr></td>";
print "<tr><td width=\"40%\">".__("Select theme")."</td>";
print "<td><select name=\"theme\">";
- print "<option>Default</option>";
+ print "<option value='Default'>".__('Default')."</option>";
print "<option disabled>--------</option>";
while ($line = db_fetch_assoc($result)) {
print "</select></td></tr>";
print "</table>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">";
+ print "<input type=\"hidden\" name=\"subop\" value=\"Change theme\">";
print "<p><input class=\"button\" type=\"submit\"
- value=\"Change theme\" name=\"subop\">";
+ value=\"".__('Change theme')."\">";
print "</form>";
}
$active_section = $line["section_name"];
- print "<tr><td colspan=\"3\"><h3>$active_section</h3></td></tr>";
+ print "<tr><td colspan=\"3\"><h3>".__($active_section)."</h3></td></tr>";
// print "<tr class=\"title\">
// <td width=\"25%\">Option</td><td>Value</td></tr>";
$def_value = $line["def_value"];
$help_text = $line["help_text"];
- print "<td width=\"40%\" id=\"$pref_name\">" . $line["short_desc"];
+ print "<td width=\"40%\" id=\"$pref_name\">" . __($line["short_desc"]);
- if ($help_text) print "<div class=\"prefHelp\">$help_text</div>";
+ if ($help_text) print "<div class=\"prefHelp\">".__($help_text)."</div>";
print "</td>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">";
print "<p><input class=\"button\" type=\"submit\"
- name=\"subop\" value=\"Save configuration\">";
+ name=\"subop\" value=\"".__('Save configuration')."\">";
print " <input class=\"button\" type=\"submit\"
name=\"subop\" onclick=\"return validatePrefsReset()\"
- value=\"Reset to defaults\"></p>";
+ value=\"".__('Reset to defaults')."\"></p>";
print "</form>";
var description = form.description.value;
if (sql_exp == "") {
- alert("Can't create label: missing SQL expression.");
+ alert(__("Can't create label: missing SQL expression."));
return false;
}
if (description == "") {
- alert("Can't create label: missing caption.");
+ alert(__("Can't create label: missing caption."));
return false;
}
var sqlexp = document.getElementById("uadd_box");
if (sqlexp.value.length == 0) {
- alert("Can't add user: no login specified.");
+ alert(__("Can't add user: no login specified."));
} else {
notify_progress("Adding user...");
xmlhttp.send(null);
}
} else {
- alert("No labels are selected.");
+ alert(__("No labels are selected."));
}
return false;
}
} else {
- alert("No users are selected.");
+ alert(__("No users are selected."));
}
return false;
xmlhttp.send(null);
}
} else {
- alert("No filters are selected.");
+ alert(__("No filters are selected."));
}
return false;
} else {
- alert("No feeds are selected.");
+ alert(__("No feeds are selected."));
}
} else {
- alert("No categories are selected.");
+ alert(__("No categories are selected."));
}
var login = document.forms["user_edit_form"].login.value;
if (login.length == 0) {
- alert("Login field cannot be blank.");
+ alert(__("Login field cannot be blank."));
return;
}
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
} else {
- alert("No feeds are selected.");
+ alert(__("No feeds are selected."));
}
} catch (e) {
ul.headlineDropdownMenu li.top {
float : left;
- width : 9em;
+ width : 11em;
background-image : url("images/down_arrow.png");
background-position : center right;
background-repeat : no-repeat;
padding : 0px;
display : none;
background-color : white;
- width : 9em;
+ width : 11em;
z-index : 3;
top : auto;
left : auto;
var actid = getActiveFeedId();
if (activeFeedIsCat()) {
- alert("You can't unsubscribe from the category.");
+ alert(__("You can't unsubscribe from the category."));
return;
}
if (!actid) {
- alert("Please select some feed first.");
+ alert(__("Please select some feed first."));
return;
}
var fn = getFeedName(actid);
-
- if (confirm("Unsubscribe from " + fn + "?")) {
+
+ var pr = __("Unsubscribe from %s?").replace("%s", fn);
+
+ if (confirm(pr)) {
qfdDelete(actid);
}
disableHotkeys();
if (!feed) {
- alert("Please select some feed first.");
+ alert(__("Please select some feed first."));
return;
}
if (feed <= 0 || activeFeedIsCat() || tagsAreDisplayed()) {
- alert("You can't edit this kind of feed.");
+ alert(__("You can't edit this kind of feed."));
return;
}