Skip to content

Commit

Permalink
fix: Update translate
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed Mar 7, 2019
1 parent 179facb commit 72dde2a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions libs/rucken/ionic/src/i18n/ru.i18n.ts
Expand Up @@ -13,6 +13,7 @@ export const RuI18n = {
Users: 'Пользователи',
'Groups filters': 'Фильтры групп',
'Profile updated': 'Профиль обновлен',
None: 'Нет',
Groups: 'Группы',
Username: 'Имя пользователя',
Administrator: 'Администратор',
Expand All @@ -29,5 +30,6 @@ export const RuI18n = {
'Do you really want to leave?': 'Вы действительно хотите выйти?',
OK: 'Ок',
'Error Log': 'Ошибка',
About: 'О приложении',
'Sign in': 'Войти'
};
6 changes: 6 additions & 0 deletions libs/rucken/ionic/src/i18n/ru.po
Expand Up @@ -54,6 +54,9 @@ msgstr "Фильтры групп"
msgid "Profile updated"
msgstr "Профиль обновлен"

msgid "None"
msgstr "Нет"

msgid "Groups"
msgstr "Группы"

Expand Down Expand Up @@ -102,5 +105,8 @@ msgstr "Ок"
msgid "Error Log"
msgstr "Ошибка"

msgid "About"
msgstr "О приложении"

msgid "Sign in"
msgstr "Войти"
3 changes: 3 additions & 0 deletions libs/rucken/ionic/src/i18n/template.pot
Expand Up @@ -46,6 +46,9 @@ msgstr ""
msgid "Profile updated"
msgstr ""

msgid "None"
msgstr ""

msgid "Groups"
msgstr ""

Expand Down
@@ -1,5 +1,5 @@
import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';
import { BasePromptFormModalComponent, Group } from '@rucken/core';
import { BasePromptFormModalComponent, Group, translate } from '@rucken/core';
import { plainToClass } from 'class-transformer';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
Expand Down Expand Up @@ -36,7 +36,7 @@ export class UsersListFiltersModalComponent extends
Group,
{
id: '',
title: 'None'
title: translate('None')
}
)
);
Expand Down

0 comments on commit 72dde2a

Please sign in to comment.