Implementing Russian translation (with fixes)

This commit is contained in:
James Barnsley
2022-05-08 21:02:21 +12:00
parent a486832841
commit 1a4223a003
6 changed files with 48 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -140,7 +140,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1651999317";
var build = "1652000473";
var version = "3.62.0";
// Construct the script tag

View File

@ -8,6 +8,7 @@ import _ja from './ja.yaml';
import _pl from './pl.yaml';
import _it from './it.yaml';
import _es from './es.yaml';
import _ru from './ru.yaml';
// Merge languages with English. This provides English fallbacks to untranslated
// fields without breaking the UI (with blanks)
@ -27,6 +28,8 @@ const it = {};
merge(it, en, _it);
const es = {};
merge(es, en, _es);
const ru = {};
merge(ru, en, _ru);
const available = [
{ key: 'en', name: en.name },
@ -37,6 +40,7 @@ const available = [
{ key: 'ja', name: ja.name },
{ key: 'nl', name: nl.name },
{ key: 'pl', name: pl.name },
{ key: 'ru', name: ru.name },
{ key: 'sv', name: sv.name },
];
@ -50,6 +54,7 @@ export default {
ja,
pl,
it,
ru,
available,
};
@ -63,5 +68,6 @@ export {
ja,
pl,
it,
ru,
available,
};

View File

@ -4,7 +4,7 @@ name: Русский
# Common and reusable phrases
##
errors:
uri_not_found: 'URI% {uri} не распознан'
uri_not_found: 'URI% {uri} не распознан'
could_not_load: 'Не удалось загрузить %{name}'
could_not_load_library: 'Не удалось загрузить %{name} из %{provider}'
no_results: Ничего не найдено
@ -19,7 +19,7 @@ errors:
title: Невозможно изменить порядок элементов
description: Удалить сортировку/фильтры и повторить попытку
actions:
play: Играть
play: Играть
play_all: Воспроизвести все
play_next: Играть дальше
shuffle_play: Играть в случайном порядке
@ -48,7 +48,7 @@ actions:
saved: Сохранено %{name}
deleted: Удалено %{name}
common:
popularity: Популярность
popularity: Популярность
name: Имя
artist: Исполнитель
duration: Продолжительность