Skip to content
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
6 changes: 3 additions & 3 deletions docs/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ at https://github.com/plxnative/plx-native.

## Translate a message

Catalogs live in `locales/en`, `locales/es`, `locales/fr`, `locales/it`, `locales/pt`, `locales/de`, `locales/hu`, `locales/ru`, `locales/pl`, `locales/nl` and `locales/be`, split by UI area. English is the
Catalogs live in `locales/en`, `locales/es`, `locales/fr`, `locales/it`, `locales/pt`, `locales/de`, `locales/hu`, `locales/ru`, `locales/pl`, `locales/nl`,`locales/be` and `locales/hr`, split by UI area. English is the
source: each scoped, stable key has a `value`, translator `description`, and optional typed
`args`. The other languages contain the same keys, except the English-only ones (described
below), with translated string or plural values.
Expand Down Expand Up @@ -50,7 +50,7 @@ lists under `"optional"`: the app hands every language all of them, and a langua
message with the ones its grammar wants (the Library rail's decade is "2020s" in English and
"2020–29" in French, which reads the `{end}` the English leaves out). Each language needs exactly the categories its
`plurals` entry in `locales/languages.json` declares, no more: Belarusian, Russian and Polish `one`, `few`, `many`, and
`other`; Spanish, French, Italian and Portuguese `one`, `many`, and `other`; English, German, Hungarian and Dutch `one` and `other`.
`other`; Spanish, French, Italian and Portuguese `one`, `many`, and `other`; English, German, Hungarian and Dutch `one` and `other`; Croatian `one`, `few`, and `other`.

Use readable, natural wording. Belarusian switch labels use `Укл.` and `Выкл.`, Russian `Вкл.` and `Выкл.`. Preserve the meaning of consent and privacy disclosures exactly.
Third-party license texts stay verbatim. Screenshots of the affected screen help reviewers assess
Expand All @@ -72,7 +72,7 @@ the Library's Sort & Filter menu, and the
collection page's meta line and season marks. When one of these tests fails, shorten
the wording; do not abbreviate it past readability.

Review the affected screens with the desktop simulator. `PLXNATIVE_LOCALE=es`, `fr`, `it`, `pt`, `de`, `hu`, `ru`, `pl`, `nl`, `be` or `en`
Review the affected screens with the desktop simulator. `PLXNATIVE_LOCALE=es`, `fr`, `it`, `pt`, `de`, `hu`, `ru`, `pl`, `nl`, `be`, `hr` or `en`
selects a language for a simulator launch; `PLXNATIVE_FORMAT_LOCALE=de-DE` exercises separate
regional formatting. Set `PLXNATIVE_CLOCK` to `12`, `24` or `locale` to exercise the player HUD clock.
Time-of-day formatting uses ICU hour-minute patterns and day periods for the format locale. The
Expand Down
288 changes: 288 additions & 0 deletions locales/hr/browse.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions locales/hr/captions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"captions.new_episodes": {
"one": "{count} nova epizoda",
"few": "{count} nove epizode",
"other": "{count} novih epizoda"
}
}
3 changes: 3 additions & 0 deletions locales/hr/collections_page.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"collections_page.empty": "Nema kolekcija u {library}"
}
58 changes: 58 additions & 0 deletions locales/hr/core.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"core.system_default": "Isti kao sustav",
"core.converts_on_server": "Konvertira se na poslužitelju",
"core.duration_hours": "{hours}h {minutes}min",
"core.duration_minutes": "{minutes}min",
"core.time_left_hours": "Preostalo: {hours}h {minutes}min",
"core.time_left_minutes": "Preostalo: {minutes}min",
"core.footer_tag": "S{season} E{episode} ·",
"core.footer_left_minutes": "{minutes}min preostalo",
"core.footer_left_hours": "{hours}h {minutes}min preostalo",
"core.seconds": "{seconds} s",
"core.season": "S{season}",
"core.episode": "E{episode}",
"core.episode_ordinal": "S{season}, E{episode}",
"core.shared_by": "Podijelio/la {handle}",
"core.preview_fault": "C fault fallback",
"core.preview_panic": "Rust panic fallback",
"core.preview_domains": "Zatvorene domene reprodukcije:",
"core.preview_domain_line": "{label}: {values}",
"core.preview_domain_failure_kind": "vrsta pogreške (uključujući zapamćene povijesne kôdove)",
"core.preview_domain_delivery": "način isporuke",
"core.preview_domain_backend": "mehanizam reprodukcije",
"core.preview_domain_terminal_stage": "stadij terminalne greške",
"core.preview_domain_refusal_codes": "kôdovi odluke poslužitelja, opći i za transkodiranje (samo izvješća o odbijenom planu)",
"core.preview_domain_attempted_delivery": "pokušani način isporuke",
"core.preview_domain_source_video": "kodek izvornog videozapisa (samo izvješća o odbijenom planu)",
"core.preview_domain_source_audio": "kodek izvornog zvuka (samo izvješća o odbijenom planu)",
"core.preview_domain_preview_refusal": "razlog odbijanja automatske filmske najave (samo izvješća o odbijenoj filmskoj najavi)",
"core.preview_domain_quality": "kvaliteta",
"core.preview_domain_observed_rate": "izmjerena brzina prijenosa",
"core.preview_domain_raster": "razlučivost slike",
"core.preview_domain_pipeline": "procesni tok",
"core.preview_domain_pipeline_error": "broj pogreške firmvera televizora (0 = nije zabilježena)",
"core.preview_domain_attempt_started": "slika prikazana u ovom pokušaju",
"core.preview_domain_attempt_origin": "razlog ovog pokušaja",
"core.preview_domain_attempt_ordinal": "redni broj pokušaja ove reprodukcije (1 do 9, zatim 9+)",
"core.preview_domain_http_status": "HTTP broj statusa (0 = nema statusa)",
"core.preview_domain_http": "HTTP",
"core.preview_domain_buffer": "međuspremnik",
"core.preview_domain_transport": "pogreška prijenosa",
"core.preview_domain_transfer_age": "trajanje prijenosa prije pogreške",
"core.preview_domain_demux_exit": "korak obrade medijskog toka koji nije uspio",
"core.preview_domain_recovered_rung": "korak oporavka koji je uspio reproducirati sadržaj",
"core.preview_domain_recovered_stream": "odbijeni tok",
"core.preview_domain_recovered_codec": "kodek odbijenog toka",
"core.preview_domain_recovered_channels": "odbijeni audio kanali",
"core.preview_domain_recovered_error": "broj pogreške firmvera televizora ili istek vremena/zastoj",
"core.preview_domain_elapsed": "proteklo vrijeme",
"core.preview_domain_hls_direction": "Smjer HLS-a",
"core.preview_domain_delivery_reason": "razlog načina isporuke",
"core.preview_domain_original_phase": "Izvorna faza (uključujući zapamćene povijesne kôdove)",
"core.preview_domain_original_outcome": "Izvorni ishod",
"core.unit_gb": "{value} GB",
"core.unit_mb": "{value} MB",
"core.unit_kb": "{value} kB",
"core.percent": "{value}%",
"core.unit_b": "{value} B"
}
6 changes: 6 additions & 0 deletions locales/hr/hud_controls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"player.hud.play_pause": "Pokreni/Pauziraj",
"player.hud.skip_back": "Premotaj natrag",
"player.hud.skip_forward": "Premotaj naprijed",
"player.up_next.seconds_left": "Sljedeća epizoda · {seconds} s"
}
7 changes: 7 additions & 0 deletions locales/hr/library_header.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"library_header.collections": "Kolekcije",
"library_header.recommended": "Preporučeno",
"library_header.sort_filter": "Sortiranje i filtri",
"library_header.filtered_of": "{shown} od {total}",
"library_header.show": "Prikaži"
}
6 changes: 6 additions & 0 deletions locales/hr/library_rail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"library_rail.decade": "{decade}-e",
"library_rail.hours": "{hours}h",
"library_rail.hours_or_more": "{hours}h+",
"library_rail.today": "Danas"
}
13 changes: 13 additions & 0 deletions locales/hr/playback_navigation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"settings.playback.instant_dpad_seeking": "Premotavanje strelicama",
"settings.playback.instant_dpad_seeking.copy": "Dok su kontrole skrivene, lijevo/desno premotava za odabrani interval. Dok su kontrole prikazane, OK potvrđuje. „Isključeno“ zadržava navigaciju s prvo prikazanim kontrolama.",
"settings.playback.instant_dpad_seeking.off": "Isključeno",
"settings.playback.instant_dpad_seeking.on": "Uključeno",
"settings.playback.dolby_vision": "Dolby Vision",
"settings.playback.dolby_vision.copy": "Automatski koristi Dolby Vision ako ga televizor podržava. „Isključeno“ reproducira HDR10 sloj. Datoteke bez HDR10 sloja pretvara Plex poslužitelj i možda se neće moći reproducirati.",
"settings.playback.dolby_vision.off": "Isključeno",
"settings.playback.uri_engine": "Mehanizam reprodukcije",
"settings.playback.uri_engine.copy": "„Eksperimentalno“ omogućuje televizoru da izravno prenosi datoteku. Kontrole ostaju iste. Ako ne uspije, video se ponovno pokreće u standardnom načinu. Neki se videozapisi uvijek reproduciraju standardno.",
"settings.playback.uri_engine.off": "Standardno",
"settings.playback.uri_engine.on": "Eksperimentalno"
}
3 changes: 3 additions & 0 deletions locales/hr/recommended_page.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommended_page.empty": "Za ovu biblioteku još nema preporuka"
}
Loading
Loading