localization updates

master
Andrew Dolgov 17 years ago
parent ef1ac7c73a
commit f56e308090

@ -3856,6 +3856,10 @@
$feed_site_url = $qfh_ret[2]; $feed_site_url = $qfh_ret[2];
$last_error = $qfh_ret[3]; $last_error = $qfh_ret[3];
if ($feed == -2) {
$feed_site_url = article_publish_url($link);
}
/// STOP ////////////////////////////////////////////////////////////////////////////////// /// STOP //////////////////////////////////////////////////////////////////////////////////
if (!$offset) { if (!$offset) {
@ -4208,4 +4212,14 @@
return sha1(uniqid(rand(), true)); return sha1(uniqid(rand(), true));
} }
function article_publish_url($link) {
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
return $url_path;
}
?> ?>

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 1.0\n" "Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-07-17 11:17+0400\n" "POT-Creation-Date: 2007-08-10 12:23+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -140,152 +140,162 @@ msgid ""
"\t\tofficial site for more information." "\t\tofficial site for more information."
msgstr "" msgstr ""
#: functions.php:2203 functions.php:2242 functions.php:2559 functions.php:3294 #: functions.php:2239 functions.php:2278 functions.php:2602 functions.php:3384
#: functions.php:3324 modules/pref-feeds.php:890 #: functions.php:3414 modules/pref-feeds.php:890
msgid "Uncategorized" msgid "Uncategorized"
msgstr "Нет категории" msgstr "Нет категории"
#: functions.php:2232 functions.php:3142 #: functions.php:2268 functions.php:3224
msgid "Special" msgid "Special"
msgstr "Особые" msgstr "Особые"
#: functions.php:2234 functions.php:3168 #: functions.php:2270 functions.php:3258
msgid "Labels" msgid "Labels"
msgstr "Метки" msgstr "Метки"
#: functions.php:2252 functions.php:2581 functions.php:3152 #: functions.php:2288 functions.php:2624 functions.php:3235
msgid "Starred articles" msgid "Starred articles"
msgstr "Отмеченные статьи" msgstr "Отмеченные статьи"
#: functions.php:2545 functions.php:2547 #: functions.php:2290 functions.php:2626 functions.php:3242
#, fuzzy
msgid "Published articles"
msgstr "Отмеченные статьи"
#: functions.php:2588 functions.php:2590
msgid "Search results" msgid "Search results"
msgstr "Результаты поиска" msgstr "Результаты поиска"
#: functions.php:2563 functions.php:2576 functions.php:2589 #: functions.php:2606 functions.php:2619 functions.php:2634
msgid "Searched for" msgid "Searched for"
msgstr "Поиск" msgstr "Поиск"
#: functions.php:2809 #: functions.php:2857
msgid "New headlines for last 24 hours, as of " msgid "New headlines for last 24 hours, as of "
msgstr "Новые заголовки за последние 24 часа, на " msgstr "Новые заголовки за последние 24 часа, на "
#: functions.php:2853 #: functions.php:2901
msgid "" msgid ""
"You have been sent this email because you have enabled daily digests in Tiny " "You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at " "Tiny RSS at "
msgstr "" msgstr ""
#: functions.php:2855 #: functions.php:2903
msgid "" msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n" "To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr "" msgstr ""
#: functions.php:3034 functions.php:3069 modules/pref-feeds.php:615 #: functions.php:3109 functions.php:3151 functions.php:4049
#: modules/pref-feeds.php:852 modules/pref-filters.php:255 #: modules/pref-feeds.php:615 modules/pref-feeds.php:852
#: modules/pref-labels.php:234 modules/pref-users.php:208 #: modules/pref-filters.php:255 modules/pref-labels.php:234
#: modules/pref-users.php:208
msgid "Select:" msgid "Select:"
msgstr "Выбрать:" msgstr "Выбрать:"
#: functions.php:3035 functions.php:3070 modules/pref-feeds.php:616 #: functions.php:3110 functions.php:3152 modules/pref-feeds.php:616
#: modules/pref-feeds.php:853 modules/pref-filters.php:256 #: modules/pref-feeds.php:853 modules/pref-filters.php:256
#: modules/pref-labels.php:235 modules/pref-users.php:209 #: modules/pref-labels.php:235 modules/pref-users.php:209
msgid "All" msgid "All"
msgstr "Все" msgstr "Все"
#: functions.php:3036 functions.php:3040 functions.php:3071 functions.php:3074 #: functions.php:3111 functions.php:3115 functions.php:3153 functions.php:3156
#: tt-rss.php:172 #: tt-rss.php:172
msgid "Unread" msgid "Unread"
msgstr "Новые" msgstr "Новые"
#: functions.php:3037 functions.php:3072 modules/pref-feeds.php:617 #: functions.php:3112 functions.php:3154 modules/pref-feeds.php:617
#: modules/pref-feeds.php:854 modules/pref-filters.php:257 #: modules/pref-feeds.php:854 modules/pref-filters.php:257
#: modules/pref-labels.php:236 modules/pref-users.php:210 #: modules/pref-labels.php:236 modules/pref-users.php:210
msgid "None" msgid "None"
msgstr "Ничего" msgstr "Ничего"
#: functions.php:3041 functions.php:3075 tt-rss.php:171 #: functions.php:3116 functions.php:3157 tt-rss.php:171
msgid "Starred" msgid "Starred"
msgstr "Отмеченные" msgstr "Отмеченные"
#: functions.php:3043 #: functions.php:3117
msgid "Published"
msgstr ""
#: functions.php:3120
msgid "Mark as read" msgid "Mark as read"
msgstr "Как прочитанные" msgstr "Как прочитанные"
#: functions.php:3044 #: functions.php:3121
msgid "This page" msgid "This page"
msgstr "Эту страницу" msgstr "Эту страницу"
#: functions.php:3045 #: functions.php:3122
msgid "Entire feed" msgid "Entire feed"
msgstr "Весь канал" msgstr "Весь канал"
#: functions.php:3050 #: functions.php:3130
msgid "Next page" msgid "Next page"
msgstr "След. стр." msgstr "След. стр."
#: functions.php:3051 #: functions.php:3131
msgid "Previous page" msgid "Previous page"
msgstr "Пред. cтр." msgstr "Пред. cтр."
#: functions.php:3052 #: functions.php:3132
msgid "First page" msgid "First page"
msgstr "На первую" msgstr "На первую"
#: functions.php:3060 functions.php:3086 #: functions.php:3142 functions.php:3168
msgid "Convert to label" msgid "Convert to label"
msgstr "Превратить в метку" msgstr "Превратить в метку"
#: functions.php:3074 #: functions.php:3156
msgid "Toggle:" msgid "Toggle:"
msgstr "Изменить:" msgstr "Изменить:"
#: functions.php:3077 #: functions.php:3159
msgid "Mark as read:" msgid "Mark as read:"
msgstr "Пометить как прочит.:" msgstr "Пометить как прочит.:"
#: functions.php:3078 #: functions.php:3160
msgid "Page" msgid "Page"
msgstr "Страница" msgstr "Страница"
#: functions.php:3079 modules/pref-filters.php:263 #: functions.php:3161 modules/pref-filters.php:263
msgid "Feed" msgid "Feed"
msgstr "Канал" msgstr "Канал"
#: functions.php:3124 #: functions.php:3206
msgid "Generated feed" msgid "Generated feed"
msgstr "" msgstr ""
#: functions.php:3364 #: functions.php:3454
msgid "No feeds to display." msgid "No feeds to display."
msgstr "Нет каналов для отображения." msgstr "Нет каналов для отображения."
#: functions.php:3381 #: functions.php:3471
msgid "Tags" msgid "Tags"
msgstr "Теги" msgstr "Теги"
#: functions.php:3600 #: functions.php:3693
msgid " - by " msgid " - by "
msgstr ", автор - " msgstr ", автор - "
#: functions.php:3644 #: functions.php:3738
msgid "no tags" msgid "no tags"
msgstr "нет тегов" msgstr "нет тегов"
#: functions.php:3657 #: functions.php:3750
msgid "Tags:" msgid "Tags:"
msgstr "Теги:" msgstr "Теги:"
#: functions.php:3713 #: functions.php:3807
msgid "Feed not found." msgid "Feed not found."
msgstr "Канал не найден." msgstr "Канал не найден."
#: functions.php:3770 #: functions.php:3869
msgid "" msgid ""
"Could not display feed (query failed). Please check label match syntax or " "Could not display feed (query failed). Please check label match syntax or "
"local configuration." "local configuration."
msgstr "" msgstr ""
#: functions.php:3972 #: functions.php:4110
msgid "No articles found." msgid "No articles found."
msgstr "Статей не найдено." msgstr "Статей не найдено."
@ -297,7 +307,7 @@ msgstr "показать каналы"
msgid "display tags" msgid "display tags"
msgstr "показать теги" msgstr "показать теги"
#: localized_js.php:34 prefs.php:124 tt-rss.php:79 #: localized_js.php:34 prefs.php:126 tt-rss.php:79
msgid "Loading, please wait..." msgid "Loading, please wait..."
msgstr "Идет загрузка..." msgstr "Идет загрузка..."
@ -497,6 +507,18 @@ msgstr ""
msgid "No feed selected." msgid "No feed selected."
msgstr "Канал не выбран." msgstr "Канал не выбран."
#: localized_js.php:93
msgid "Replace current publishing address with a new one?"
msgstr ""
#: localized_js.php:94
msgid "Address changed."
msgstr ""
#: localized_js.php:95
msgid "Could not change address."
msgstr ""
#: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29 #: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29
msgid "Login:" msgid "Login:"
msgstr "Пользователь:" msgstr "Пользователь:"
@ -554,18 +576,23 @@ msgid "Other Feeds"
msgstr "Другие каналы" msgstr "Другие каналы"
#: prefs.php:112 #: prefs.php:112
#, fuzzy
msgid "Published Articles"
msgstr "Все статьи"
#: prefs.php:114
msgid "Content Filtering" msgid "Content Filtering"
msgstr "Фильтры" msgstr "Фильтры"
#: prefs.php:115 #: prefs.php:117
msgid "Label Editor" msgid "Label Editor"
msgstr "Метки" msgstr "Метки"
#: prefs.php:119 #: prefs.php:121
msgid "User Manager" msgid "User Manager"
msgstr "Пользователи" msgstr "Пользователи"
#: prefs.php:127 tt-rss.php:82 #: prefs.php:129 tt-rss.php:82
msgid "" msgid ""
"Your browser doesn't support Javascript, which is required\n" "Your browser doesn't support Javascript, which is required\n"
"\t\tfor this application to function properly. Please check your\n" "\t\tfor this application to function properly. Please check your\n"
@ -981,7 +1008,7 @@ msgid "Showing most popular tags "
msgstr "" msgstr ""
#: modules/popup-dialog.php:427 #: modules/popup-dialog.php:427
msgid "browse all" msgid "browse more"
msgstr "" msgstr ""
#: modules/pref-feed-browser.php:77 #: modules/pref-feed-browser.php:77
@ -1148,6 +1175,16 @@ msgstr "Импортировать"
msgid "Export OPML" msgid "Export OPML"
msgstr "Экспортировать OPML" msgstr "Экспортировать OPML"
#: modules/pref-feeds.php:1053
msgid ""
"Published articles are exported as a public RSS feed and can be subscribed "
"by anyone who knows the address specified below."
msgstr ""
#: modules/pref-feeds.php:1060
msgid "Generate another address"
msgstr ""
#: modules/pref-filters.php:22 #: modules/pref-filters.php:22
msgid "Filter editor" msgid "Filter editor"
msgstr "Редактор фильтров" msgstr "Редактор фильтров"

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Tiny Tiny RSS1.0\n" "Project-Id-Version: Tiny Tiny RSS1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-07-17 11:17+0400\n" "POT-Creation-Date: 2007-08-10 12:23+0400\n"
"PO-Revision-Date: 2007-06-10 11:56+0800\n" "PO-Revision-Date: 2007-06-10 11:56+0800\n"
"Last-Translator: sluke <sluke520@yahoo.com.cn>\n" "Last-Translator: sluke <sluke520@yahoo.com.cn>\n"
"Language-Team: hicode.org <sluke520@yahoo.com.cn>\n" "Language-Team: hicode.org <sluke520@yahoo.com.cn>\n"
@ -141,152 +141,162 @@ msgstr ""
"不支持你的MySQL版本. 请访问 \n" "不支持你的MySQL版本. 请访问 \n"
"\t\t官方网站获取更多信息。" "\t\t官方网站获取更多信息。"
#: functions.php:2203 functions.php:2242 functions.php:2559 functions.php:3294 #: functions.php:2239 functions.php:2278 functions.php:2602 functions.php:3384
#: functions.php:3324 modules/pref-feeds.php:890 #: functions.php:3414 modules/pref-feeds.php:890
msgid "Uncategorized" msgid "Uncategorized"
msgstr "未分类" msgstr "未分类"
#: functions.php:2232 functions.php:3142 #: functions.php:2268 functions.php:3224
msgid "Special" msgid "Special"
msgstr "专用" msgstr "专用"
#: functions.php:2234 functions.php:3168 #: functions.php:2270 functions.php:3258
msgid "Labels" msgid "Labels"
msgstr "标记" msgstr "标记"
#: functions.php:2252 functions.php:2581 functions.php:3152 #: functions.php:2288 functions.php:2624 functions.php:3235
msgid "Starred articles" msgid "Starred articles"
msgstr "星级文章" msgstr "星级文章"
#: functions.php:2545 functions.php:2547 #: functions.php:2290 functions.php:2626 functions.php:3242
#, fuzzy
msgid "Published articles"
msgstr "星级文章"
#: functions.php:2588 functions.php:2590
msgid "Search results" msgid "Search results"
msgstr "搜索结果" msgstr "搜索结果"
#: functions.php:2563 functions.php:2576 functions.php:2589 #: functions.php:2606 functions.php:2619 functions.php:2634
msgid "Searched for" msgid "Searched for"
msgstr "搜索" msgstr "搜索"
#: functions.php:2809 #: functions.php:2857
msgid "New headlines for last 24 hours, as of " msgid "New headlines for last 24 hours, as of "
msgstr "24小时最新头条,截至" msgstr "24小时最新头条,截至"
#: functions.php:2853 #: functions.php:2901
msgid "" msgid ""
"You have been sent this email because you have enabled daily digests in Tiny " "You have been sent this email because you have enabled daily digests in Tiny "
"Tiny RSS at " "Tiny RSS at "
msgstr "由于您启用了Tiny Tiny RSS每日文摘会收到此邮件。" msgstr "由于您启用了Tiny Tiny RSS每日文摘会收到此邮件。"
#: functions.php:2855 #: functions.php:2903
msgid "" msgid ""
"To unsubscribe, visit your configuration options or contact instance owner.\n" "To unsubscribe, visit your configuration options or contact instance owner.\n"
msgstr "若要退订,访问你的配置选项或联络管理员。\n" msgstr "若要退订,访问你的配置选项或联络管理员。\n"
#: functions.php:3034 functions.php:3069 modules/pref-feeds.php:615 #: functions.php:3109 functions.php:3151 functions.php:4049
#: modules/pref-feeds.php:852 modules/pref-filters.php:255 #: modules/pref-feeds.php:615 modules/pref-feeds.php:852
#: modules/pref-labels.php:234 modules/pref-users.php:208 #: modules/pref-filters.php:255 modules/pref-labels.php:234
#: modules/pref-users.php:208
msgid "Select:" msgid "Select:"
msgstr "选择:" msgstr "选择:"
#: functions.php:3035 functions.php:3070 modules/pref-feeds.php:616 #: functions.php:3110 functions.php:3152 modules/pref-feeds.php:616
#: modules/pref-feeds.php:853 modules/pref-filters.php:256 #: modules/pref-feeds.php:853 modules/pref-filters.php:256
#: modules/pref-labels.php:235 modules/pref-users.php:209 #: modules/pref-labels.php:235 modules/pref-users.php:209
msgid "All" msgid "All"
msgstr "所有" msgstr "所有"
#: functions.php:3036 functions.php:3040 functions.php:3071 functions.php:3074 #: functions.php:3111 functions.php:3115 functions.php:3153 functions.php:3156
#: tt-rss.php:172 #: tt-rss.php:172
msgid "Unread" msgid "Unread"
msgstr "未读" msgstr "未读"
#: functions.php:3037 functions.php:3072 modules/pref-feeds.php:617 #: functions.php:3112 functions.php:3154 modules/pref-feeds.php:617
#: modules/pref-feeds.php:854 modules/pref-filters.php:257 #: modules/pref-feeds.php:854 modules/pref-filters.php:257
#: modules/pref-labels.php:236 modules/pref-users.php:210 #: modules/pref-labels.php:236 modules/pref-users.php:210
msgid "None" msgid "None"
msgstr "无" msgstr "无"
#: functions.php:3041 functions.php:3075 tt-rss.php:171 #: functions.php:3116 functions.php:3157 tt-rss.php:171
msgid "Starred" msgid "Starred"
msgstr "星级" msgstr "星级"
#: functions.php:3043 #: functions.php:3117
msgid "Published"
msgstr ""
#: functions.php:3120
msgid "Mark as read" msgid "Mark as read"
msgstr "标记为已读" msgstr "标记为已读"
#: functions.php:3044 #: functions.php:3121
msgid "This page" msgid "This page"
msgstr "本页" msgstr "本页"
#: functions.php:3045 #: functions.php:3122
msgid "Entire feed" msgid "Entire feed"
msgstr "输入feed" msgstr "输入feed"
#: functions.php:3050 #: functions.php:3130
msgid "Next page" msgid "Next page"
msgstr "下页" msgstr "下页"
#: functions.php:3051 #: functions.php:3131
msgid "Previous page" msgid "Previous page"
msgstr "上页" msgstr "上页"
#: functions.php:3052 #: functions.php:3132
msgid "First page" msgid "First page"
msgstr "首页" msgstr "首页"
#: functions.php:3060 functions.php:3086 #: functions.php:3142 functions.php:3168
msgid "Convert to label" msgid "Convert to label"
msgstr "转换标签" msgstr "转换标签"
#: functions.php:3074 #: functions.php:3156
msgid "Toggle:" msgid "Toggle:"
msgstr "触发:" msgstr "触发:"
#: functions.php:3077 #: functions.php:3159
msgid "Mark as read:" msgid "Mark as read:"
msgstr "标记为已读:" msgstr "标记为已读:"
#: functions.php:3078 #: functions.php:3160
msgid "Page" msgid "Page"
msgstr "页" msgstr "页"
#: functions.php:3079 modules/pref-filters.php:263 #: functions.php:3161 modules/pref-filters.php:263
msgid "Feed" msgid "Feed"
msgstr "Feed" msgstr "Feed"
#: functions.php:3124 #: functions.php:3206
msgid "Generated feed" msgid "Generated feed"
msgstr "产生feed" msgstr "产生feed"
#: functions.php:3364 #: functions.php:3454
msgid "No feeds to display." msgid "No feeds to display."
msgstr "无feed显示。" msgstr "无feed显示。"
#: functions.php:3381 #: functions.php:3471
msgid "Tags" msgid "Tags"
msgstr "标签" msgstr "标签"
#: functions.php:3600 #: functions.php:3693
msgid " - by " msgid " - by "
msgstr ", 由 - " msgstr ", 由 - "
#: functions.php:3644 #: functions.php:3738
msgid "no tags" msgid "no tags"
msgstr "无标签" msgstr "无标签"
#: functions.php:3657 #: functions.php:3750
msgid "Tags:" msgid "Tags:"
msgstr "标签:" msgstr "标签:"
#: functions.php:3713 #: functions.php:3807
msgid "Feed not found." msgid "Feed not found."
msgstr "未找到Feed." msgstr "未找到Feed."
#: functions.php:3770 #: functions.php:3869
msgid "" msgid ""
"Could not display feed (query failed). Please check label match syntax or " "Could not display feed (query failed). Please check label match syntax or "
"local configuration." "local configuration."
msgstr "无法显示feed(查询失败); 请核对标签匹配语法或本地配置." msgstr "无法显示feed(查询失败); 请核对标签匹配语法或本地配置."
#: functions.php:3972 #: functions.php:4110
msgid "No articles found." msgid "No articles found."
msgstr "未找到文章。" msgstr "未找到文章。"
@ -298,7 +308,7 @@ msgstr "显示Feed"
msgid "display tags" msgid "display tags"
msgstr "显示标签" msgstr "显示标签"
#: localized_js.php:34 prefs.php:124 tt-rss.php:79 #: localized_js.php:34 prefs.php:126 tt-rss.php:79
msgid "Loading, please wait..." msgid "Loading, please wait..."
msgstr "读取中,请等待..." msgstr "读取中,请等待..."
@ -498,6 +508,19 @@ msgstr "显示条目失败缺少XML支持"
msgid "No feed selected." msgid "No feed selected."
msgstr "无选定feed." msgstr "无选定feed."
#: localized_js.php:93
msgid "Replace current publishing address with a new one?"
msgstr ""
#: localized_js.php:94
msgid "Address changed."
msgstr ""
#: localized_js.php:95
#, fuzzy
msgid "Could not change address."
msgstr "未能更新数据库"
#: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29 #: login_form.php:49 modules/pref-feeds.php:264 modules/pref-users.php:29
msgid "Login:" msgid "Login:"
msgstr "登陆:" msgstr "登陆:"
@ -555,18 +578,23 @@ msgid "Other Feeds"
msgstr "其他feed" msgstr "其他feed"
#: prefs.php:112 #: prefs.php:112
#, fuzzy
msgid "Published Articles"
msgstr "所有文章"
#: prefs.php:114
msgid "Content Filtering" msgid "Content Filtering"
msgstr "内容过滤器" msgstr "内容过滤器"
#: prefs.php:115 #: prefs.php:117
msgid "Label Editor" msgid "Label Editor"
msgstr "标记编辑" msgstr "标记编辑"
#: prefs.php:119 #: prefs.php:121
msgid "User Manager" msgid "User Manager"
msgstr "用户管理" msgstr "用户管理"
#: prefs.php:127 tt-rss.php:82 #: prefs.php:129 tt-rss.php:82
msgid "" msgid ""
"Your browser doesn't support Javascript, which is required\n" "Your browser doesn't support Javascript, which is required\n"
"\t\tfor this application to function properly. Please check your\n" "\t\tfor this application to function properly. Please check your\n"
@ -998,7 +1026,8 @@ msgid "Showing most popular tags "
msgstr "显示最热标签" msgstr "显示最热标签"
#: modules/popup-dialog.php:427 #: modules/popup-dialog.php:427
msgid "browse all" #, fuzzy
msgid "browse more"
msgstr "浏览所有" msgstr "浏览所有"
#: modules/pref-feed-browser.php:77 #: modules/pref-feed-browser.php:77
@ -1165,6 +1194,16 @@ msgstr "导入"
msgid "Export OPML" msgid "Export OPML"
msgstr "导出OPML" msgstr "导出OPML"
#: modules/pref-feeds.php:1053
msgid ""
"Published articles are exported as a public RSS feed and can be subscribed "
"by anyone who knows the address specified below."
msgstr ""
#: modules/pref-feeds.php:1060
msgid "Generate another address"
msgstr ""
#: modules/pref-filters.php:22 #: modules/pref-filters.php:22
msgid "Filter editor" msgid "Filter editor"
msgstr "过滤器编辑" msgstr "过滤器编辑"

@ -90,5 +90,8 @@ print T_js_decl("No articles are selected.");
print T_js_decl("Could not update headlines (missing XML object)"); print T_js_decl("Could not update headlines (missing XML object)");
print T_js_decl("Could not display article (missing XML object)"); print T_js_decl("Could not display article (missing XML object)");
print T_js_decl("No feed selected."); print T_js_decl("No feed selected.");
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.");
?> ?>

@ -307,10 +307,7 @@
set_pref($link, "_PREFS_PUBLISH_KEY", generate_publish_key()); set_pref($link, "_PREFS_PUBLISH_KEY", generate_publish_key());
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \ $new_link = article_publish_url($link);
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$new_link = $url_path . "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
print "<link><![CDATA[$new_link]]></link>"; print "<link><![CDATA[$new_link]]></link>";

@ -1052,10 +1052,7 @@
print "<p>".__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the address specified below.')."</p>"; print "<p>".__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the address specified below.')."</p>";
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \ $url_path = article_publish_url($link);
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
print "<p class=\"small\"><a id=\"pubGenAddress\" target=\"_new\" href=\"$url_path\">$url_path</a></p>"; print "<p class=\"small\"><a id=\"pubGenAddress\" target=\"_new\" href=\"$url_path\">$url_path</a></p>";

@ -29,13 +29,13 @@ function replace_pubkey_callback() {
link.href = new_link.firstChild.nodeValue; link.href = new_link.firstChild.nodeValue;
link.innerHTML = new_link.firstChild.nodeValue; link.innerHTML = new_link.firstChild.nodeValue;
notify_info("Address changed"); notify_info("Address changed.");
} else { } else {
notify_error("Could not change address"); notify_error("Could not change address.");
} }
} else { } else {
notify_error("Could not change address"); notify_error("Could not change address.");
} }
} catch (e) { } catch (e) {
exception_error("replace_pubkey_callback", e); exception_error("replace_pubkey_callback", e);
@ -535,7 +535,7 @@ function removeSelectedLabels() {
if (sel_rows.length > 0) { if (sel_rows.length > 0) {
var ok = confirm("Remove selected labels?"); var ok = confirm(__("Remove selected labels?"));
if (ok) { if (ok) {
notify_progress("Removing selected labels..."); notify_progress("Removing selected labels...");
@ -563,7 +563,7 @@ function removeSelectedUsers() {
if (sel_rows.length > 0) { if (sel_rows.length > 0) {
var ok = confirm("Remove selected users?"); var ok = confirm(__("Remove selected users?"));
if (ok) { if (ok) {
notify_progress("Removing selected users..."); notify_progress("Removing selected users...");
@ -592,7 +592,7 @@ function removeSelectedFilters() {
if (sel_rows.length > 0) { if (sel_rows.length > 0) {
var ok = confirm("Remove selected filters?"); var ok = confirm(__("Remove selected filters?"));
if (ok) { if (ok) {
notify_progress("Removing selected filters..."); notify_progress("Removing selected filters...");
@ -621,7 +621,7 @@ function removeSelectedFeeds() {
if (sel_rows.length > 0) { if (sel_rows.length > 0) {
var ok = confirm("Unsubscribe from selected feeds?"); var ok = confirm(__("Unsubscribe from selected feeds?"));
if (ok) { if (ok) {
@ -653,7 +653,7 @@ function removeSelectedFeedCats() {
if (sel_rows.length > 0) { if (sel_rows.length > 0) {
var ok = confirm("Remove selected categories?"); var ok = confirm(__("Remove selected categories?"));
if (ok) { if (ok) {
notify_progress("Removing selected categories..."); notify_progress("Removing selected categories...");
@ -1764,7 +1764,7 @@ function pubRegenKey() {
return false; return false;
} }
var ok = confirm("Replace current publishing address with a new one?"); var ok = confirm(__("Replace current publishing address with a new one?"));
if (ok) { if (ok) {

Loading…
Cancel
Save