backport PR 1656

This commit is contained in:
Cory LaViska
2023-10-18 13:26:39 -04:00
parent 9a4da9b763
commit 46b198866d
2 changed files with 43 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ New versions of Web Awesome are released as-needed and generally occur when a cr
- Removed `default` from `<wa-button>` and made `neutral` the new default
- Removed the `circle` modifier from `<wa-button>` because button's no longer have a set height
## Next
- Added the Croatian translation [#1656]
## 2.10.0
- Added the Simplified Chinese translation [#1604]

39
src/translations/hr.ts Normal file
View File

@@ -0,0 +1,39 @@
import { registerTranslation } from '@shoelace-style/localize';
import type { Translation } from '../utilities/localize.js';
const translation: Translation = {
$code: 'hr',
$name: 'Hrvatski',
$dir: 'ltr',
carousel: 'Vrtuljak',
clearEntry: 'Očisti unos',
close: 'Zatvori',
copied: 'Kopirano',
copy: 'Kopiraj',
currentValue: 'Trenutna vrijednost',
error: 'Greška',
goToSlide: (slide, count) => `Idi na slajd ${slide} od ${count}`,
hidePassword: 'Sakrij lozinku',
loading: 'Učitavanje',
nextSlide: 'Sljedeći slajd',
numOptionsSelected: num => {
if (num === 0) return 'Nije odabrana nijedna opcija';
if (num === 1) return '1 opcija je odabrana';
return `${num} odabranih opcija`;
},
previousSlide: 'Prethodni slajd',
progress: 'Napredak',
remove: 'Makni',
resize: 'Promijeni veličinu',
scrollToEnd: 'Skrolaj do kraja',
scrollToStart: 'Skrolaj na početak',
selectAColorFromTheScreen: 'Odaberi boju sa ekrana',
showPassword: 'Pokaži lozinku',
slideNum: slide => `Slajd ${slide}`,
toggleColorFormat: 'Zamijeni format boje'
};
registerTranslation(translation);
export default translation;