From a0e11f7a96d2728f53e7343a1700b5a885cafc72 Mon Sep 17 00:00:00 2001 From: kunw Date: Wed, 29 Jun 2016 14:19:20 +0800 Subject: [PATCH] update for some i18n words translations. --- .../replication/create-policy.directive.html | 2 +- .../list-replication.directive.html | 2 +- .../repository/list-repository.directive.html | 36 ++++++++++--------- .../replication.directive.html | 2 +- .../js/services/i18n/locale_messages_en-US.js | 4 +-- .../js/services/i18n/locale_messages_zh-CN.js | 3 +- 6 files changed, 26 insertions(+), 23 deletions(-) diff --git a/static/resources/js/components/replication/create-policy.directive.html b/static/resources/js/components/replication/create-policy.directive.html index 5decf7ccb..a78c7d069 100644 --- a/static/resources/js/components/replication/create-policy.directive.html +++ b/static/resources/js/components/replication/create-policy.directive.html @@ -92,7 +92,7 @@ diff --git a/static/resources/js/components/replication/list-replication.directive.html b/static/resources/js/components/replication/list-replication.directive.html index 07317480b..450823dab 100644 --- a/static/resources/js/components/replication/list-replication.directive.html +++ b/static/resources/js/components/replication/list-replication.directive.html @@ -28,7 +28,7 @@ - + diff --git a/static/resources/js/components/repository/list-repository.directive.html b/static/resources/js/components/repository/list-repository.directive.html index 4c623e09a..0996bfd6b 100644 --- a/static/resources/js/components/repository/list-repository.directive.html +++ b/static/resources/js/components/repository/list-repository.directive.html @@ -1,4 +1,4 @@ -
+
@@ -8,24 +8,26 @@
-
-

// 'no_repositories' | tr //

-
-
-
- -
-
\ No newline at end of file diff --git a/static/resources/js/components/system-management/replication.directive.html b/static/resources/js/components/system-management/replication.directive.html index ab12f1af9..3efa640c4 100644 --- a/static/resources/js/components/system-management/replication.directive.html +++ b/static/resources/js/components/system-management/replication.directive.html @@ -28,7 +28,7 @@

// 'no_replication_policies' | tr //

// 'no_replication_policies_add_new' | tr //

//r.name//
- + diff --git a/static/resources/js/services/i18n/locale_messages_en-US.js b/static/resources/js/services/i18n/locale_messages_en-US.js index 1827ada4d..838fc5150 100644 --- a/static/resources/js/services/i18n/locale_messages_en-US.js +++ b/static/resources/js/services/i18n/locale_messages_en-US.js @@ -154,8 +154,8 @@ var locale_messages = { 'logs' : 'Logs', 'enabled': 'Enabled', 'disabled': 'Disabled', - 'no_replication_policies': 'No replication policies, add new replication policy.', - 'no_replications': 'No replications.', + 'no_replication_policies_add_new': 'No replication policies, add new replication policy.', + 'no_replication_policies': 'No replication policies.', 'no_replication_jobs': 'No replication jobs.', 'no_destinations': 'No destinations, add new destination.', 'name_is_required': 'Name is required.', diff --git a/static/resources/js/services/i18n/locale_messages_zh-CN.js b/static/resources/js/services/i18n/locale_messages_zh-CN.js index c6dff75e7..6dc856aeb 100644 --- a/static/resources/js/services/i18n/locale_messages_zh-CN.js +++ b/static/resources/js/services/i18n/locale_messages_zh-CN.js @@ -152,7 +152,8 @@ var locale_messages = { 'logs': '日志', 'enabled': '启用', 'disabled': '停用', - 'no_replication_policies': '没有复制策略,请新增复制策略。', + 'no_replication_policies_add_new': '没有复制策略,请新增复制策略。', + 'no_replication_policies': '没有复制策略。', 'no_replications': '没有复制策略。', 'no_replication_jobs': '没有复制任务。', 'no_destinations': '没有目标设置,请新增目标。',

// 'no_replications' | tr //

// 'no_replication_policies' | tr //

//r.name//