Skip to content

Commit

Permalink
Added turkish, british and austrian translations (#989)
Browse files Browse the repository at this point in the history
* turkish translation

* austrian translation

* british translations

* updated changelog

* Update src/translations/en-gb.ts

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
  • Loading branch information
bunesk and claviska committed Nov 2, 2022
1 parent 5b4197d commit 4e1cf11
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis

- Added `button--checked` to `<sl-radio-button>` and `control--checked` to `<sl-radio>` to style just the checked state [#933](https://github.com/shoelace-style/shoelace/pull/933)
- Added tests for `<sl-menu-item>` and `<sl-menu-label>` [#935](https://github.com/shoelace-style/shoelace/pull/935)
- Added translations for Turkish, English (United Kingdom) and German (Austria) [#989](https://github.com/shoelace-style/shoelace/pull/989)
- Added `--indicator-transition-duration` custom property to `<sl-progress-ring>` [#986](https://github.com/shoelace-style/shoelace/issues/986)
- Fixed a bug in `<sl-card>` that prevented the border radius to apply correctly to the header [#934](https://github.com/shoelace-style/shoelace/pull/934)
- Fixed a bug in `<sl-button-group>` where the inner border disappeared on focus [#980](https://github.com/shoelace-style/shoelace/pull/980)
Expand Down
27 changes: 27 additions & 0 deletions src/translations/de-at.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { registerTranslation } from '../utilities/localize';
import type { Translation } from '../utilities/localize';

const translation: Translation = {
$code: 'de-AT',
$name: 'Deutsch (Österreich)',
$dir: 'ltr',

clearEntry: 'Eingabe löschen',
close: 'Schließen',
copy: 'Kopieren',
currentValue: 'Aktueller Wert',
hidePassword: 'Passwort verbergen',
loading: 'Wird geladen',
progress: 'Fortschritt',
remove: 'Entfernen',
resize: 'Größe ändern',
scrollToEnd: 'Zum Ende scrollen',
scrollToStart: 'Zum Anfang scrollen',
selectAColorFromTheScreen: 'Wähle eine Farbe vom Bildschirm',
showPassword: 'Passwort anzeigen',
toggleColorFormat: 'Farbformat umschalten'
};

registerTranslation(translation);

export default translation;
27 changes: 27 additions & 0 deletions src/translations/en-gb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { registerTranslation } from '../utilities/localize';
import type { Translation } from '../utilities/localize';

const translation: Translation = {
$code: 'en-GB',
$name: 'English (United Kingdom)',
$dir: 'ltr',

clearEntry: 'Clear entry',
close: 'Close',
copy: 'Copy',
currentValue: 'Current value',
hidePassword: 'Hide password',
loading: 'Loading',
progress: 'Progress',
remove: 'Remove',
resize: 'Resize',
scrollToEnd: 'Scroll to end',
scrollToStart: 'Scroll to start',
selectAColorFromTheScreen: 'Select a colour from the screen',
showPassword: 'Show password',
toggleColorFormat: 'Toggle colour format'
};

registerTranslation(translation);

export default translation;
27 changes: 27 additions & 0 deletions src/translations/tr.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { registerTranslation } from '../utilities/localize';
import type { Translation } from '../utilities/localize';

const translation: Translation = {
$code: 'tr',
$name: 'Türkçe',
$dir: 'ltr',

clearEntry: 'Girişi sil',
close: 'Kapat',
copy: 'Kopya',
currentValue: 'Mevcut değer',
hidePassword: 'Şifreyi sakla',
loading: 'Yükleme',
progress: 'İlerleme',
remove: 'Kaldır',
resize: 'Yeniden boyutlandır',
scrollToEnd: 'Sona kay',
scrollToStart: 'Başa kay',
selectAColorFromTheScreen: 'Ekrandan bir renk seçin',
showPassword: 'Şifreyi göster',
toggleColorFormat: 'Renk biçimini değiştir'
};

registerTranslation(translation);

export default translation;

0 comments on commit 4e1cf11

Please sign in to comment.