kopia lustrzana https://github.com/shoelace-style/shoelace
Added Finnish translations. (#2211)
* Added Finnish translations. * add changelog entry * prettier --------- Co-authored-by: konnorrogers <konnor5456@gmail.com>pull/2210/head
rodzic
4e09bacae9
commit
8806672459
|
@ -14,6 +14,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
|
|||
|
||||
## Next
|
||||
|
||||
- Added Finnish translations [#2211]
|
||||
- Fixed a bug in `<sl-textarea>` causing scroll jumping when using `resize="auto"` [#2182]
|
||||
- Fixed a bug in `<sl-relative-time>` where the title attribute would show with redundant info [#2184]
|
||||
- Fixed a bug in `<sl-select>` that caused multi-selects without placeholders to have the wrong padding [#2194]
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
import { registerTranslation } from '@shoelace-style/localize';
|
||||
import type { Translation } from '../utilities/localize.js';
|
||||
|
||||
const translation: Translation = {
|
||||
$code: 'fi',
|
||||
$name: 'Suomi',
|
||||
$dir: 'ltr',
|
||||
|
||||
carousel: 'Karuselli',
|
||||
clearEntry: 'Poista merkintä',
|
||||
close: 'Sulje',
|
||||
copied: 'Kopioitu',
|
||||
copy: 'Kopioi',
|
||||
currentValue: 'Nykyinen arvo',
|
||||
error: 'Virhe',
|
||||
goToSlide: (slide, count) => `Siirry diaan ${slide} / ${count}`,
|
||||
hidePassword: 'Piilota salasana',
|
||||
loading: 'Ladataan',
|
||||
nextSlide: 'Seuraava dia',
|
||||
numOptionsSelected: num => {
|
||||
if (num === 0) return 'Ei valittuja vaihtoehtoja';
|
||||
if (num === 1) return 'Yksi vaihtoehto valittu';
|
||||
return `${num} vaihtoehtoa valittu`;
|
||||
},
|
||||
previousSlide: 'Edellinen dia',
|
||||
progress: 'Edistyminen',
|
||||
remove: 'Poista',
|
||||
resize: 'Muuta kokoa',
|
||||
scrollToEnd: 'Vieritä loppuun',
|
||||
scrollToStart: 'Vieritä alkuun',
|
||||
selectAColorFromTheScreen: 'Valitse väri näytöltä',
|
||||
showPassword: 'Näytä salasana',
|
||||
slideNum: slide => `Dia ${slide}`,
|
||||
toggleColorFormat: 'Vaihda väriformaattia'
|
||||
};
|
||||
|
||||
registerTranslation(translation);
|
||||
|
||||
export default translation;
|
Ładowanie…
Reference in New Issue