Skip to content

Commit

Permalink
remove duplicated strings, use ADF instead (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika authored Jan 2, 2019
1 parent dc9d314 commit 44f4285
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
7 changes: 1 addition & 6 deletions src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "Listenansichtsmodus"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Öffentlich",
"MODERATED": "Moderiert",
"PRIVATE": "Privat"
},
"SITES_ROLE": {
"MANAGER": "Manager",
"COLLABORATOR": "Mitarbeiter",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
5 changes: 0 additions & 5 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "List view mode"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Public",
"MODERATED": "Moderated",
"PRIVATE": "Private"
},
"SITES_ROLE": {
"MANAGER": "Manager",
"COLLABORATOR": "Collaborator",
Expand Down
7 changes: 1 addition & 6 deletions src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "Mode Liste"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Public",
"MODERATED": "Modéré",
"PRIVATE": "Liste privée"
},
"SITES_ROLE": {
"MANAGER": "Gestionnaire",
"COLLABORATOR": "Collaborateur",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "Modalità vista elenco"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Pubblico",
"MODERATED": "Moderato",
"PRIVATE": "Privato"
},
"SITES_ROLE": {
"MANAGER": "Manager",
"COLLABORATOR": "Collaboratore",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "一覧表示モード"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "公開",
"MODERATED": "条件付き公開",
"PRIVATE": "非公開"
},
"SITES_ROLE": {
"MANAGER": "マネージャ",
"COLLABORATOR": "共同作業者",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "Listevisningsmodus"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Offentlig",
"MODERATED": "Moderert",
"PRIVATE": "Privat"
},
"SITES_ROLE": {
"MANAGER": "Administrator",
"COLLABORATOR": "Medarbeider",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "Lijstweergavemodus"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Openbaar",
"MODERATED": "Onder toezicht",
"PRIVATE": "Privé"
},
"SITES_ROLE": {
"MANAGER": "Beheerder",
"COLLABORATOR": "Medewerker",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "Режим просмотра списка"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "Общедоступный",
"MODERATED": "Модерируемый",
"PRIVATE": "Частный"
},
"SITES_ROLE": {
"MANAGER": "Менеджер",
"COLLABORATOR": "Редактор",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}
7 changes: 1 addition & 6 deletions src/assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,6 @@
"LISTVIEW": "列表视图模式"
}
},
"SITES_VISIBILITY": {
"PUBLIC": "公共",
"MODERATED": "适中",
"PRIVATE": "私有"
},
"SITES_ROLE": {
"MANAGER": "管理员",
"COLLABORATOR": "合作者",
Expand Down Expand Up @@ -463,4 +458,4 @@
}
}
}
}
}

0 comments on commit 44f4285

Please sign in to comment.