From 676c2c4e04e93d325b6500be4ffcd86327534510 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 2 Jan 2019 14:00:06 +0000 Subject: [PATCH] remove duplicated strings, use ADF instead --- .../library-status-column.component.ts | 6 +++--- src/assets/i18n/de.json | 7 +------ src/assets/i18n/en.json | 5 ----- src/assets/i18n/es.json | 7 +------ src/assets/i18n/fr.json | 7 +------ src/assets/i18n/it.json | 7 +------ src/assets/i18n/ja.json | 7 +------ src/assets/i18n/nb.json | 7 +------ src/assets/i18n/nl.json | 7 +------ src/assets/i18n/pt-BR.json | 7 +------ src/assets/i18n/ru.json | 7 +------ src/assets/i18n/zh-CN.json | 7 +------ 12 files changed, 13 insertions(+), 68 deletions(-) diff --git a/src/app/components/common/library-status-column/library-status-column.component.ts b/src/app/components/common/library-status-column/library-status-column.component.ts index 081f35e0f8..b7b688d8bf 100644 --- a/src/app/components/common/library-status-column/library-status-column.component.ts +++ b/src/app/components/common/library-status-column/library-status-column.component.ts @@ -46,13 +46,13 @@ export class LibraryStatusColumnComponent implements OnInit { switch (visibility.toUpperCase()) { case 'PUBLIC': - this.displayText = 'APP.SITES_VISIBILITY.PUBLIC'; + this.displayText = 'LIBRARY.VISIBILITY.PUBLIC'; break; case 'PRIVATE': - this.displayText = 'APP.SITES_VISIBILITY.PRIVATE'; + this.displayText = 'LIBRARY.VISIBILITY.PRIVATE'; break; case 'MODERATED': - this.displayText = 'APP.SITES_VISIBILITY.MODERATED'; + this.displayText = 'LIBRARY.VISIBILITY.MODERATED'; break; default: this.displayText = 'UNKNOWN'; diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index a19c0a06d3..a8425d51ed 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -238,11 +238,6 @@ "LISTVIEW": "Listenansichtsmodus" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Öffentlich", - "MODERATED": "Moderiert", - "PRIVATE": "Privat" - }, "SITES_ROLE": { "MANAGER": "Manager", "COLLABORATOR": "Mitarbeiter", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 06e5eac9dc..d06b44248a 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -238,11 +238,6 @@ "LISTVIEW": "List view mode" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Public", - "MODERATED": "Moderated", - "PRIVATE": "Private" - }, "SITES_ROLE": { "MANAGER": "Manager", "COLLABORATOR": "Collaborator", diff --git a/src/assets/i18n/es.json b/src/assets/i18n/es.json index f88a7ad6ff..a6acfb8335 100644 --- a/src/assets/i18n/es.json +++ b/src/assets/i18n/es.json @@ -238,11 +238,6 @@ "LISTVIEW": "Modo de vista de lista" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Público", - "MODERATED": "Moderado", - "PRIVATE": "Lista privada" - }, "SITES_ROLE": { "MANAGER": "Administrador", "COLLABORATOR": "Colaborador", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/fr.json b/src/assets/i18n/fr.json index 5b3533f766..80da7a2b11 100644 --- a/src/assets/i18n/fr.json +++ b/src/assets/i18n/fr.json @@ -238,11 +238,6 @@ "LISTVIEW": "Mode Liste" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Public", - "MODERATED": "Modéré", - "PRIVATE": "Liste privée" - }, "SITES_ROLE": { "MANAGER": "Gestionnaire", "COLLABORATOR": "Collaborateur", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/it.json b/src/assets/i18n/it.json index 162d5c1949..f47f0b5535 100644 --- a/src/assets/i18n/it.json +++ b/src/assets/i18n/it.json @@ -238,11 +238,6 @@ "LISTVIEW": "Modalità vista elenco" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Pubblico", - "MODERATED": "Moderato", - "PRIVATE": "Privato" - }, "SITES_ROLE": { "MANAGER": "Manager", "COLLABORATOR": "Collaboratore", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/ja.json b/src/assets/i18n/ja.json index bfff9b4fa1..66b979d009 100644 --- a/src/assets/i18n/ja.json +++ b/src/assets/i18n/ja.json @@ -238,11 +238,6 @@ "LISTVIEW": "一覧表示モード" } }, - "SITES_VISIBILITY": { - "PUBLIC": "公開", - "MODERATED": "条件付き公開", - "PRIVATE": "非公開" - }, "SITES_ROLE": { "MANAGER": "マネージャ", "COLLABORATOR": "共同作業者", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/nb.json b/src/assets/i18n/nb.json index df283f3c50..8c1fb4ef3a 100644 --- a/src/assets/i18n/nb.json +++ b/src/assets/i18n/nb.json @@ -238,11 +238,6 @@ "LISTVIEW": "Listevisningsmodus" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Offentlig", - "MODERATED": "Moderert", - "PRIVATE": "Privat" - }, "SITES_ROLE": { "MANAGER": "Administrator", "COLLABORATOR": "Medarbeider", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/nl.json b/src/assets/i18n/nl.json index 911747adbb..144e0f6653 100644 --- a/src/assets/i18n/nl.json +++ b/src/assets/i18n/nl.json @@ -238,11 +238,6 @@ "LISTVIEW": "Lijstweergavemodus" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Openbaar", - "MODERATED": "Onder toezicht", - "PRIVATE": "Privé" - }, "SITES_ROLE": { "MANAGER": "Beheerder", "COLLABORATOR": "Medewerker", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/pt-BR.json b/src/assets/i18n/pt-BR.json index e8b2cdbeed..220ab6240c 100644 --- a/src/assets/i18n/pt-BR.json +++ b/src/assets/i18n/pt-BR.json @@ -238,11 +238,6 @@ "LISTVIEW": "Modo de exibição em lista" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Público", - "MODERATED": "Moderado", - "PRIVATE": "Privado" - }, "SITES_ROLE": { "MANAGER": "Gerente", "COLLABORATOR": "Colaborador", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/ru.json b/src/assets/i18n/ru.json index b0aa652d2a..ef8688d57c 100644 --- a/src/assets/i18n/ru.json +++ b/src/assets/i18n/ru.json @@ -238,11 +238,6 @@ "LISTVIEW": "Режим просмотра списка" } }, - "SITES_VISIBILITY": { - "PUBLIC": "Общедоступный", - "MODERATED": "Модерируемый", - "PRIVATE": "Частный" - }, "SITES_ROLE": { "MANAGER": "Менеджер", "COLLABORATOR": "Редактор", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/assets/i18n/zh-CN.json b/src/assets/i18n/zh-CN.json index 77105732cb..e483ffc543 100644 --- a/src/assets/i18n/zh-CN.json +++ b/src/assets/i18n/zh-CN.json @@ -238,11 +238,6 @@ "LISTVIEW": "列表视图模式" } }, - "SITES_VISIBILITY": { - "PUBLIC": "公共", - "MODERATED": "适中", - "PRIVATE": "私有" - }, "SITES_ROLE": { "MANAGER": "管理员", "COLLABORATOR": "合作者", @@ -463,4 +458,4 @@ } } } -} \ No newline at end of file +}