From 57e06a0c59e236fb64d6d182d92c660b5a33e83b Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Sun, 19 Feb 2017 17:54:02 +0100 Subject: [PATCH] [TASK] Update languages, add russian --- README.md | 2 +- config.json | 3 +- locale/de.json | 2 +- locale/en.json | 2 +- locale/fr.json | 2 +- locale/ru.json | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 locale/ru.json diff --git a/README.md b/README.md index 0ae8fb4..f948cfb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ _Some similar features might have been implemented/merged_ - Zoom level for a node (`nodeZoom`) - Zoom level 22 available, but it is to close for a click - Formatted Code - Translation support - https://crowdin.com/project/meshviewer - Contact us for new languages - - Currently available: en, de & fr + - Currently available: en, de, fr & ru - Grunt inline for some css and js - less requests - Icon font with needed icons only - Grunt upgraded to v1.x (Tested with Node.js 4/6 LTS, 7 on Linux, 7 OSX & W**) diff --git a/config.json b/config.json index 8d73e5e..09cc5f5 100644 --- a/config.json +++ b/config.json @@ -125,7 +125,8 @@ "supportedLocale": [ "en", "de", - "fr" + "fr", + "ru" ], "cacheBreaker": "y0z" } diff --git a/locale/de.json b/locale/de.json index fcfdc32..53ddbb9 100644 --- a/locale/de.json +++ b/locale/de.json @@ -6,7 +6,7 @@ "links": "Verbindungen", "clients": "Nutzer", "distance": "Entfernung", - "tq": "TQ", + "tq": "Übertragungsqualität", "lastOnline": "online, letzte Nachricht %{time} (%{date})", "lastOffline": "offline, letzte Nachricht %{time} (%{date})", "activated": "aktiviert (%{branch})", diff --git a/locale/en.json b/locale/en.json index 977c4e7..9452ff3 100644 --- a/locale/en.json +++ b/locale/en.json @@ -6,7 +6,7 @@ "links": "Links", "clients": "Clients", "distance": "Distance", - "tq": "TQ", + "tq": "Transmit quality", "lastOnline": "online, last message %{time} (%{date})", "lastOffline": "offline, last message %{time} (%{date})", "activated": "activated (%{branch})", diff --git a/locale/fr.json b/locale/fr.json index 89a8e32..42409b5 100644 --- a/locale/fr.json +++ b/locale/fr.json @@ -6,7 +6,7 @@ "links": "Connexion", "clients": "Clients", "distance": "Distance", - "tq": "TQ", + "tq": "Qualité de transmission", "lastOnline": "en ligne, dernier message %{time} (%{date})", "lastOffline": "hors ligne, dernier message %{time} (%{date})", "activated": "activé (%{branch})", diff --git a/locale/ru.json b/locale/ru.json new file mode 100644 index 0000000..b37a666 --- /dev/null +++ b/locale/ru.json @@ -0,0 +1,89 @@ +{ + "node": { + "all": "Все узлы", + "nodes": "Узлы", + "uptime": "Время работы", + "links": "Ссылки", + "clients": "Клиенты", + "distance": "Расстояние", + "tq": "Транспорт качество", + "lastOnline": "в сети, последнее сообщение %{time} (%{date})", + "lastOffline": "не в сети, последнее сообщение %{time} (%{date})", + "activated": "активировано (%{branch})", + "deactivated": "деактивировано", + "status": "Статус", + "firmware": "Версия прошивки", + "hardware": "Тип оборудования", + "visible": "Видно на карте", + "update": "Автообновление", + "site": "Сайт", + "gateway": "Шлюз", + "coordinates": "Координаты", + "contact": "Контакты", + "primaryMac": "Основной MAC", + "id": "Идентификатор узла", + "firstSeen": "Впервые замечен", + "systemLoad": "Средняя загрузка", + "ram": "Используемая память", + "ipAddresses": "IP адреса", + "selectedGateway": "Выбранный шлюз", + "link": "Ссылка |||| Ссылки", + "node": "Узел |||| Узлы", + "new": "Новые узлы", + "missing": "Исчезнувшие узлы" + }, + "location": { + "location": "Расположение", + "latitude": "Широта", + "longitude": "Долгота", + "copy": "Копировать" + }, + "sidebar": { + "nodeFilter": "Фильтр узлов", + "nodes": "%{total} узлов, включая %{online} узлов онлайн", + "clients": "с %{smart_count} клиентом |||| с %{smart_count} клиентами", + "gateway": "на %{smart_count} шлюзе |||| на %{smart_count} шлюзах", + "lastUpdate": "Последние обновления", + "nodeNew": "Узел новый", + "nodeOnline": "Узел в сети", + "nodeOffline": "Узел не в сети", + "aboutInfo": "

О Meshviewer

Вы можете увеличить масштаб двойным щелчком мыши и уменьшить с shift + двойной щелчок

", + "actual": "Текущее", + "stats": "Статистика", + "about": "О продукте" + }, + "button": { + "switchView": "Переключить вид", + "location": "Взять координаты", + "tracking": "Локализация" + }, + "momentjs": { + "calendar": { + "sameDay": "[Сегодня в] LT", + "nextDay": "[Завтра в] LT", + "nextWeek": "dddd [в] LT", + "lastDay": "[Вчера в] LT", + "lastWeek": "[Последний] dddd [в] LT", + "sameElse": "L" + }, + "relativeTime": { + "future": "в %s", + "past": "%s назад", + "s": "несколько секунд", + "m": "минута", + "mm": "%d минут", + "h": "час", + "hh": "%d часов", + "d": "день", + "dd": "%d дней", + "M": "месяц", + "MM": "%d месяцев", + "y": "год", + "yy": "%d лет" + } + }, + "yes": "да", + "no": "нет", + "unknown": "неизвестно", + "none": "нет" +}