Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Belarusian i18n #85

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions src/i18n/be-BY.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/**
* SVGcode—Convert raster images to SVG vector graphics
* Copyright (C) 2022 Google LLC
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import languages from './languages.js';

const translations = {
red: 'Чырвоны',
green: 'Зялёны',
blue: 'Блакітны',
alpha: 'Празрыстасць',

brightness: 'Яркасць',
contrast: 'Кантраст',
grayscale: 'Манахром',
'hue-rotate': 'Паварот колеру',
invert: 'Інверсія',
opacity: 'Празрыстасць',
saturate: 'Насычэнне',
sepia: 'Сепія',

scale: 'Маштаб',
rotation: 'Паварот',
turdsize: 'Паменшыць смецце',
alphamax: 'Кутні парог',
minPathSegments: 'Мінімальная даўжыня шляху',
strokeWidth: 'Таўшчыня абводкі',
turnpolicy: 'Правілы павароту',
opticurve: 'Аптымізаваць крывыя',
opttolerance: 'Узровень аптымізацыі',
showAdvancedControls: 'Дадатковыя налады',

'%': '%',
deg: '°',
steps: 'крокаў',
pixels: 'пікселяў',
segments: 'сегментаў',

reset: 'Скінуць',
resetAll: 'Скінуць усё',

dropFileHere: 'Кіньце файл сюды',
openImage: 'Адкрыць карцінку',
saveSVG: 'Захаваць SVG',
pasteImage: 'Уставіць карцінку',
copySVG: 'Скапіяваць SVG',
install: 'Усталяваць',

posterizeInputImage: 'Пастэрызаваць ўваходную карцінку',
colorSVG: 'Каляровы SVG',
monochromeSVG: 'Манахромны SVG',

colorChannels: 'Каляровыя каналы',
imageSizeAndRotation: 'Ўваходныя памеры і паварот',
imagePreprocessing: 'Уваходная апрацоўка',
svgOptions: 'Налады SVG',

considerDPR: 'Ўлічваць шчыльнасць пікселяў',

tweak: 'Падкруціць',
closeOptions: 'Закрыць',

optimizingSVG: 'Аптымізую SVG',
copiedSVG: 'Скапіяваны SVG',
savedSVG: 'Захаваны SVG',

readyToWorkOffline: 'Гатова для працы афлайн.',
svgSize: 'Памер SVG',
bytes: 'байтаў',
zoom: 'Маштаб',

license: 'Ліцэнзія',
about: 'Аб праекце',

...languages,
};

// ignore unused exports default
export default translations;
1 change: 1 addition & 0 deletions src/i18n/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

const languages = {
arTN: 'عربى',
beBY: 'Беларуская',
caES: 'Català',
daDK: 'Dansk',
deDE: 'Deutsch',
Expand Down
2 changes: 2 additions & 0 deletions src/js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
const LOCAL_STORAGE_KEY = 'language';
const SUPPORTED_LANGUAGES = [
'ar',
'be',
'ca',
'da',
'de',
Expand All @@ -43,6 +44,7 @@ const SUPPORTED_LANGUAGES = [

const SUPPORTED_LOCALES = [
'ar-TN',
'be-BY',
'ca-ES',
'da-DK',
'de-DE',
Expand Down