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

Adds translation to Slovenian #482

Open
wants to merge 2 commits into
base: release-v2024.2.1
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"nb": {
"translation": "src/locale/messages.nb.xlf"
},
"sl": {
"translation": "src/locale/messages.sl.xlf"
},
"sv": {
"translation": "src/locale/messages.sv.xlf"
}
Expand Down Expand Up @@ -111,6 +114,10 @@
"localize": ["nb"],
"baseHref": "/nb/"
},
"sl": {
"localize": ["sl"],
"baseHref": "/sl/"
},
"sv": {
"localize": ["sv"],
"baseHref": "/sv/"
Expand Down Expand Up @@ -151,6 +158,9 @@
"nb": {
"browserTarget": "zonemaster:build:nb"
},
"sl": {
"browserTarget": "zonemaster:build:sl"
},
"sv": {
"browserTarget": "zonemaster:build:sv"
}
Expand All @@ -168,6 +178,7 @@
"messages.fi.xlf",
"messages.fr.xlf",
"messages.nb.xlf",
"messages.sl.xlf",
"messages.sv.xlf"
],
"includeContext": "sourceFileOnly"
Expand Down
1 change: 1 addition & 0 deletions e2e/FR05.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ test.describe('Zonemaster test FR05 - [Supports internationalization]', () => {
{ language: 'Finnish', code: 'fi', expected: 'Verkkotunnus' },
{ language: 'French', code: 'fr', expected: 'Nom de domaine' },
{ language: 'Norwegian', code: 'nb', expected: 'Domenenavn' },
{ language: 'Slovenščina', code: 'sl', expected: 'Domena' },
{ language: 'Swedish', code: 'sv', expected: 'Domännamn' },
];

Expand Down
17 changes: 15 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@angular/platform-browser-dynamic": "^13.3.11",
"@angular/router": "^13.3.11",
"@ng-bootstrap/ng-bootstrap": "^12.0.0",
"angular": "^1.8.3",
"bootstrap": "^5.2.0",
"file-saver": "^2.0.2",
"fork-awesome": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/app.config.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"apiEndpoint": "/api",
"contactAddress": "[email protected]",
"defaultLanguage": "en",
"enabledLanguages": [ "da", "en", "es", "fi", "fr", "nb", "sv" ],
"enabledLanguages": [ "da", "en", "es", "fi", "fr", "nb", "sl", "sv" ],
"logoUrl": "assets/images/zonemaster_logo_2021_color.png",
"msgBanner": "",
"pollingInterval": 5000,
Expand Down
3 changes: 2 additions & 1 deletion src/environments/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ export const common = {
'fi': 'Suomi',
'fr': 'Français',
'nb': 'Norsk (bokmål)',
'sl': 'Slovenščina',
'sv': 'Svenska'
},
enabledLanguages: [ 'da', 'en', 'es', 'fi', 'fr', 'nb', 'sv' ],
enabledLanguages: [ 'da', 'en', 'es', 'fi', 'fr', 'nb', 'sl', 'sv' ],
configUrl: 'assets/app.config.json',
pollingInterval: 5 * 1000,
}
284 changes: 179 additions & 105 deletions src/locale/messages.da.xlf

Large diffs are not rendered by default.

284 changes: 179 additions & 105 deletions src/locale/messages.es.xlf

Large diffs are not rendered by default.

286 changes: 180 additions & 106 deletions src/locale/messages.fi.xlf

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions src/locale/messages.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@
</trans-unit>
<trans-unit id="ngb.progressbar.value" datatype="html">
<source>
<x id="INTERPOLATION" equiv-text="rogress bar."/>
<x id="INTERPOLATION" equiv-text="The type of th"/>
</source>
<target state="translated">
<target state="new">
<x id="INTERPOLATION" equiv-text="rogress bar."/>
</target>
</trans-unit>
Expand Down Expand Up @@ -938,6 +938,10 @@
<source>Zone</source>
<target state="translated">Zone</target>
</trans-unit>
<trans-unit id="c3199211132b5adf3f96f103309fa253901a1bc3" datatype="html">
<source>The keytag must be a positive integer between 0 and 65535</source>
<note priority="1" from="description">form error</note>
</trans-unit>
</body>
</file>
</xliff>
Loading