diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..2e1b870 --- /dev/null +++ b/babel.cfg @@ -0,0 +1 @@ +[javascript: src/**.js] diff --git a/package.json b/package.json index 161785f..0ff20c2 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "test:coverage": "jest --coverage --colors" }, "files": [ - "dist/**" + "dist/**", + "translations" ] } diff --git a/translations/forisjs.pot b/translations/forisjs.pot new file mode 100644 index 0000000..6f2cf22 --- /dev/null +++ b/translations/forisjs.pot @@ -0,0 +1,71 @@ +# Translations template for PROJECT. +# Copyright (C) 2019 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2019. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2019-08-28 14:34+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.7.0\n" + +#: src/validations.js:13 +msgid "This is not a valid IPv4 address." +msgstr "" + +#: src/validations.js:14 +msgid "This is not a valid IPv6 address." +msgstr "" + +#: src/validations.js:15 +msgid "This is not a valid IPv6 prefix." +msgstr "" + +#: src/validations.js:16 +msgid "This is not a valid domain name." +msgstr "" + +#: src/validations.js:17 +msgid "This is not a valid DUID." +msgstr "" + +#: src/validations.js:18 +msgid "This is not a valid MAC address." +msgstr "" + +#: src/validations.js:19 +msgid "Doesn't contain a list of emails separated by commas." +msgstr "" + +#: src/form/components/ForisForm.js:123 +msgid "Changes you made may not be saved. Are you sure you want to leave?" +msgstr "" + +#: src/form/components/SubmitButton.js:32 +msgid "Updating" +msgstr "" + +#: src/form/components/SubmitButton.js:35 +msgid "Load settings" +msgstr "" + +#: src/form/components/SubmitButton.js:38 +msgid "Save" +msgstr "" + +#: src/form/components/alerts.js:25 +msgid "Settings were successfully saved." +msgstr "" + +#: src/form/components/alerts.js:41 +msgid "Settings update was failed." +msgstr "" +