Fix a couple of translation issues, and remove the test French translation files.

This commit is contained in:
Dave Page
2017-03-08 10:13:15 +00:00
parent 981ebfbcf7
commit fb44ffffa0
8 changed files with 16 additions and 8657 deletions

View File

@@ -79,6 +79,7 @@ HELP_PATH = '../../../docs/en_US/_build/html/'
# Languages we support in the UI
LANGUAGES = {
'en': 'English',
'pl': 'Polish',
'zh': 'Chinese (Simplified)'
}

View File

@@ -209,7 +209,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
alertify.confirm(
'{{ _('Reset statistics') }}',
S('{{ _('Are you sure you want to reset the statistics for table %%s?') }}').sprintf(d._label).value(),
S('{{ _('Are you sure you want to reset the statistics for table %s?') }}').sprintf(d._label).value(),
function (e) {
if (e) {
var data = d;

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-03-07 11:19+0000\n"
"POT-Creation-Date: 2017-03-08 10:10+0000\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"
@@ -3436,7 +3436,7 @@ msgstr ""
#: pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js:212
#, python-format
msgid "Are you sure you want to reset the statistics for table %%s?"
msgid "Are you sure you want to reset the statistics for table %s?"
msgstr ""
#: pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js:332
@@ -7944,12 +7944,12 @@ msgid "Font size"
msgstr ""
#: pgadmin/tools/sqleditor/__init__.py:129
#, python-format
msgid ""
"The font size to use for the SQL text boxes and editors. The value "
"specified is in \"em\" units, in which 1 is the default relative font "
"size. For example, to increase the font size by 20% use a value of 1.2, "
"or to reduce by 20%, use a value of 0.8. Minimum 0.1, maximum 10."
"size. For example, to increase the font size by 20 percent use a value of"
" 1.2, or to reduce by 20 percent, use a value of 0.8. Minimum 0.1, "
"maximum 10."
msgstr ""
#: pgadmin/tools/sqleditor/__init__.py:137

View File

@@ -128,8 +128,8 @@ class SqlEditorModule(PgAdminModule):
category_label=gettext('Display'),
help_str=gettext('The font size to use for the SQL text boxes and editors. '
'The value specified is in "em" units, in which 1 is the default relative font size. '
'For example, to increase the font size by 20% use a value of 1.2, or to reduce by 20%, '
'use a value of 0.8. Minimum 0.1, maximum 10.')
'For example, to increase the font size by 20 percent use a value of 1.2, or to reduce '
'by 20 percent, use a value of 0.8. Minimum 0.1, maximum 10.')
)
self.tab_size = self.preference.register(

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-03-07 11:19+0000\n"
"POT-Creation-Date: 2017-03-08 10:10+0000\n"
"PO-Revision-Date: 2017-11-14 23:55+0800\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: zh_Hans_CN <LL@li.org>\n"
@@ -303,7 +303,7 @@ msgid "Named restore point created: {0}"
msgstr "命名还原点已创建: {0}"
#: pgadmin/browser/server_groups/servers/__init__.py:961
#, fuzzy, python-format
#, fuzzy
msgid "Could not find the required parameter(s)."
msgstr "找不到所需的参数 (%s)"
@@ -3483,7 +3483,7 @@ msgstr "重置统计"
#: pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js:212
#, fuzzy, python-format
msgid "Are you sure you want to reset the statistics for table %%s?"
msgid "Are you sure you want to reset the statistics for table %s?"
msgstr "你确实要重置表 %s的统计信息"
#: pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/table/js/table.js:332
@@ -8105,12 +8105,13 @@ msgid "Font size"
msgstr "字体大小"
#: pgadmin/tools/sqleditor/__init__.py:129
#, python-format
#, fuzzy, python-format
msgid ""
"The font size to use for the SQL text boxes and editors. The value "
"specified is in \"em\" units, in which 1 is the default relative font "
"size. For example, to increase the font size by 20% use a value of 1.2, "
"or to reduce by 20%, use a value of 0.8. Minimum 0.1, maximum 10."
"size. For example, to increase the font size by 20 percent use a value of"
" 1.2, or to reduce by 20 percent, use a value of 0.8. Minimum 0.1, "
"maximum 10."
msgstr ""
"用于SQL文本框和编辑器的字体大小。 指定的值以\"em\"为单位其中1是默认的相对字体大小。 例如要将字体大小增加20% "
"请使用值1.2,或者减少 20% 使用值0.8。 最小0.1最大10。"