From 4cdf43b960b4bcf1f911067f80df0e1dd21efa7e Mon Sep 17 00:00:00 2001 From: Alexander Maryanovsky Date: Tue, 12 Mar 2024 12:20:03 +0200 Subject: [PATCH] Localize internal strings in ui, material and material3 (#1158) --- .../src/main/kotlin/UpdateTranslationsTask.kt | 390 ++++++++++++++++++ compose/material/material/build.gradle | 35 ++ .../androidx/compose/material/Strings.kt | 91 ++++ .../androidx/compose/material/l10n/Af.kt | 31 ++ .../androidx/compose/material/l10n/Am.kt | 31 ++ .../androidx/compose/material/l10n/Ar.kt | 31 ++ .../androidx/compose/material/l10n/As.kt | 31 ++ .../androidx/compose/material/l10n/Az.kt | 31 ++ .../androidx/compose/material/l10n/Be.kt | 31 ++ .../androidx/compose/material/l10n/Bg.kt | 31 ++ .../androidx/compose/material/l10n/Bn.kt | 31 ++ .../androidx/compose/material/l10n/Bs.kt | 31 ++ .../androidx/compose/material/l10n/Ca.kt | 31 ++ .../androidx/compose/material/l10n/Cs.kt | 31 ++ .../androidx/compose/material/l10n/Da.kt | 31 ++ .../androidx/compose/material/l10n/De.kt | 31 ++ .../androidx/compose/material/l10n/El.kt | 31 ++ .../androidx/compose/material/l10n/En.kt | 75 ++++ .../androidx/compose/material/l10n/Es.kt | 42 ++ .../androidx/compose/material/l10n/Et.kt | 31 ++ .../androidx/compose/material/l10n/Eu.kt | 31 ++ .../androidx/compose/material/l10n/Fa.kt | 31 ++ .../androidx/compose/material/l10n/Fi.kt | 31 ++ .../androidx/compose/material/l10n/Fr.kt | 42 ++ .../androidx/compose/material/l10n/Gl.kt | 31 ++ .../androidx/compose/material/l10n/Gu.kt | 31 ++ .../androidx/compose/material/l10n/Hi.kt | 31 ++ .../androidx/compose/material/l10n/Hr.kt | 31 ++ .../androidx/compose/material/l10n/Hu.kt | 31 ++ .../androidx/compose/material/l10n/Hy.kt | 31 ++ .../androidx/compose/material/l10n/In.kt | 31 ++ .../androidx/compose/material/l10n/Is.kt | 31 ++ .../androidx/compose/material/l10n/It.kt | 31 ++ .../androidx/compose/material/l10n/Iw.kt | 31 ++ .../androidx/compose/material/l10n/Ja.kt | 31 ++ .../androidx/compose/material/l10n/Ka.kt | 31 ++ .../androidx/compose/material/l10n/Kk.kt | 31 ++ .../androidx/compose/material/l10n/Km.kt | 31 ++ .../androidx/compose/material/l10n/Kn.kt | 31 ++ .../androidx/compose/material/l10n/Ko.kt | 31 ++ .../androidx/compose/material/l10n/Ky.kt | 31 ++ .../androidx/compose/material/l10n/Lo.kt | 31 ++ .../androidx/compose/material/l10n/Lt.kt | 31 ++ .../androidx/compose/material/l10n/Lv.kt | 31 ++ .../androidx/compose/material/l10n/Mk.kt | 31 ++ .../androidx/compose/material/l10n/Ml.kt | 31 ++ .../androidx/compose/material/l10n/Mn.kt | 31 ++ .../androidx/compose/material/l10n/Mr.kt | 31 ++ .../androidx/compose/material/l10n/Ms.kt | 31 ++ .../androidx/compose/material/l10n/My.kt | 31 ++ .../androidx/compose/material/l10n/Nb.kt | 31 ++ .../androidx/compose/material/l10n/Ne.kt | 31 ++ .../androidx/compose/material/l10n/Nl.kt | 31 ++ .../androidx/compose/material/l10n/Or.kt | 31 ++ .../androidx/compose/material/l10n/Pa.kt | 31 ++ .../androidx/compose/material/l10n/Pl.kt | 31 ++ .../androidx/compose/material/l10n/Pt.kt | 53 +++ .../androidx/compose/material/l10n/Ro.kt | 31 ++ .../androidx/compose/material/l10n/Ru.kt | 31 ++ .../androidx/compose/material/l10n/Si.kt | 31 ++ .../androidx/compose/material/l10n/Sk.kt | 31 ++ .../androidx/compose/material/l10n/Sl.kt | 31 ++ .../androidx/compose/material/l10n/Sq.kt | 31 ++ .../androidx/compose/material/l10n/Sr.kt | 31 ++ .../androidx/compose/material/l10n/Sv.kt | 31 ++ .../androidx/compose/material/l10n/Sw.kt | 31 ++ .../androidx/compose/material/l10n/Ta.kt | 31 ++ .../androidx/compose/material/l10n/Te.kt | 31 ++ .../androidx/compose/material/l10n/Th.kt | 31 ++ .../androidx/compose/material/l10n/Tl.kt | 31 ++ .../androidx/compose/material/l10n/Tr.kt | 31 ++ .../compose/material/l10n/Translations.kt | 111 +++++ .../androidx/compose/material/l10n/Uk.kt | 31 ++ .../androidx/compose/material/l10n/Ur.kt | 31 ++ .../androidx/compose/material/l10n/Uz.kt | 31 ++ .../androidx/compose/material/l10n/Vi.kt | 31 ++ .../androidx/compose/material/l10n/Zh.kt | 53 +++ .../androidx/compose/material/l10n/Zu.kt | 31 ++ compose/material3/material3/build.gradle | 97 +++++ .../compose/material3/Strings.skiko.kt | 153 +++---- .../androidx/compose/material3/l10n/Af.kt | 87 ++++ .../androidx/compose/material3/l10n/Am.kt | 87 ++++ .../androidx/compose/material3/l10n/Ar.kt | 87 ++++ .../androidx/compose/material3/l10n/As.kt | 87 ++++ .../androidx/compose/material3/l10n/Az.kt | 87 ++++ .../androidx/compose/material3/l10n/Be.kt | 87 ++++ .../androidx/compose/material3/l10n/Bg.kt | 87 ++++ .../androidx/compose/material3/l10n/Bn.kt | 87 ++++ .../androidx/compose/material3/l10n/Bs.kt | 87 ++++ .../androidx/compose/material3/l10n/Ca.kt | 87 ++++ .../androidx/compose/material3/l10n/Cs.kt | 87 ++++ .../androidx/compose/material3/l10n/Da.kt | 87 ++++ .../androidx/compose/material3/l10n/De.kt | 87 ++++ .../androidx/compose/material3/l10n/El.kt | 87 ++++ .../androidx/compose/material3/l10n/En.kt | 355 ++++++++++++++++ .../androidx/compose/material3/l10n/Es.kt | 154 +++++++ .../androidx/compose/material3/l10n/Et.kt | 87 ++++ .../androidx/compose/material3/l10n/Eu.kt | 87 ++++ .../androidx/compose/material3/l10n/Fa.kt | 87 ++++ .../androidx/compose/material3/l10n/Fi.kt | 87 ++++ .../androidx/compose/material3/l10n/Fr.kt | 154 +++++++ .../androidx/compose/material3/l10n/Gl.kt | 87 ++++ .../androidx/compose/material3/l10n/Gu.kt | 87 ++++ .../androidx/compose/material3/l10n/Hi.kt | 87 ++++ .../androidx/compose/material3/l10n/Hr.kt | 87 ++++ .../androidx/compose/material3/l10n/Hu.kt | 87 ++++ .../androidx/compose/material3/l10n/Hy.kt | 87 ++++ .../androidx/compose/material3/l10n/In.kt | 87 ++++ .../androidx/compose/material3/l10n/Is.kt | 87 ++++ .../androidx/compose/material3/l10n/It.kt | 87 ++++ .../androidx/compose/material3/l10n/Iw.kt | 87 ++++ .../androidx/compose/material3/l10n/Ja.kt | 87 ++++ .../androidx/compose/material3/l10n/Ka.kt | 87 ++++ .../androidx/compose/material3/l10n/Kk.kt | 87 ++++ .../androidx/compose/material3/l10n/Km.kt | 87 ++++ .../androidx/compose/material3/l10n/Kn.kt | 87 ++++ .../androidx/compose/material3/l10n/Ko.kt | 87 ++++ .../androidx/compose/material3/l10n/Ky.kt | 87 ++++ .../androidx/compose/material3/l10n/Lo.kt | 87 ++++ .../androidx/compose/material3/l10n/Lt.kt | 87 ++++ .../androidx/compose/material3/l10n/Lv.kt | 87 ++++ .../androidx/compose/material3/l10n/Mk.kt | 87 ++++ .../androidx/compose/material3/l10n/Ml.kt | 87 ++++ .../androidx/compose/material3/l10n/Mn.kt | 87 ++++ .../androidx/compose/material3/l10n/Mr.kt | 87 ++++ .../androidx/compose/material3/l10n/Ms.kt | 87 ++++ .../androidx/compose/material3/l10n/My.kt | 87 ++++ .../androidx/compose/material3/l10n/Nb.kt | 87 ++++ .../androidx/compose/material3/l10n/Ne.kt | 87 ++++ .../androidx/compose/material3/l10n/Nl.kt | 87 ++++ .../androidx/compose/material3/l10n/Or.kt | 87 ++++ .../androidx/compose/material3/l10n/Pa.kt | 87 ++++ .../androidx/compose/material3/l10n/Pl.kt | 87 ++++ .../androidx/compose/material3/l10n/Pt.kt | 221 ++++++++++ .../androidx/compose/material3/l10n/Ro.kt | 87 ++++ .../androidx/compose/material3/l10n/Ru.kt | 87 ++++ .../androidx/compose/material3/l10n/Si.kt | 87 ++++ .../androidx/compose/material3/l10n/Sk.kt | 87 ++++ .../androidx/compose/material3/l10n/Sl.kt | 87 ++++ .../androidx/compose/material3/l10n/Sq.kt | 87 ++++ .../androidx/compose/material3/l10n/Sr.kt | 87 ++++ .../androidx/compose/material3/l10n/Sv.kt | 87 ++++ .../androidx/compose/material3/l10n/Sw.kt | 87 ++++ .../androidx/compose/material3/l10n/Ta.kt | 87 ++++ .../androidx/compose/material3/l10n/Te.kt | 87 ++++ .../androidx/compose/material3/l10n/Th.kt | 87 ++++ .../androidx/compose/material3/l10n/Tl.kt | 87 ++++ .../androidx/compose/material3/l10n/Tr.kt | 87 ++++ .../compose/material3/l10n/Translations.kt | 111 +++++ .../androidx/compose/material3/l10n/Uk.kt | 87 ++++ .../androidx/compose/material3/l10n/Ur.kt | 87 ++++ .../androidx/compose/material3/l10n/Uz.kt | 87 ++++ .../androidx/compose/material3/l10n/Vi.kt | 87 ++++ .../androidx/compose/material3/l10n/Zh.kt | 221 ++++++++++ .../androidx/compose/material3/l10n/Zu.kt | 87 ++++ .../compose/material3/StringFormatTest.kt | 32 +- compose/ui/ui/build.gradle | 32 ++ .../ui/platform/PlatformCompositionLocals.kt} | 20 +- .../platform/PlatformLocalization.desktop.kt | 20 +- .../androidx/compose/ui/platform/Strings.kt | 103 +++++ .../androidx/compose/ui/platform/l10n/Af.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Am.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ar.kt | 28 ++ .../androidx/compose/ui/platform/l10n/As.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Az.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Be.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Bg.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Bn.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Bs.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ca.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Cs.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Da.kt | 28 ++ .../androidx/compose/ui/platform/l10n/De.kt | 28 ++ .../androidx/compose/ui/platform/l10n/El.kt | 28 ++ .../androidx/compose/ui/platform/l10n/En.kt | 60 +++ .../androidx/compose/ui/platform/l10n/Es.kt | 36 ++ .../androidx/compose/ui/platform/l10n/Et.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Eu.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Fa.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Fi.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Fr.kt | 36 ++ .../androidx/compose/ui/platform/l10n/Gl.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Gu.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Hi.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Hr.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Hu.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Hy.kt | 28 ++ .../androidx/compose/ui/platform/l10n/In.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Is.kt | 28 ++ .../androidx/compose/ui/platform/l10n/It.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Iw.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ja.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ka.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Kk.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Km.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Kn.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ko.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ky.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Lo.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Lt.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Lv.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Mk.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ml.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Mn.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Mr.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ms.kt | 28 ++ .../androidx/compose/ui/platform/l10n/My.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Nb.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ne.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Nl.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Or.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Pa.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Pl.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Pt.kt | 44 ++ .../androidx/compose/ui/platform/l10n/Ro.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ru.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Si.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Sk.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Sl.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Sq.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Sr.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Sv.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Sw.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ta.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Te.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Th.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Tl.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Tr.kt | 28 ++ .../compose/ui/platform/l10n/Translations.kt | 111 +++++ .../androidx/compose/ui/platform/l10n/Uk.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Ur.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Uz.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Vi.kt | 28 ++ .../androidx/compose/ui/platform/l10n/Zh.kt | 44 ++ .../androidx/compose/ui/platform/l10n/Zu.kt | 28 ++ .../compose/ui/window/Application.desktop.kt | 10 +- .../ui/platform/PlatformLocalizationTest.kt | 116 ++++++ .../ui/platform/PlatformCompositionLocals.kt} | 16 +- .../ui/platform/PlatformCompositionLocals.kt} | 16 +- .../ui/platform/PlatformCompositionLocals.kt | 27 ++ .../compose/ui/platform/Wrapper.skiko.kt | 9 +- .../ui/platform/PlatformCompositionLocals.kt | 26 ++ 242 files changed, 13066 insertions(+), 124 deletions(-) create mode 100644 buildSrc/src/main/kotlin/UpdateTranslationsTask.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/Strings.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Af.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Am.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ar.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/As.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Az.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Be.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bg.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bn.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bs.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ca.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Cs.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Da.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/De.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/El.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/En.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Es.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Et.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Eu.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fa.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fi.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fr.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gl.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gu.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hi.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hr.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hu.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hy.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/In.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Is.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/It.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Iw.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ja.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ka.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kk.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Km.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kn.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ko.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ky.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lo.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lt.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lv.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mk.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ml.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mn.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mr.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ms.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/My.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nb.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ne.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nl.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Or.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pa.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pl.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pt.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ro.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ru.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Si.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sk.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sl.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sq.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sr.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sv.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sw.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ta.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Te.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Th.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tl.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tr.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Translations.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uk.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ur.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uz.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Vi.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zh.kt create mode 100644 compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zu.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Af.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Am.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ar.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/As.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Az.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Be.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bg.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bn.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bs.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ca.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Cs.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Da.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/De.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/El.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/En.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Es.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Et.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Eu.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fa.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fi.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fr.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gl.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gu.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hi.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hr.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hu.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hy.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/In.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Is.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/It.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Iw.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ja.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ka.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kk.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Km.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kn.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ko.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ky.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lo.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lt.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lv.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mk.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ml.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mn.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mr.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ms.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/My.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nb.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ne.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nl.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Or.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pa.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pl.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pt.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ro.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ru.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Si.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sk.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sl.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sq.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sr.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sv.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sw.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ta.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Te.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Th.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tl.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tr.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Translations.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uk.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ur.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uz.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Vi.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zh.kt create mode 100644 compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zu.kt rename compose/{material/material/src/desktopMain/kotlin/androidx/compose/material/Strings.desktop.kt => ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt} (61%) create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/Strings.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Af.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Am.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ar.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/As.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Az.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Be.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bg.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bn.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bs.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ca.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Cs.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Da.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/De.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/El.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/En.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Es.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Et.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Eu.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fa.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fi.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fr.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gl.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gu.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hi.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hr.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hu.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hy.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/In.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Is.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/It.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Iw.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ja.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ka.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kk.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Km.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kn.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ko.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ky.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lo.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lt.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lv.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mk.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ml.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mn.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mr.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ms.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/My.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nb.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ne.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nl.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Or.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pa.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pl.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pt.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ro.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ru.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Si.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sk.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sl.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sq.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sr.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sv.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sw.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ta.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Te.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Th.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tl.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tr.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Translations.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uk.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ur.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uz.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Vi.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zh.kt create mode 100644 compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zu.kt create mode 100644 compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/PlatformLocalizationTest.kt rename compose/{material/material/src/jsWasmMain/kotlin/androidx/compose/material/Strings.js.kt => ui/ui/src/jsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt} (61%) rename compose/{material/material/src/nativeMain/kotlin/androidx/compose/material/Strings.native.kt => ui/ui/src/nativeMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt} (61%) create mode 100644 compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt create mode 100644 compose/ui/ui/src/wasmJsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt diff --git a/buildSrc/src/main/kotlin/UpdateTranslationsTask.kt b/buildSrc/src/main/kotlin/UpdateTranslationsTask.kt new file mode 100644 index 0000000000000..5207baa118ee2 --- /dev/null +++ b/buildSrc/src/main/kotlin/UpdateTranslationsTask.kt @@ -0,0 +1,390 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import java.io.File +import java.io.IOException +import java.nio.file.Files +import java.util.* +import javax.xml.parsers.DocumentBuilderFactory +import kotlin.concurrent.thread +import org.gradle.api.DefaultTask +import org.gradle.api.file.DirectoryProperty +import org.gradle.api.provider.ListProperty +import org.gradle.api.provider.MapProperty +import org.gradle.api.provider.Property +import org.gradle.api.tasks.Input +import org.gradle.api.tasks.InputDirectory +import org.gradle.api.tasks.TaskAction +import org.w3c.dom.Element + +/** + * A task that checks out an Android repository with string translations, extracts the translations + * we're interested in and writes Kotlin source files that provide them. + */ +abstract class UpdateTranslationsTask : DefaultTask() { + + /** + * The git binary to use. + */ + @get:Input + abstract val git: Property + init { + @Suppress("LeakingThis") + git.convention("git") + } + + /** + * The URL of the repository to check out. + */ + @get:Input + abstract val gitRepo: Property + + /** + * The root resources directories in the repo. + * + * Note that there may be more than one because Android shares resources across modules, and + * some modules use resources from more than one. + */ + @get:Input + abstract val repoResDirectories: ListProperty + + /** + * The strings to translate. + * + * The keys are the names of the Android resources in the XML file, and the values are the names + * of the Kotlin `Strings` constants. + */ + @get:Input + abstract val stringByResourceName: MapProperty + + /** + * The locales to get the translations for, in `language(_region)` format; e.g. "fr-CA" or just + * "fr". + * + * Note that language may not be an empty string; use "en" for the default locale. + */ + @get:Input + abstract val locales: ListProperty + + /** + * The directory where the Kotlin source files are to be written. + * + * Note that this directory is deleted first in order to clear translations that are no longer + * needed. + */ + @get:InputDirectory + abstract val targetDirectory: DirectoryProperty + + /** + * The name of the package of the Kotlin source files to be written. + */ + @get:Input + abstract val targetPackageName: Property + + /** + * The package name of the Kotlin `Strings.kt` file. + */ + @get:Input + abstract val kotlinStringsPackageName: Property + + /** + * Updates the translations. + */ + @TaskAction + fun updateTranslations() { + // A temporary directory where we will clone the repo + val dir = Files.createTempDirectory("translations").toFile() + dir.mkdirs() + dir.deleteOnExit() + + val targetDirectory = targetDirectory.get().asFile + if (targetDirectory.isDirectory && !targetDirectory.deleteRecursively()) + throw IOException("Unable to delete directory $targetDirectory") + + if (!targetDirectory.isDirectory && !targetDirectory.mkdirs()) + throw IOException("Unable to create directory $targetDirectory") + + // The directory into which the repo will be cloned + val repoDir = File(dir, gitRepo.get().substringAfterLast('/')) + repoDir.deleteRecursively() + + // The directories in the repo to check out. + // For each locale, there could be several values directories. + val valuesDirsByLocale: Map> = locales.get().associate { localeTag -> + val locale = Locale.fromTag(localeTag) + val valuesDirs = repoResDirectories.get().map { + val resDir = if (it.endsWith("/")) it else "$it/" + resDir + locale.valuesDirName() + } + locale to valuesDirs + } + + val gitCommand = git.getOrElse("git") + + // Clone the repo, but don't check out any files + execCommand(dir, gitCommand, "clone", "-n", "--depth=1", "--filter=tree:0", gitRepo.get()) + + // Set a sparse checkout to download only the directories we need + val allValuesDirs = valuesDirsByLocale.values.flatten() + execCommand(repoDir, gitCommand, "sparse-checkout", "set", "--no-cone", + *allValuesDirs.toTypedArray()) + + // Actually download them + execCommand(repoDir, gitCommand, "checkout") + + // Write the per-language translation files + val localesGroupedByLanguage = valuesDirsByLocale.keys.groupBy { it.language } + for ((language, locales) in localesGroupedByLanguage) { + writeLanguageFile( + language = language, + locales = locales, + stringByResourceName = stringByResourceName.get(), + repoDir = repoDir, + valuesDirsByLocale = valuesDirsByLocale + ) + } + + // Write the Translations.kt file + writeTranslationsFile(localesGroupedByLanguage.values.flatten()) + } + + /** + * An XML document builder we use (and reuse). + */ + private val docBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder() + + /** + * Writes the file with translations for the given language and locales. + * + * We group all locales with the same language into one file. + * + * @param language The language name. + * @param locales The locales to write translations for. + * @param stringByResourceName Maps Android resource names to the names of our Kotlin `Strings`. + * @param repoDir The directory on the disk where the repository has been checked out. + * @param valuesDirsByLocale For each locale, the paths of the corresponding "values" + * directories in the repository. + */ + private fun writeLanguageFile( + language: String, + locales: List, + stringByResourceName: Map, + repoDir: File, + valuesDirsByLocale: Map>, + ) { + val kotlinFileName = language.replaceFirstChar { it.uppercase() } + ".kt" + println("Writing $kotlinFileName for locales ${locales.joinToString()}") + + File(targetDirectory.get().asFile, kotlinFileName).bufferedWriter().use { + it.write(kotlinFilePreamble()) + it.appendLine("import ${kotlinStringsPackageName.get()}.Strings") + it.appendLine("import ${kotlinStringsPackageName.get()}.Translations") + + for (locale in locales) { + // Keep track of the strings for which translations were found, to be able to detect + // missing ones. + val remainingStrings = stringByResourceName.values.toMutableSet() + + it.appendLine() + it.appendLine("@Suppress(\"UnusedReceiverParameter\", \"DuplicatedCode\")") + it.appendLine("internal fun Translations.${locale.translationFunctionName()}() = mapOf(") + + for (valuesDir in valuesDirsByLocale[locale]!!) { + val stringsFile = File(File(repoDir, valuesDir), "strings.xml") + if (!stringsFile.isFile) { + throw IOException("Missing strings.xml file for locale: $locale") + } + val document = docBuilder.parse(stringsFile) + val root = document.documentElement + + val nodeList = root.childNodes + for (i in 0 until nodeList.length) { + val node = nodeList.item(i) + + val element = node as? Element + if (element?.tagName == "string") { + val name = element.attributes.getNamedItem("name").nodeValue + val string = stringByResourceName[name] + if (string != null) { + val content = element.textContent + .trim() + .removeSurrounding("\"", "\"") + .replace("\$", "\\$") + it.appendLine(" Strings.$string to \"$content\",") + remainingStrings.remove(string) + } + } + } + } + it.appendLine(")") + + if (remainingStrings.isNotEmpty()) { + throw IllegalStateException("Missing translations in $locale for ${remainingStrings.joinToString()}") + } + } + } + } + + /** + * Writes the `Translations.kt` file which maps all locales to the actual translations. + */ + private fun writeTranslationsFile(locales: List) { + File(targetDirectory.asFile.get(), "Translations.kt").bufferedWriter().use { + it.write(kotlinFilePreamble()) + it.appendLine("import ${kotlinStringsPackageName.get()}.Translations") + it.appendLine() + it.appendLine(""" + /** + * Maps each locale tag we have a translation for to a function that creates the translation. + */ + internal val TranslationProviderByLocaleTag = mapOf( + """.trimIndent()) + for (locale in locales) { + it.appendLine(" \"${locale.toKotlinTag()}\" to " + + "Translations::${locale.translationFunctionName()},") + + val newLanguageCode = OldToNewLanguageCode[locale.language] + if (newLanguageCode != null) { + val newLocale = locale.copy(language = newLanguageCode) + it.appendLine(" \"${newLocale.toKotlinTag()}\" to " + + "Translations::${locale.translationFunctionName()},") + } + } + it.appendLine(")") + } + } + + /** + * The preamble of any Kotlin source files we write. + */ + @Suppress("HttpUrlsUsage") + private fun kotlinFilePreamble() = """ + /* + * Copyright ${Calendar.getInstance().get(Calendar.YEAR)} The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + package ${targetPackageName.get()} + + + """.trimIndent() + + /** + * Executes the given command and waits for it to complete. + * + * @param dir The working directory for the command. + * @param command The command, one argument at a time. + */ + private fun execCommand(dir: File, vararg command: String) { + println("[$dir] ${command.joinToString(separator = " ")}") + val process = ProcessBuilder() + .directory(dir) + .command(*command) + .start() + thread { + process.errorReader().forEachLine { + System.err.println(it) + } + } + thread { + process.inputReader().forEachLine { + println(it) + } + } + val exitCode = process.waitFor() + if (exitCode != 0) { + throw IOException("Process exited with code $exitCode") + } + } +} + +/** + * Represents a locale. + * + * @param language The language. May not be empty; use "en" for the default locale. + * @param region The region, or an empty string. + */ +private data class Locale(val language: String, val region: String) { + /** + * Returns the name of the `values` directory corresponding to this locale. + */ + fun valuesDirName() = when { + (language == "en") && (region == "") -> "values" + region == "" -> "values-$language" + else -> "values-$language-r$region" + } + + /** + * Returns the name of the function to generate that returns the translations for this locale. + */ + fun translationFunctionName(): String { + val name = when { + region == "" -> language + else -> "$language$region" // Region is all-caps + } + return if (name in KotlinKeywords) "`$name`" else name + } + + /** + * Returns the locale tag used in Kotlin that corresponds to this locale. + */ + fun toKotlinTag() = when { + (language == "en") && (region == "") -> "" + region == "" -> language + else -> "${language}_$region" + } + + override fun toString(): String = when { + region == "" -> language + else -> "${language}_$region" + } + + companion object { + fun fromTag(tag: String): Locale { + val (language, region) = "${tag}_".split("_") + return Locale(language, region) + } + } +} + +/** + * Kotlin keywords which we need to escape if we generate a function with the same name. + */ +private val KotlinKeywords = setOf("as", "in", "is") + +/** + * Maps obsolete language codes to their new versions. + * + * The Android repos from which the translations are obtained use some obsolete language codes, but + * Java (starting with 17) uses the new ones. To make things simpler, we map both codes to the same + * translation. + */ +private val OldToNewLanguageCode = mapOf( + "iw" to "he", + "ji" to "yi", + "in" to "id" +) \ No newline at end of file diff --git a/compose/material/material/build.gradle b/compose/material/material/build.gradle index fdb22c1305743..eaccec692417f 100644 --- a/compose/material/material/build.gradle +++ b/compose/material/material/build.gradle @@ -187,6 +187,41 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) { } } +// This task updates the translations of the localizable strings in this module. +// It obtains them from Android's base repository. +tasks.register("updateTranslations", UpdateTranslationsTask.class) { + group = "localization" + gitRepo = "https://github.com/androidx/androidx" + repoResDirectories = ["compose/ui/ui/src/androidMain/res"] + targetDirectory = project.file("src/skikoMain/kotlin/androidx/compose/material/l10n") + targetPackageName = "androidx.compose.material.l10n" + kotlinStringsPackageName = "androidx.compose.material" + stringByResourceName = [ + "navigation_menu": "NavigationMenu", + "close_drawer": "CloseDrawer", + "close_sheet": "CloseSheet", + "default_error_message": "DefaultErrorMessage", + "dropdown_menu": "ExposedDropdownMenu", + "range_start": "SliderRangeStart", + "range_end": "SliderRangeEnd", + ] + // This is all the locales translated by Compose on Android in the ui module: + // https://github.com/androidx/androidx/tree/androidx-main/compose/ui/ui/src/androidMain/res + // with the exception of + // - b+sr+Latn which doesn't appear to be supported by Java + // - en_XC which has weird invisible LRM characters, and the visible text is the same as for + // en anyway. + locales = [ + "en", "af", "am", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "da", "de", + "el", "en_AU", "en_CA", "en_GB", "en_IN", "es", "es_US", "et", "eu", "fa", + "fi", "fr", "fr_CA", "gl", "gu", "hi", "hr", "hu", "hy", "in", "is", "it", "iw", + "ja", "ka", "kk", "km", "kn", "ko", "ky", "lo", "lt", "lv", "mk", "ml", "mn", "mr", + "ms", "my", "nb", "ne", "nl", "or", "pa", "pl", "pt", "pt_BR", "pt_PT", "ro", "ru", + "si", "sk", "sl", "sq", "sr", "sv", "sw", "ta", "te", "th", "tl", "tr", "uk", "ur", + "uz", "vi", "zh_CN", "zh_HK", "zh_TW", "zu" + ] +} + androidx { name = "Compose Material Components" type = LibraryType.PUBLISHED_LIBRARY diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/Strings.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/Strings.kt new file mode 100644 index 0000000000000..7fb0ea6c26dd2 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/Strings.kt @@ -0,0 +1,91 @@ +/* + * Copyright 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material + +import androidx.compose.material.l10n.TranslationProviderByLocaleTag +import androidx.compose.material.l10n.en +import androidx.compose.runtime.Composable +import androidx.compose.runtime.ReadOnlyComposable +import androidx.compose.ui.text.intl.Locale + +@Composable +@ReadOnlyComposable +internal actual fun getString(string: Strings): String { + val locale = Locale.current + val tag = localeTag(language = locale.language, region = locale.region) + val translation = translationByLocaleTag.getOrPut(tag) { + findTranslation(locale) + } + return translation[string] ?: error("Missing translation for $string") +} + +/** + * A single translation; should contain all the [Strings]. + */ +internal typealias Translation = Map + +/** + * Translations we've already loaded, mapped by the locale tag (see [localeTag]). + */ +private val translationByLocaleTag = mutableMapOf() + +/** + * Returns the tag for the given locale. + * + * Note that this is our internal format; this isn't the same as [Locale.toLanguageTag]. + */ +private fun localeTag(language: String, region: String) = when { + language == "" -> "" + region == "" -> language + else -> "${language}_$region" +} + +/** + * Returns a sequence of locale tags to use as keys to look up the translation for the given locale. + * + * Note that we don't need to check children (e.g. use `fr_FR` if `fr` is missing) because the + * translations should never have a missing parent. + */ +private fun localeTagChain(locale: Locale) = sequence { + if (locale.region != "") { + yield(localeTag(language = locale.language, region = locale.region)) + } + if (locale.language != "") { + yield(localeTag(language = locale.language, region = "")) + } + yield(localeTag("", "")) +} + +/** + * Finds a [Translation] for the given locale. + */ +private fun findTranslation(locale: Locale): Translation { + for (tag in localeTagChain(locale)) { + // We don't need to merge translations because each one should contain all the strings. + val translation = TranslationProviderByLocaleTag[tag]?.invoke() + if (translation != null) { + return translation + } + } + error("Root translation must be present") +} + +/** + * This object is only needed to provide a namespace for the [Translation] provider functions + * (e.g. [Translations.en]), to avoid polluting the global namespace. + */ +internal object Translations \ No newline at end of file diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Af.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Af.kt new file mode 100644 index 0000000000000..aed8aae0a1268 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Af.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.af() = mapOf( + Strings.NavigationMenu to "Navigasiekieslys", + Strings.ExposedDropdownMenu to "Aftrekkieslys", + Strings.CloseDrawer to "Maak navigasiekieslys toe", + Strings.CloseSheet to "Maak sigblad toe", + Strings.DefaultErrorMessage to "Ongeldige invoer", + Strings.SliderRangeStart to "Begingrens", + Strings.SliderRangeEnd to "Eindgrens", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Am.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Am.kt new file mode 100644 index 0000000000000..2d85f9bc2aa68 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Am.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.am() = mapOf( + Strings.NavigationMenu to "የዳሰሳ ምናሌ", + Strings.ExposedDropdownMenu to "ተቆልቋይ ምናሌ", + Strings.CloseDrawer to "የዳሰሳ ምናሌን ዝጋ", + Strings.CloseSheet to "ሉህን ዝጋ", + Strings.DefaultErrorMessage to "ልክ ያልሆነ ግቤት", + Strings.SliderRangeStart to "የክልል መጀመሪያ", + Strings.SliderRangeEnd to "የክልል መጨረሻ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ar.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ar.kt new file mode 100644 index 0000000000000..3ca9135aa96e1 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ar.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ar() = mapOf( + Strings.NavigationMenu to "قائمة تنقل", + Strings.ExposedDropdownMenu to "قائمة منسدلة", + Strings.CloseDrawer to "إغلاق قائمة التنقل", + Strings.CloseSheet to "إغلاق الورقة", + Strings.DefaultErrorMessage to "إدخال غير صالح", + Strings.SliderRangeStart to "بداية النطاق", + Strings.SliderRangeEnd to "نهاية النطاق", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/As.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/As.kt new file mode 100644 index 0000000000000..504a37cbcf05d --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/As.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`as`() = mapOf( + Strings.NavigationMenu to "নেভিগেশ্বন মেনু", + Strings.ExposedDropdownMenu to "ড্ৰপডাউনৰ মেনু", + Strings.CloseDrawer to "নেভিগেশ্বন মেনু বন্ধ কৰক", + Strings.CloseSheet to "শ্বীট বন্ধ কৰক", + Strings.DefaultErrorMessage to "অমান্য ইনপুট", + Strings.SliderRangeStart to "পৰিসৰৰ আৰম্ভণি", + Strings.SliderRangeEnd to "পৰিসৰৰ সমাপ্তি", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Az.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Az.kt new file mode 100644 index 0000000000000..821ba87b3ab13 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Az.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.az() = mapOf( + Strings.NavigationMenu to "Naviqasiya menyusu", + Strings.ExposedDropdownMenu to "Aşağı açılan menyu", + Strings.CloseDrawer to "Naviqasiya menyusunu bağlayın", + Strings.CloseSheet to "Səhifəni bağlayın", + Strings.DefaultErrorMessage to "Yanlış daxiletmə", + Strings.SliderRangeStart to "Sıranın başlanğıcı", + Strings.SliderRangeEnd to "Sıranın sonu", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Be.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Be.kt new file mode 100644 index 0000000000000..762ad217e19c1 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Be.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.be() = mapOf( + Strings.NavigationMenu to "Меню навігацыі", + Strings.ExposedDropdownMenu to "Выпадное меню", + Strings.CloseDrawer to "Закрыць меню навігацыі", + Strings.CloseSheet to "Закрыць аркуш", + Strings.DefaultErrorMessage to "Памылка ўводу", + Strings.SliderRangeStart to "Пачатак пераліку", + Strings.SliderRangeEnd to "Канец пераліку", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bg.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bg.kt new file mode 100644 index 0000000000000..a046ac9a4e896 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bg.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bg() = mapOf( + Strings.NavigationMenu to "Меню за навигация", + Strings.ExposedDropdownMenu to "Падащо меню", + Strings.CloseDrawer to "Затваряне на менюто за навигация", + Strings.CloseSheet to "Затваряне на таблицата", + Strings.DefaultErrorMessage to "Въведеното е невалидно", + Strings.SliderRangeStart to "Начало на обхвата", + Strings.SliderRangeEnd to "Край на обхвата", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bn.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bn.kt new file mode 100644 index 0000000000000..ac6723a45c9fe --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bn.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bn() = mapOf( + Strings.NavigationMenu to "নেভিগেশন মেনু", + Strings.ExposedDropdownMenu to "ড্রপডাউন মেনু", + Strings.CloseDrawer to "নেভিগেশন মেনু বন্ধ করুন", + Strings.CloseSheet to "শিট বন্ধ করুন", + Strings.DefaultErrorMessage to "ভুল ইনপুট", + Strings.SliderRangeStart to "রেঞ্জ শুরু", + Strings.SliderRangeEnd to "রেঞ্জ শেষ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bs.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bs.kt new file mode 100644 index 0000000000000..96c9851565f73 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Bs.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bs() = mapOf( + Strings.NavigationMenu to "Meni za navigaciju", + Strings.ExposedDropdownMenu to "Padajući meni", + Strings.CloseDrawer to "Zatvaranje navigacionog menija", + Strings.CloseSheet to "Zatvaranje tabele", + Strings.DefaultErrorMessage to "Pogrešan unos", + Strings.SliderRangeStart to "Početak raspona", + Strings.SliderRangeEnd to "Kraj raspona", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ca.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ca.kt new file mode 100644 index 0000000000000..8c9523adafef3 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ca.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ca() = mapOf( + Strings.NavigationMenu to "Menú de navegació", + Strings.ExposedDropdownMenu to "Menú desplegable", + Strings.CloseDrawer to "Tanca el menú de navegació", + Strings.CloseSheet to "Tanca el full", + Strings.DefaultErrorMessage to "L\'entrada no és vàlida", + Strings.SliderRangeStart to "Inici de l\'interval", + Strings.SliderRangeEnd to "Fi de l\'interval", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Cs.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Cs.kt new file mode 100644 index 0000000000000..2f86a09b87e7d --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Cs.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.cs() = mapOf( + Strings.NavigationMenu to "Navigační nabídka", + Strings.ExposedDropdownMenu to "Rozbalovací nabídka", + Strings.CloseDrawer to "Zavřít navigační panel", + Strings.CloseSheet to "Zavřít sešit", + Strings.DefaultErrorMessage to "Neplatný údaj", + Strings.SliderRangeStart to "Začátek rozsahu", + Strings.SliderRangeEnd to "Konec rozsahu", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Da.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Da.kt new file mode 100644 index 0000000000000..fb2b0316feca4 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Da.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.da() = mapOf( + Strings.NavigationMenu to "Navigationsmenu", + Strings.ExposedDropdownMenu to "Rullemenu", + Strings.CloseDrawer to "Luk navigationsmenuen", + Strings.CloseSheet to "Luk arket", + Strings.DefaultErrorMessage to "Ugyldigt input", + Strings.SliderRangeStart to "Startinterval", + Strings.SliderRangeEnd to "Slutinterval", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/De.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/De.kt new file mode 100644 index 0000000000000..a67719f2a48af --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/De.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.de() = mapOf( + Strings.NavigationMenu to "Navigationsmenü", + Strings.ExposedDropdownMenu to "Drop-down-Menü", + Strings.CloseDrawer to "Navigationsmenü schließen", + Strings.CloseSheet to "Tabelle schließen", + Strings.DefaultErrorMessage to "Ungültige Eingabe", + Strings.SliderRangeStart to "Bereichsstart", + Strings.SliderRangeEnd to "Bereichsende", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/El.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/El.kt new file mode 100644 index 0000000000000..13cccbab8bc10 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/El.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.el() = mapOf( + Strings.NavigationMenu to "Μενού πλοήγησης", + Strings.ExposedDropdownMenu to "Αναπτυσσόμενο μενού", + Strings.CloseDrawer to "Κλείσιμο του μενού πλοήγησης", + Strings.CloseSheet to "Κλείσιμο φύλλου", + Strings.DefaultErrorMessage to "Μη έγκυρη καταχώριση", + Strings.SliderRangeStart to "Αρχή εύρους", + Strings.SliderRangeEnd to "Τέλος εύρους", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/En.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/En.kt new file mode 100644 index 0000000000000..eb5cd900283dc --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/En.kt @@ -0,0 +1,75 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.en() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Dropdown menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enAU() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Drop-down menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enCA() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Dropdown menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enGB() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Drop-down menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enIN() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Drop-down menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Es.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Es.kt new file mode 100644 index 0000000000000..d934dfb4b0b3f --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Es.kt @@ -0,0 +1,42 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.es() = mapOf( + Strings.NavigationMenu to "Menú de navegación", + Strings.ExposedDropdownMenu to "Menú desplegable", + Strings.CloseDrawer to "Cerrar menú de navegación", + Strings.CloseSheet to "Cerrar hoja", + Strings.DefaultErrorMessage to "Entrada no válida", + Strings.SliderRangeStart to "Inicio del intervalo", + Strings.SliderRangeEnd to "Fin del intervalo", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.esUS() = mapOf( + Strings.NavigationMenu to "Menú de navegación", + Strings.ExposedDropdownMenu to "Menú desplegable", + Strings.CloseDrawer to "Cerrar el menú de navegación", + Strings.CloseSheet to "Cerrar hoja", + Strings.DefaultErrorMessage to "Entrada no válida", + Strings.SliderRangeStart to "Inicio de intervalo", + Strings.SliderRangeEnd to "Final de intervalo", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Et.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Et.kt new file mode 100644 index 0000000000000..b5b735c414a5f --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Et.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.et() = mapOf( + Strings.NavigationMenu to "Navigeerimismenüü", + Strings.ExposedDropdownMenu to "Rippmenüü", + Strings.CloseDrawer to "Sule navigeerimismenüü", + Strings.CloseSheet to "Sule leht", + Strings.DefaultErrorMessage to "Sobimatu sisend", + Strings.SliderRangeStart to "Vahemiku algus", + Strings.SliderRangeEnd to "Vahemiku lõpp", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Eu.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Eu.kt new file mode 100644 index 0000000000000..d1b9f758a7c64 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Eu.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.eu() = mapOf( + Strings.NavigationMenu to "Nabigazio-menua", + Strings.ExposedDropdownMenu to "Goitibeherako menua", + Strings.CloseDrawer to "Itxi nabigazio-menua", + Strings.CloseSheet to "Itxi orria", + Strings.DefaultErrorMessage to "Sarrerak ez du balio", + Strings.SliderRangeStart to "Barrutiaren hasiera", + Strings.SliderRangeEnd to "Barrutiaren amaiera", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fa.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fa.kt new file mode 100644 index 0000000000000..1c76578742acf --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fa.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fa() = mapOf( + Strings.NavigationMenu to "منوی پیمایش", + Strings.ExposedDropdownMenu to "منوی کرکره‌ای", + Strings.CloseDrawer to "بستن منوی پیمایش", + Strings.CloseSheet to "بستن برگ", + Strings.DefaultErrorMessage to "ورودی نامعتبر", + Strings.SliderRangeStart to "شروع محدوده", + Strings.SliderRangeEnd to "پایان محدوده", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fi.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fi.kt new file mode 100644 index 0000000000000..67ae85878f718 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fi.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fi() = mapOf( + Strings.NavigationMenu to "Navigointivalikko", + Strings.ExposedDropdownMenu to "Avattava valikko", + Strings.CloseDrawer to "Sulje navigointivalikko", + Strings.CloseSheet to "Sulje taulukko", + Strings.DefaultErrorMessage to "Virheellinen syöte", + Strings.SliderRangeStart to "Alueen alku", + Strings.SliderRangeEnd to "Alueen loppu", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fr.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fr.kt new file mode 100644 index 0000000000000..e9b714a0eb7b1 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Fr.kt @@ -0,0 +1,42 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fr() = mapOf( + Strings.NavigationMenu to "Menu de navigation", + Strings.ExposedDropdownMenu to "Menu déroulant", + Strings.CloseDrawer to "Fermer le menu de navigation", + Strings.CloseSheet to "Fermer la feuille", + Strings.DefaultErrorMessage to "Données incorrectes", + Strings.SliderRangeStart to "Début de plage", + Strings.SliderRangeEnd to "Fin de plage", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.frCA() = mapOf( + Strings.NavigationMenu to "Menu de navigation", + Strings.ExposedDropdownMenu to "Menu déroulant", + Strings.CloseDrawer to "Fermer le menu de navigation", + Strings.CloseSheet to "Fermer la feuille", + Strings.DefaultErrorMessage to "Entrée incorrecte", + Strings.SliderRangeStart to "Début de plage", + Strings.SliderRangeEnd to "Fin de plage", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gl.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gl.kt new file mode 100644 index 0000000000000..152b892510329 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gl.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.gl() = mapOf( + Strings.NavigationMenu to "Menú de navegación", + Strings.ExposedDropdownMenu to "Menú despregable", + Strings.CloseDrawer to "Pechar menú de navegación", + Strings.CloseSheet to "Pechar folla", + Strings.DefaultErrorMessage to "O texto escrito non é válido", + Strings.SliderRangeStart to "Inicio do intervalo", + Strings.SliderRangeEnd to "Fin do intervalo", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gu.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gu.kt new file mode 100644 index 0000000000000..d98ceb4fc65fc --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Gu.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.gu() = mapOf( + Strings.NavigationMenu to "નૅવિગેશન મેનૂ", + Strings.ExposedDropdownMenu to "ડ્રૉપડાઉન મેનૂ", + Strings.CloseDrawer to "નૅવિગેશન મેનૂ બંધ કરો", + Strings.CloseSheet to "શીટ બંધ કરો", + Strings.DefaultErrorMessage to "અમાન્ય ઇનપુટ", + Strings.SliderRangeStart to "રેંજની શરૂઆત", + Strings.SliderRangeEnd to "રેંજની સમાપ્તિ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hi.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hi.kt new file mode 100644 index 0000000000000..7b991bb21193c --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hi.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hi() = mapOf( + Strings.NavigationMenu to "नेविगेशन मेन्यू", + Strings.ExposedDropdownMenu to "ड्रॉपडाउन मेन्यू", + Strings.CloseDrawer to "नेविगेशन मेन्यू बंद करें", + Strings.CloseSheet to "शीट बंद करें", + Strings.DefaultErrorMessage to "अमान्य इनपुट", + Strings.SliderRangeStart to "रेंज की शुरुआत", + Strings.SliderRangeEnd to "रेंज की सीमा", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hr.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hr.kt new file mode 100644 index 0000000000000..8835526bfa29e --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hr.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hr() = mapOf( + Strings.NavigationMenu to "Navigacijski izbornik", + Strings.ExposedDropdownMenu to "Padajući izbornik", + Strings.CloseDrawer to "Zatvaranje izbornika za navigaciju", + Strings.CloseSheet to "Zatvaranje lista", + Strings.DefaultErrorMessage to "Nevažeći unos", + Strings.SliderRangeStart to "Početak raspona", + Strings.SliderRangeEnd to "Kraj raspona", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hu.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hu.kt new file mode 100644 index 0000000000000..763072c3c9f81 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hu.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hu() = mapOf( + Strings.NavigationMenu to "Navigációs menü", + Strings.ExposedDropdownMenu to "Legördülő menü", + Strings.CloseDrawer to "Navigációs menü bezárása", + Strings.CloseSheet to "Munkalap bezárása", + Strings.DefaultErrorMessage to "Érvénytelen adat", + Strings.SliderRangeStart to "Tartomány kezdete", + Strings.SliderRangeEnd to "Tartomány vége", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hy.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hy.kt new file mode 100644 index 0000000000000..cb29e325a2856 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Hy.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hy() = mapOf( + Strings.NavigationMenu to "Նավիգացիայի ընտրացանկ", + Strings.ExposedDropdownMenu to "Իջնող ցանկ", + Strings.CloseDrawer to "Փակել նավիգացիայի ընտրացանկը", + Strings.CloseSheet to "Փակել թերթը", + Strings.DefaultErrorMessage to "Սխալ ներածում", + Strings.SliderRangeStart to "Ընդգրկույթի սկիզբ", + Strings.SliderRangeEnd to "Ընդգրկույթի վերջ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/In.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/In.kt new file mode 100644 index 0000000000000..0d19fc6c5b574 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/In.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`in`() = mapOf( + Strings.NavigationMenu to "Menu navigasi", + Strings.ExposedDropdownMenu to "Menu dropdown", + Strings.CloseDrawer to "Tutup menu navigasi", + Strings.CloseSheet to "Tutup sheet", + Strings.DefaultErrorMessage to "Input tidak valid", + Strings.SliderRangeStart to "Rentang awal", + Strings.SliderRangeEnd to "Rentang akhir", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Is.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Is.kt new file mode 100644 index 0000000000000..cebace7846680 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Is.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`is`() = mapOf( + Strings.NavigationMenu to "Yfirlitsvalmynd", + Strings.ExposedDropdownMenu to "Fellivalmynd", + Strings.CloseDrawer to "Loka yfirlitsvalmynd", + Strings.CloseSheet to "Loka blaði", + Strings.DefaultErrorMessage to "Ógildur innsláttur", + Strings.SliderRangeStart to "Upphaf sviðs", + Strings.SliderRangeEnd to "Lok sviðs", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/It.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/It.kt new file mode 100644 index 0000000000000..f30296bb2611a --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/It.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.it() = mapOf( + Strings.NavigationMenu to "Menu di navigazione", + Strings.ExposedDropdownMenu to "Menu a discesa", + Strings.CloseDrawer to "Chiudi il menu di navigazione", + Strings.CloseSheet to "Chiudi il foglio", + Strings.DefaultErrorMessage to "Valore non valido", + Strings.SliderRangeStart to "Inizio intervallo", + Strings.SliderRangeEnd to "Fine intervallo", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Iw.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Iw.kt new file mode 100644 index 0000000000000..b6ed5de881630 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Iw.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.iw() = mapOf( + Strings.NavigationMenu to "תפריט הניווט", + Strings.ExposedDropdownMenu to "תפריט נפתח", + Strings.CloseDrawer to "סגירת תפריט הניווט", + Strings.CloseSheet to "סגירת הגיליון", + Strings.DefaultErrorMessage to "הקלט לא תקין", + Strings.SliderRangeStart to "תחילת הטווח", + Strings.SliderRangeEnd to "סוף הטווח", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ja.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ja.kt new file mode 100644 index 0000000000000..22bd170dcf8e6 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ja.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ja() = mapOf( + Strings.NavigationMenu to "ナビゲーションメニュー", + Strings.ExposedDropdownMenu to "プルダウン メニュー", + Strings.CloseDrawer to "ナビゲーションメニューを閉じる", + Strings.CloseSheet to "シートを閉じる", + Strings.DefaultErrorMessage to "入力値が無効です", + Strings.SliderRangeStart to "範囲の先頭", + Strings.SliderRangeEnd to "範囲の末尾", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ka.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ka.kt new file mode 100644 index 0000000000000..1d62a37c79bd9 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ka.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ka() = mapOf( + Strings.NavigationMenu to "ნავიგაციის მენიუ", + Strings.ExposedDropdownMenu to "ჩამოსაშლელი მენიუ", + Strings.CloseDrawer to "ნავიგაციის მენიუს დახურვა", + Strings.CloseSheet to "ფურცლის დახურვა", + Strings.DefaultErrorMessage to "შენატანი არასწორია", + Strings.SliderRangeStart to "დიაპაზონის დასაწყისი", + Strings.SliderRangeEnd to "დიაპაზონის დასასრული", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kk.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kk.kt new file mode 100644 index 0000000000000..008d4c3a1f835 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kk.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.kk() = mapOf( + Strings.NavigationMenu to "Навигация мәзірі", + Strings.ExposedDropdownMenu to "Ашылмалы мәзір", + Strings.CloseDrawer to "Навигация мәзірін жабу", + Strings.CloseSheet to "Парақты жабу", + Strings.DefaultErrorMessage to "Енгізілген мән жарамсыз.", + Strings.SliderRangeStart to "Аралықтың басы", + Strings.SliderRangeEnd to "Аралықтың соңы", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Km.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Km.kt new file mode 100644 index 0000000000000..033f07a1a32cb --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Km.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.km() = mapOf( + Strings.NavigationMenu to "ម៉ឺនុយរុករក", + Strings.ExposedDropdownMenu to "ម៉ឺនុយធ្លាក់ចុះ", + Strings.CloseDrawer to "បិទម៉ឺនុយរុករក", + Strings.CloseSheet to "បិទសន្លឹក", + Strings.DefaultErrorMessage to "ការបញ្ចូល​មិនត្រឹមត្រូវ", + Strings.SliderRangeStart to "ចំណុចចាប់ផ្ដើម", + Strings.SliderRangeEnd to "ចំណុចបញ្ចប់", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kn.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kn.kt new file mode 100644 index 0000000000000..f22d07087733c --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Kn.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.kn() = mapOf( + Strings.NavigationMenu to "ನ್ಯಾವಿಗೇಶನ್‌ ಮೆನು", + Strings.ExposedDropdownMenu to "ಡ್ರಾಪ್‌ಡೌನ್ ಮೆನು", + Strings.CloseDrawer to "ನ್ಯಾವಿಗೇಷನ್‌ ಮೆನು ಮುಚ್ಚಿರಿ", + Strings.CloseSheet to "ಶೀಟ್ ಮುಚ್ಚಿರಿ", + Strings.DefaultErrorMessage to "ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್", + Strings.SliderRangeStart to "ಶ್ರೇಣಿಯ ಪ್ರಾರಂಭ", + Strings.SliderRangeEnd to "ಶ್ರೇಣಿಯ ಅಂತ್ಯ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ko.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ko.kt new file mode 100644 index 0000000000000..94e342c34f527 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ko.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ko() = mapOf( + Strings.NavigationMenu to "탐색 메뉴", + Strings.ExposedDropdownMenu to "드롭다운 메뉴", + Strings.CloseDrawer to "탐색 메뉴 닫기", + Strings.CloseSheet to "시트 닫기", + Strings.DefaultErrorMessage to "입력이 잘못됨", + Strings.SliderRangeStart to "범위 시작", + Strings.SliderRangeEnd to "범위 끝", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ky.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ky.kt new file mode 100644 index 0000000000000..a87dae761dbd5 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ky.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ky() = mapOf( + Strings.NavigationMenu to "Чабыттоо менюсу", + Strings.ExposedDropdownMenu to "Түрүлмө меню", + Strings.CloseDrawer to "Чабыттоо менюсун жабуу", + Strings.CloseSheet to "Баракты жабуу", + Strings.DefaultErrorMessage to "Киргизилген маалымат жараксыз", + Strings.SliderRangeStart to "Диапазондун башы", + Strings.SliderRangeEnd to "Диапазондун аягы", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lo.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lo.kt new file mode 100644 index 0000000000000..d7f2853ec0d17 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lo.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lo() = mapOf( + Strings.NavigationMenu to "ເມນູການນຳທາງ", + Strings.ExposedDropdownMenu to "ເມນູແບບເລື່ອນລົງ", + Strings.CloseDrawer to "ປິດ​ເມ​ນູການ​ນຳ​ທາງ", + Strings.CloseSheet to "ປິດຊີດ", + Strings.DefaultErrorMessage to "ຂໍ້ມູນທີ່ປ້ອນເຂົ້າບໍ່ຖືກຕ້ອງ", + Strings.SliderRangeStart to "ເລີ່ມຕົ້ນໄລຍະ", + Strings.SliderRangeEnd to "ສິ້ນສຸດໄລຍະ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lt.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lt.kt new file mode 100644 index 0000000000000..2cb394994a297 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lt.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lt() = mapOf( + Strings.NavigationMenu to "Naršymo meniu", + Strings.ExposedDropdownMenu to "Išskleidžiamasis meniu", + Strings.CloseDrawer to "Uždaryti naršymo meniu", + Strings.CloseSheet to "Uždaryti lapą", + Strings.DefaultErrorMessage to "Netinkama įvestis", + Strings.SliderRangeStart to "Diapazono pradžia", + Strings.SliderRangeEnd to "Diapazono pabaiga", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lv.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lv.kt new file mode 100644 index 0000000000000..e25979f5a8714 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Lv.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lv() = mapOf( + Strings.NavigationMenu to "Navigācijas izvēlne", + Strings.ExposedDropdownMenu to "Nolaižamā izvēlne", + Strings.CloseDrawer to "Aizvērt navigācijas izvēlni", + Strings.CloseSheet to "Aizvērt izklājlapu", + Strings.DefaultErrorMessage to "Nederīga ievade", + Strings.SliderRangeStart to "Diapazona sākums", + Strings.SliderRangeEnd to "Diapazona beigas", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mk.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mk.kt new file mode 100644 index 0000000000000..82c17d971c780 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mk.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mk() = mapOf( + Strings.NavigationMenu to "Мени за навигација", + Strings.ExposedDropdownMenu to "Паѓачко мени", + Strings.CloseDrawer to "Затворете го менито за навигација", + Strings.CloseSheet to "Затворете го листот", + Strings.DefaultErrorMessage to "Неважечки запис", + Strings.SliderRangeStart to "Почеток на опсегот", + Strings.SliderRangeEnd to "Крај на опсегот", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ml.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ml.kt new file mode 100644 index 0000000000000..9a3514124d037 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ml.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ml() = mapOf( + Strings.NavigationMenu to "നാവിഗേഷൻ മെനു", + Strings.ExposedDropdownMenu to "ഡ്രോപ്പ്‌ഡൗൺ മെനു", + Strings.CloseDrawer to "നാവിഗേഷൻ മെനു അടയ്‌ക്കുക", + Strings.CloseSheet to "ഷീറ്റ് അടയ്ക്കുക", + Strings.DefaultErrorMessage to "ഇൻപുട്ട് അസാധുവാണ്", + Strings.SliderRangeStart to "ശ്രേണിയുടെ ആരംഭം", + Strings.SliderRangeEnd to "ശ്രേണിയുടെ അവസാനം", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mn.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mn.kt new file mode 100644 index 0000000000000..d224b572dc5f5 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mn.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mn() = mapOf( + Strings.NavigationMenu to "Навигацын цэс", + Strings.ExposedDropdownMenu to "Унадаг цэс", + Strings.CloseDrawer to "Навигацын цэсийг хаах", + Strings.CloseSheet to "Хүснэгтийг хаах", + Strings.DefaultErrorMessage to "Буруу оролт", + Strings.SliderRangeStart to "Мужийн эхлэл", + Strings.SliderRangeEnd to "Мужийн төгсгөл", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mr.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mr.kt new file mode 100644 index 0000000000000..a2a214c3aa779 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Mr.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mr() = mapOf( + Strings.NavigationMenu to "नेव्हिगेशन मेनू", + Strings.ExposedDropdownMenu to "ड्रॉपडाउन मेनू", + Strings.CloseDrawer to "नेव्हिगेशन मेनू बंद करा", + Strings.CloseSheet to "शीट बंद करा", + Strings.DefaultErrorMessage to "इनपुट चुकीचे आहे", + Strings.SliderRangeStart to "रेंजची सुरुवात", + Strings.SliderRangeEnd to "रेंजचा शेवट", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ms.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ms.kt new file mode 100644 index 0000000000000..4f2ad38ff5dba --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ms.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ms() = mapOf( + Strings.NavigationMenu to "Menu navigasi", + Strings.ExposedDropdownMenu to "Menu lungsur", + Strings.CloseDrawer to "Tutup menu navigasi", + Strings.CloseSheet to "Tutup helaian", + Strings.DefaultErrorMessage to "Input tidak sah", + Strings.SliderRangeStart to "Permulaan julat", + Strings.SliderRangeEnd to "Penghujung julat", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/My.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/My.kt new file mode 100644 index 0000000000000..9907346790953 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/My.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.my() = mapOf( + Strings.NavigationMenu to "လမ်းညွှန် မီနူး", + Strings.ExposedDropdownMenu to "ဆွဲချမီနူး", + Strings.CloseDrawer to "လမ်းညွှန် မီနူး ပိတ်ရန်", + Strings.CloseSheet to "စာမျက်နှာ ပိတ်ရန်", + Strings.DefaultErrorMessage to "ထည့်သွင်းမှု မမှန်ကန်ပါ", + Strings.SliderRangeStart to "အပိုင်းအခြား အစ", + Strings.SliderRangeEnd to "အပိုင်းအခြား အဆုံး", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nb.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nb.kt new file mode 100644 index 0000000000000..fa9ae1869a363 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nb.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.nb() = mapOf( + Strings.NavigationMenu to "Navigasjonsmeny", + Strings.ExposedDropdownMenu to "Rullegardinmeny", + Strings.CloseDrawer to "Lukk navigasjonsmenyen", + Strings.CloseSheet to "Lukk arket", + Strings.DefaultErrorMessage to "Ugyldige inndata", + Strings.SliderRangeStart to "Områdestart", + Strings.SliderRangeEnd to "Områdeslutt", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ne.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ne.kt new file mode 100644 index 0000000000000..0af695f486121 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ne.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ne() = mapOf( + Strings.NavigationMenu to "नेभिगेसन मेनु", + Strings.ExposedDropdownMenu to "ड्रपडाउन मेनु", + Strings.CloseDrawer to "नेभिगेसन मेनु बन्द गर्नुहोस्", + Strings.CloseSheet to "पाना बन्द गर्नुहोस्", + Strings.DefaultErrorMessage to "अवैद्य इन्पुट", + Strings.SliderRangeStart to "दायराको सुरुवात बिन्दु", + Strings.SliderRangeEnd to "दायराको अन्तिम बिन्दु", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nl.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nl.kt new file mode 100644 index 0000000000000..ac85e7eaa316b --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Nl.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.nl() = mapOf( + Strings.NavigationMenu to "Navigatiemenu", + Strings.ExposedDropdownMenu to "Dropdownmenu", + Strings.CloseDrawer to "Navigatiemenu sluiten", + Strings.CloseSheet to "Blad sluiten", + Strings.DefaultErrorMessage to "Ongeldige invoer", + Strings.SliderRangeStart to "Start bereik", + Strings.SliderRangeEnd to "Einde bereik", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Or.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Or.kt new file mode 100644 index 0000000000000..b611988da1002 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Or.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.or() = mapOf( + Strings.NavigationMenu to "ନାଭିଗେସନ୍ ମେନୁ", + Strings.ExposedDropdownMenu to "ଡ୍ରପଡାଉନ ମେନୁ", + Strings.CloseDrawer to "ନାଭିଗେସନ୍ ମେନୁ ବନ୍ଦ କରନ୍ତୁ", + Strings.CloseSheet to "ସିଟ୍ ବନ୍ଦ କରନ୍ତୁ", + Strings.DefaultErrorMessage to "ଅବୈଧ ଇନପୁଟ୍", + Strings.SliderRangeStart to "ରେଞ୍ଜ ଆରମ୍ଭ", + Strings.SliderRangeEnd to "ରେଞ୍ଜ ଶେଷ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pa.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pa.kt new file mode 100644 index 0000000000000..6e2633334e369 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pa.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pa() = mapOf( + Strings.NavigationMenu to "ਨੈਵੀਗੇਸ਼ਨ ਮੀਨੂ", + Strings.ExposedDropdownMenu to "ਡ੍ਰੌਪ-ਡਾਊਨ ਮੀਨੂ", + Strings.CloseDrawer to "ਨੈਵੀਗੇਸ਼ਨ ਮੀਨੂ ਬੰਦ ਕਰੋ", + Strings.CloseSheet to "ਸ਼ੀਟ ਬੰਦ ਕਰੋ", + Strings.DefaultErrorMessage to "ਅਵੈਧ ਇਨਪੁੱਟ", + Strings.SliderRangeStart to "ਰੇਂਜ ਸ਼ੁਰੂ", + Strings.SliderRangeEnd to "ਰੇਂਜ ਸਮਾਪਤ", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pl.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pl.kt new file mode 100644 index 0000000000000..c4b961ce4f602 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pl.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pl() = mapOf( + Strings.NavigationMenu to "Menu nawigacyjne", + Strings.ExposedDropdownMenu to "Menu", + Strings.CloseDrawer to "Zamknij menu nawigacyjne", + Strings.CloseSheet to "Zamknij arkusz", + Strings.DefaultErrorMessage to "Nieprawidłowe dane wejściowe", + Strings.SliderRangeStart to "Początek zakresu", + Strings.SliderRangeEnd to "Koniec zakresu", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pt.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pt.kt new file mode 100644 index 0000000000000..968d757eeb817 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Pt.kt @@ -0,0 +1,53 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pt() = mapOf( + Strings.NavigationMenu to "Menu de navegação", + Strings.ExposedDropdownMenu to "Menu suspenso", + Strings.CloseDrawer to "Fechar menu de navegação", + Strings.CloseSheet to "Fechar planilha", + Strings.DefaultErrorMessage to "Entrada inválida", + Strings.SliderRangeStart to "Início do intervalo", + Strings.SliderRangeEnd to "Fim do intervalo", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ptBR() = mapOf( + Strings.NavigationMenu to "Menu de navegação", + Strings.ExposedDropdownMenu to "Menu suspenso", + Strings.CloseDrawer to "Fechar menu de navegação", + Strings.CloseSheet to "Fechar planilha", + Strings.DefaultErrorMessage to "Entrada inválida", + Strings.SliderRangeStart to "Início do intervalo", + Strings.SliderRangeEnd to "Fim do intervalo", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ptPT() = mapOf( + Strings.NavigationMenu to "Menu de navegação", + Strings.ExposedDropdownMenu to "Menu pendente", + Strings.CloseDrawer to "Fechar menu de navegação", + Strings.CloseSheet to "Fechar folha", + Strings.DefaultErrorMessage to "Entrada inválida", + Strings.SliderRangeStart to "Início do intervalo", + Strings.SliderRangeEnd to "Fim do intervalo", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ro.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ro.kt new file mode 100644 index 0000000000000..aa73637956cee --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ro.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ro() = mapOf( + Strings.NavigationMenu to "Meniu de navigare", + Strings.ExposedDropdownMenu to "Meniu drop-down", + Strings.CloseDrawer to "Închide meniul de navigare", + Strings.CloseSheet to "Închide foaia", + Strings.DefaultErrorMessage to "Intrare nevalidă", + Strings.SliderRangeStart to "Început de interval", + Strings.SliderRangeEnd to "Sfârșit de interval", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ru.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ru.kt new file mode 100644 index 0000000000000..395e0375afe7d --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ru.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ru() = mapOf( + Strings.NavigationMenu to "Меню навигации", + Strings.ExposedDropdownMenu to "Раскрывающееся меню", + Strings.CloseDrawer to "Закрыть меню навигации", + Strings.CloseSheet to "Закрыть лист", + Strings.DefaultErrorMessage to "Неправильный ввод", + Strings.SliderRangeStart to "Начало диапазона", + Strings.SliderRangeEnd to "Конец диапазона", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Si.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Si.kt new file mode 100644 index 0000000000000..f8b74240d6e01 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Si.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.si() = mapOf( + Strings.NavigationMenu to "සංචාලන මෙනුව", + Strings.ExposedDropdownMenu to "පතන මෙනුව", + Strings.CloseDrawer to "සංචාලන මෙනුව වසන්න", + Strings.CloseSheet to "පත්‍රය වසන්න", + Strings.DefaultErrorMessage to "වලංගු නොවන ආදානයකි", + Strings.SliderRangeStart to "පරාස ආරම්භය", + Strings.SliderRangeEnd to "පරාස අන්තය", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sk.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sk.kt new file mode 100644 index 0000000000000..5737442ebe5a5 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sk.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sk() = mapOf( + Strings.NavigationMenu to "Navigačná ponuka", + Strings.ExposedDropdownMenu to "Rozbaľovacia ponuka", + Strings.CloseDrawer to "Zavrieť navigačnú ponuku", + Strings.CloseSheet to "Zavrieť hárok", + Strings.DefaultErrorMessage to "Neplatný vstup", + Strings.SliderRangeStart to "Začiatok rozsahu", + Strings.SliderRangeEnd to "Koniec rozsahu", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sl.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sl.kt new file mode 100644 index 0000000000000..a090e9dcc2aba --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sl.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sl() = mapOf( + Strings.NavigationMenu to "Meni za krmarjenje", + Strings.ExposedDropdownMenu to "Spustni meni", + Strings.CloseDrawer to "Zapri meni za krmarjenje", + Strings.CloseSheet to "Zapri list", + Strings.DefaultErrorMessage to "Neveljaven vnos", + Strings.SliderRangeStart to "Začetek razpona", + Strings.SliderRangeEnd to "Konec razpona", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sq.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sq.kt new file mode 100644 index 0000000000000..f77d8da267919 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sq.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sq() = mapOf( + Strings.NavigationMenu to "Menyja e navigimit", + Strings.ExposedDropdownMenu to "Menyja me lëshim poshtë", + Strings.CloseDrawer to "Mbyll menynë e navigimit", + Strings.CloseSheet to "Mbyll fletën", + Strings.DefaultErrorMessage to "Hyrje e pavlefshme", + Strings.SliderRangeStart to "Fillimi i diapazonit", + Strings.SliderRangeEnd to "Fundi i diapazonit", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sr.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sr.kt new file mode 100644 index 0000000000000..1a2893d3babe9 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sr.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sr() = mapOf( + Strings.NavigationMenu to "Мени за навигацију", + Strings.ExposedDropdownMenu to "Падајући мени", + Strings.CloseDrawer to "Затвори мени за навигацију", + Strings.CloseSheet to "Затворите табелу", + Strings.DefaultErrorMessage to "Унос је неважећи", + Strings.SliderRangeStart to "Почетак опсега", + Strings.SliderRangeEnd to "Крај опсега", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sv.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sv.kt new file mode 100644 index 0000000000000..045804e082add --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sv.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sv() = mapOf( + Strings.NavigationMenu to "Navigeringsmeny", + Strings.ExposedDropdownMenu to "Rullgardinsmeny", + Strings.CloseDrawer to "Stäng navigeringsmenyn", + Strings.CloseSheet to "Stäng kalkylarket", + Strings.DefaultErrorMessage to "Ogiltiga indata", + Strings.SliderRangeStart to "Intervallets början", + Strings.SliderRangeEnd to "Intervallets slut", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sw.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sw.kt new file mode 100644 index 0000000000000..dc86889e28410 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Sw.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sw() = mapOf( + Strings.NavigationMenu to "Menyu ya kusogeza", + Strings.ExposedDropdownMenu to "Menyu kunjuzi", + Strings.CloseDrawer to "Funga menyu ya kusogeza", + Strings.CloseSheet to "Funga laha", + Strings.DefaultErrorMessage to "Ulichoweka si sahihi", + Strings.SliderRangeStart to "Mwanzo wa masafa", + Strings.SliderRangeEnd to "Mwisho wa masafa", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ta.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ta.kt new file mode 100644 index 0000000000000..1647d7d9dd714 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ta.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ta() = mapOf( + Strings.NavigationMenu to "வழிசெலுத்தல் மெனு", + Strings.ExposedDropdownMenu to "கீழ்த்தோன்றல் மெனு", + Strings.CloseDrawer to "வழிசெலுத்தல் மெனுவை மூடும்", + Strings.CloseSheet to "ஷீட்டை மூடும்", + Strings.DefaultErrorMessage to "தவறான உள்ளீடு", + Strings.SliderRangeStart to "வரம்பு தொடக்கம்", + Strings.SliderRangeEnd to "வரம்பு முடிவு", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Te.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Te.kt new file mode 100644 index 0000000000000..330232bb05760 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Te.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.te() = mapOf( + Strings.NavigationMenu to "నావిగేషన్ మెనూ", + Strings.ExposedDropdownMenu to "డ్రాప్‌డౌన్ మెనూ", + Strings.CloseDrawer to "నావిగేషన్ మెనూను మూసివేయి", + Strings.CloseSheet to "షీట్‌ను మూసివేయి", + Strings.DefaultErrorMessage to "ఇన్‌పుట్ చెల్లదు", + Strings.SliderRangeStart to "పరిధి ప్రారంభమయింది", + Strings.SliderRangeEnd to "పరిధి ముగిసింది", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Th.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Th.kt new file mode 100644 index 0000000000000..f931301cb7b8a --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Th.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.th() = mapOf( + Strings.NavigationMenu to "เมนูการนำทาง", + Strings.ExposedDropdownMenu to "เมนูแบบเลื่อนลง", + Strings.CloseDrawer to "ปิดเมนูการนำทาง", + Strings.CloseSheet to "ปิดชีต", + Strings.DefaultErrorMessage to "อินพุตไม่ถูกต้อง", + Strings.SliderRangeStart to "จุดเริ่มต้นของช่วง", + Strings.SliderRangeEnd to "จุดสิ้นสุดของช่วง", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tl.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tl.kt new file mode 100644 index 0000000000000..a2565f305fe6c --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tl.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.tl() = mapOf( + Strings.NavigationMenu to "Menu ng navigation", + Strings.ExposedDropdownMenu to "Drop-down na menu", + Strings.CloseDrawer to "Isara ang menu ng navigation", + Strings.CloseSheet to "Isara ang sheet", + Strings.DefaultErrorMessage to "Invalid na input", + Strings.SliderRangeStart to "Simula ng range", + Strings.SliderRangeEnd to "Katapusan ng range", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tr.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tr.kt new file mode 100644 index 0000000000000..5472f7f97922c --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Tr.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.tr() = mapOf( + Strings.NavigationMenu to "Gezinme menüsü", + Strings.ExposedDropdownMenu to "Açılır menü", + Strings.CloseDrawer to "Gezinme menüsünü kapat", + Strings.CloseSheet to "Sayfayı kapat", + Strings.DefaultErrorMessage to "Geçersiz giriş", + Strings.SliderRangeStart to "Aralık başlangıcı", + Strings.SliderRangeEnd to "Aralık sonu", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Translations.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Translations.kt new file mode 100644 index 0000000000000..6d16cf7ba0472 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Translations.kt @@ -0,0 +1,111 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Translations + +/** + * Maps each locale tag we have a translation for to a function that creates the translation. + */ +internal val TranslationProviderByLocaleTag = mapOf( + "" to Translations::en, + "en_AU" to Translations::enAU, + "en_CA" to Translations::enCA, + "en_GB" to Translations::enGB, + "en_IN" to Translations::enIN, + "af" to Translations::af, + "am" to Translations::am, + "ar" to Translations::ar, + "as" to Translations::`as`, + "az" to Translations::az, + "be" to Translations::be, + "bg" to Translations::bg, + "bn" to Translations::bn, + "bs" to Translations::bs, + "ca" to Translations::ca, + "cs" to Translations::cs, + "da" to Translations::da, + "de" to Translations::de, + "el" to Translations::el, + "es" to Translations::es, + "es_US" to Translations::esUS, + "et" to Translations::et, + "eu" to Translations::eu, + "fa" to Translations::fa, + "fi" to Translations::fi, + "fr" to Translations::fr, + "fr_CA" to Translations::frCA, + "gl" to Translations::gl, + "gu" to Translations::gu, + "hi" to Translations::hi, + "hr" to Translations::hr, + "hu" to Translations::hu, + "hy" to Translations::hy, + "in" to Translations::`in`, + "id" to Translations::`in`, + "is" to Translations::`is`, + "it" to Translations::it, + "iw" to Translations::iw, + "he" to Translations::iw, + "ja" to Translations::ja, + "ka" to Translations::ka, + "kk" to Translations::kk, + "km" to Translations::km, + "kn" to Translations::kn, + "ko" to Translations::ko, + "ky" to Translations::ky, + "lo" to Translations::lo, + "lt" to Translations::lt, + "lv" to Translations::lv, + "mk" to Translations::mk, + "ml" to Translations::ml, + "mn" to Translations::mn, + "mr" to Translations::mr, + "ms" to Translations::ms, + "my" to Translations::my, + "nb" to Translations::nb, + "ne" to Translations::ne, + "nl" to Translations::nl, + "or" to Translations::or, + "pa" to Translations::pa, + "pl" to Translations::pl, + "pt" to Translations::pt, + "pt_BR" to Translations::ptBR, + "pt_PT" to Translations::ptPT, + "ro" to Translations::ro, + "ru" to Translations::ru, + "si" to Translations::si, + "sk" to Translations::sk, + "sl" to Translations::sl, + "sq" to Translations::sq, + "sr" to Translations::sr, + "sv" to Translations::sv, + "sw" to Translations::sw, + "ta" to Translations::ta, + "te" to Translations::te, + "th" to Translations::th, + "tl" to Translations::tl, + "tr" to Translations::tr, + "uk" to Translations::uk, + "ur" to Translations::ur, + "uz" to Translations::uz, + "vi" to Translations::vi, + "zh_CN" to Translations::zhCN, + "zh_HK" to Translations::zhHK, + "zh_TW" to Translations::zhTW, + "zu" to Translations::zu, +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uk.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uk.kt new file mode 100644 index 0000000000000..4703f70519e6c --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uk.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.uk() = mapOf( + Strings.NavigationMenu to "Меню навігації", + Strings.ExposedDropdownMenu to "Спадне меню", + Strings.CloseDrawer to "Закрити меню навігації", + Strings.CloseSheet to "Закрити аркуш", + Strings.DefaultErrorMessage to "Введено недійсні дані", + Strings.SliderRangeStart to "Початок діапазону", + Strings.SliderRangeEnd to "Кінець діапазону", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ur.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ur.kt new file mode 100644 index 0000000000000..4da5d93a66db7 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Ur.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ur() = mapOf( + Strings.NavigationMenu to "نیویگیشن مینیو", + Strings.ExposedDropdownMenu to "ڈراپ ڈاؤن مینیو", + Strings.CloseDrawer to "نیویگیشن مینیو بند کریں", + Strings.CloseSheet to "شیٹ بند کریں", + Strings.DefaultErrorMessage to "غلط ان پٹ", + Strings.SliderRangeStart to "رینج کی شروعات", + Strings.SliderRangeEnd to "رینج کا اختتام", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uz.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uz.kt new file mode 100644 index 0000000000000..e9876551c6c63 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Uz.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.uz() = mapOf( + Strings.NavigationMenu to "Navigatsiya menyusi", + Strings.ExposedDropdownMenu to "Pastga ochiluvchi menyu", + Strings.CloseDrawer to "Navigatsiya menyusini yopish", + Strings.CloseSheet to "Varaqni yopish", + Strings.DefaultErrorMessage to "Kiritilgan axborot xato", + Strings.SliderRangeStart to "Oraliq boshi", + Strings.SliderRangeEnd to "Oraliq oxiri", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Vi.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Vi.kt new file mode 100644 index 0000000000000..168506555eb47 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Vi.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.vi() = mapOf( + Strings.NavigationMenu to "Trình đơn điều hướng", + Strings.ExposedDropdownMenu to "Trình đơn thả xuống", + Strings.CloseDrawer to "Đóng trình đơn điều hướng", + Strings.CloseSheet to "Đóng trang tính", + Strings.DefaultErrorMessage to "Giá trị nhập không hợp lệ", + Strings.SliderRangeStart to "Điểm bắt đầu phạm vi", + Strings.SliderRangeEnd to "Điểm kết thúc phạm vi", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zh.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zh.kt new file mode 100644 index 0000000000000..2806131340846 --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zh.kt @@ -0,0 +1,53 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhCN() = mapOf( + Strings.NavigationMenu to "导航菜单", + Strings.ExposedDropdownMenu to "下拉菜单", + Strings.CloseDrawer to "关闭导航菜单", + Strings.CloseSheet to "关闭工作表", + Strings.DefaultErrorMessage to "输入无效", + Strings.SliderRangeStart to "范围起点", + Strings.SliderRangeEnd to "范围终点", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhHK() = mapOf( + Strings.NavigationMenu to "導覽選單", + Strings.ExposedDropdownMenu to "下拉式選單", + Strings.CloseDrawer to "閂導覽選單", + Strings.CloseSheet to "閂表單", + Strings.DefaultErrorMessage to "輸入嘅資料無效", + Strings.SliderRangeStart to "範圍開始", + Strings.SliderRangeEnd to "範圍結束", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhTW() = mapOf( + Strings.NavigationMenu to "導覽選單", + Strings.ExposedDropdownMenu to "下拉式選單", + Strings.CloseDrawer to "關閉導覽選單", + Strings.CloseSheet to "關閉功能表", + Strings.DefaultErrorMessage to "輸入內容無效", + Strings.SliderRangeStart to "範圍起點", + Strings.SliderRangeEnd to "範圍終點", +) diff --git a/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zu.kt b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zu.kt new file mode 100644 index 0000000000000..2c9bc5a50343b --- /dev/null +++ b/compose/material/material/src/skikoMain/kotlin/androidx/compose/material/l10n/Zu.kt @@ -0,0 +1,31 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material.l10n + +import androidx.compose.material.Strings +import androidx.compose.material.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zu() = mapOf( + Strings.NavigationMenu to "Imenyu yokuzulazula", + Strings.ExposedDropdownMenu to "Imenyu eya phansi", + Strings.CloseDrawer to "Vala imenyu yokuzulazula", + Strings.CloseSheet to "Vala ishidi", + Strings.DefaultErrorMessage to "Okufakwayo okungalungile", + Strings.SliderRangeStart to "Ukuqala kobubanzi", + Strings.SliderRangeEnd to "Umkhawulo wobubanzi", +) diff --git a/compose/material3/material3/build.gradle b/compose/material3/material3/build.gradle index c9e6ad54bbd22..f5c146ffbe9e0 100644 --- a/compose/material3/material3/build.gradle +++ b/compose/material3/material3/build.gradle @@ -212,6 +212,103 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) { } } +// This task updates the translations of the localizable strings in this module. +// It obtains them from Android's base repository. +tasks.register("updateTranslations", UpdateTranslationsTask.class) { + group = "localization" + gitRepo = "https://github.com/androidx/androidx" + repoResDirectories = [ + "compose/ui/ui/src/androidMain/res", + "compose/material3/material3/src/androidMain/res" + ] + targetDirectory = project.file("src/skikoMain/kotlin/androidx/compose/material3/l10n") + targetPackageName = "androidx.compose.material3.l10n" + kotlinStringsPackageName = "androidx.compose.material3" + stringByResourceName = [ + // These come are from the ui module resources + "navigation_menu": "NavigationMenu", + "close_drawer": "CloseDrawer", + "close_sheet": "CloseSheet", + "default_error_message": "DefaultErrorMessage", + "dropdown_menu": "ExposedDropdownMenu", + "range_start": "SliderRangeStart", + "range_end": "SliderRangeEnd", + + // These come from the material3 module resources + "m3c_dialog": "Dialog", + "m3c_dropdown_menu_expanded": "MenuExpanded", + "m3c_dropdown_menu_collapsed": "MenuCollapsed", + "m3c_snackbar_dismiss": "SnackbarDismiss", + "m3c_search_bar_search": "SearchBarSearch", + "m3c_suggestions_available": "SuggestionsAvailable", + "m3c_date_picker_title": "DatePickerTitle", + "m3c_date_picker_headline": "DatePickerHeadline", + "m3c_date_picker_year_picker_pane_title": "DatePickerYearPickerPaneTitle", + "m3c_date_picker_switch_to_year_selection": "DatePickerSwitchToYearSelection", + "m3c_date_picker_switch_to_day_selection": "DatePickerSwitchToDaySelection", + "m3c_date_picker_switch_to_next_month": "DatePickerSwitchToNextMonth", + "m3c_date_picker_switch_to_previous_month": "DatePickerSwitchToPreviousMonth", + "m3c_date_picker_navigate_to_year_description": "DatePickerNavigateToYearDescription", + "m3c_date_picker_headline_description": "DatePickerHeadlineDescription", + "m3c_date_picker_no_selection_description": "DatePickerNoSelectionDescription", + "m3c_date_picker_today_description": "DatePickerTodayDescription", + "m3c_date_picker_scroll_to_later_years": "DatePickerScrollToShowLaterYears", + "m3c_date_picker_scroll_to_earlier_years": "DatePickerScrollToShowEarlierYears", + "m3c_date_input_title": "DateInputTitle", + "m3c_date_input_headline": "DateInputHeadline", + "m3c_date_input_label": "DateInputLabel", + "m3c_date_input_headline_description": "DateInputHeadlineDescription", + "m3c_date_input_no_input_description": "DateInputNoInputDescription", + "m3c_date_input_invalid_not_allowed": "DateInputInvalidNotAllowed", + "m3c_date_input_invalid_for_pattern": "DateInputInvalidForPattern", + "m3c_date_input_invalid_year_range": "DateInputInvalidYearRange", + "m3c_date_picker_switch_to_calendar_mode": "DatePickerSwitchToCalendarMode", + "m3c_date_picker_switch_to_input_mode": "DatePickerSwitchToInputMode", + "m3c_date_range_picker_title": "DateRangePickerTitle", + "m3c_date_range_picker_start_headline": "DateRangePickerStartHeadline", + "m3c_date_range_picker_end_headline": "DateRangePickerEndHeadline", + "m3c_date_range_picker_scroll_to_next_month": "DateRangePickerScrollToShowNextMonth", + "m3c_date_range_picker_scroll_to_previous_month": "DateRangePickerScrollToShowPreviousMonth", + "m3c_date_range_picker_day_in_range": "DateRangePickerDayInRange", + "m3c_date_range_input_title": "DateRangeInputTitle", + "m3c_date_range_input_invalid_range_input": "DateRangeInputInvalidRangeInput", + "m3c_bottom_sheet_pane_title": "BottomSheetPaneTitle", + "m3c_bottom_sheet_drag_handle_description": "BottomSheetDragHandleDescription", + "m3c_bottom_sheet_collapse_description": "BottomSheetPartialExpandDescription", + "m3c_bottom_sheet_dismiss_description": "BottomSheetDismissDescription", + "m3c_bottom_sheet_expand_description": "BottomSheetExpandDescription", + "m3c_tooltip_long_press_label": "TooltipLongPressLabel", + "m3c_time_picker_am": "TimePickerAM", + "m3c_time_picker_pm": "TimePickerPM", + "m3c_time_picker_period_toggle_description": "TimePickerPeriodToggle", + "m3c_time_picker_minute_selection": "TimePickerMinuteSelection", + "m3c_time_picker_hour_selection": "TimePickerHourSelection", + "m3c_time_picker_hour_suffix": "TimePickerHourSuffix", + "m3c_time_picker_minute_suffix": "TimePickerMinuteSuffix", + "m3c_time_picker_hour_24h_suffix": "TimePicker24HourSuffix", + "m3c_time_picker_hour": "TimePickerHour", + "m3c_time_picker_minute": "TimePickerMinute", + "m3c_time_picker_hour_text_field": "TimePickerHourTextField", + "m3c_time_picker_minute_text_field": "TimePickerMinuteTextField", + "m3c_tooltip_pane_description": "TooltipPaneDescription", + ] + // This is all the locales translated by Compose on Android in the ui module: + // https://github.com/androidx/androidx/tree/androidx-main/compose/ui/ui/src/androidMain/res + // with the exception of + // - b+sr+Latn which doesn't appear to be supported by Java + // - en_XC which has weird invisible LRM characters, and the visible text is the same as for + // en anyway. + locales = [ + "en", "af", "am", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "da", "de", + "el", "en_AU", "en_CA", "en_GB", "en_IN", "es", "es_US", "et", "eu", "fa", + "fi", "fr", "fr_CA", "gl", "gu", "hi", "hr", "hu", "hy", "in", "is", "it", "iw", + "ja", "ka", "kk", "km", "kn", "ko", "ky", "lo", "lt", "lv", "mk", "ml", "mn", "mr", + "ms", "my", "nb", "ne", "nl", "or", "pa", "pl", "pt", "pt_BR", "pt_PT", "ro", "ru", + "si", "sk", "sl", "sq", "sr", "sv", "sw", "ta", "te", "th", "tl", "tr", "uk", "ur", + "uz", "vi", "zh_CN", "zh_HK", "zh_TW", "zu" + ] +} + androidx { name = "Compose Material3 Components" type = LibraryType.PUBLISHED_LIBRARY diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/Strings.skiko.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/Strings.skiko.kt index 8f0fc3cbb9086..15b6fc78467f7 100644 --- a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/Strings.skiko.kt +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/Strings.skiko.kt @@ -17,83 +17,16 @@ package androidx.compose.material3 import androidx.compose.runtime.Composable +import androidx.compose.runtime.Immutable import androidx.compose.runtime.ReadOnlyComposable +import androidx.compose.ui.text.intl.Locale +import androidx.compose.material3.l10n.TranslationProviderByLocaleTag +import androidx.compose.material3.l10n.en import kotlin.jvm.JvmInline -// TODO(https://github.com/JetBrains/compose-multiplatform/issues/3360) Support localization -@Composable -@ReadOnlyComposable -internal actual fun getString(string: Strings): String { - return when (string) { - Strings.NavigationMenu -> "Navigation menu" - Strings.CloseDrawer -> "Close navigation menu" - Strings.CloseSheet -> "Close sheet" - Strings.DefaultErrorMessage -> "Invalid input" - Strings.SliderRangeStart -> "Range Start" - Strings.SliderRangeEnd -> "Range End" - Strings.Dialog -> "Dialog" - Strings.MenuExpanded -> "Expanded" - Strings.MenuCollapsed -> "Collapsed" - Strings.SnackbarDismiss -> "Dismiss" - Strings.SearchBarSearch -> "Search" - Strings.SuggestionsAvailable -> "Suggestions below" - Strings.DatePickerTitle -> "Select date" - Strings.DatePickerHeadline -> "Selected date" - Strings.DatePickerYearPickerPaneTitle -> "Year picker visible" - Strings.DatePickerSwitchToYearSelection -> "Switch to selecting a year" - Strings.DatePickerSwitchToDaySelection -> "Swipe to select a year, or tap to switch " + - "back to selecting a day" - Strings.DatePickerSwitchToNextMonth -> "Change to next month" - Strings.DatePickerSwitchToPreviousMonth -> "Change to previous month" - Strings.DatePickerNavigateToYearDescription -> "Navigate to year %1$" - Strings.DatePickerHeadlineDescription -> "Current selection: %1$" - Strings.DatePickerNoSelectionDescription -> "None" - Strings.DatePickerTodayDescription -> "Today" - Strings.DatePickerScrollToShowLaterYears -> "Scroll to show later years" - Strings.DatePickerScrollToShowEarlierYears -> "Scroll to show earlier years" - Strings.DateInputTitle -> "Select date" - Strings.DateInputHeadline -> "Entered date" - Strings.DateInputLabel -> "Date" - Strings.DateInputHeadlineDescription -> "Entered date: %1$" - Strings.DateInputNoInputDescription -> "None" - Strings.DateInputInvalidNotAllowed -> "Date not allowed: %1$" - Strings.DateInputInvalidForPattern -> "Date does not match expected pattern: %1$" - Strings.DateInputInvalidYearRange -> "Date out of expected year range %1$ - %2$" - Strings.DatePickerSwitchToCalendarMode -> "Switch to calendar input mode" - Strings.DatePickerSwitchToInputMode -> "Switch to text input mode" - Strings.DateRangePickerTitle -> "Select dates" - Strings.DateRangePickerStartHeadline -> "Start date" - Strings.DateRangePickerEndHeadline -> "End date" - Strings.DateRangePickerScrollToShowNextMonth -> "Scroll to show the next month" - Strings.DateRangePickerScrollToShowPreviousMonth -> "Scroll to show the previous month" - Strings.DateRangePickerDayInRange -> "In range" - Strings.DateRangeInputTitle -> "Enter dates" - Strings.DateRangeInputInvalidRangeInput -> "Invalid date range input" - Strings.BottomSheetPaneTitle -> "Bottom Sheet" - Strings.BottomSheetDragHandleDescription -> "Drag Handle" - Strings.BottomSheetPartialExpandDescription -> "Collapse bottom sheet" - Strings.BottomSheetDismissDescription -> "Dismiss bottom sheet" - Strings.BottomSheetExpandDescription -> "Expand bottom sheet" - Strings.TooltipLongPressLabel -> "Show tooltip" - Strings.TimePickerAM -> "AM" - Strings.TimePickerPM -> "PM" - Strings.TimePickerPeriodToggle -> "Select AM or PM" - Strings.TimePickerMinuteSelection -> "Select minutes" - Strings.TimePickerHourSelection -> "Select hour" - Strings.TimePickerHourSuffix -> "%1$ o'clock" // ' should be escaped if moved to strings.xml - Strings.TimePickerMinuteSuffix -> "%1$ minutes" - Strings.TimePicker24HourSuffix -> "%1$ hours" - Strings.TimePickerMinute -> "Minute" - Strings.TimePickerHour -> "Hour" - Strings.TimePickerMinuteTextField -> "for minutes" - Strings.TimePickerHourTextField -> "for hour" - Strings.TooltipPaneDescription -> "Tooltip" - else -> "" - } -} - +@Immutable @JvmInline -internal actual value class Strings constructor(val value: Int) { +internal actual value class Strings(val value: Int) { actual companion object { actual val NavigationMenu = Strings(0) actual val CloseDrawer = Strings(1) @@ -168,7 +101,77 @@ internal actual value class Strings constructor(val value: Int) { internal actual fun String.format(vararg formatArgs: Any?): String { var result = this formatArgs.forEachIndexed { index, arg -> - result = result.replace("%${index+1}$", arg.toString()) + result = result + .replace("%${index+1}\$d", arg.toString()) + .replace("%${index+1}\$s", arg.toString()) } return result -} \ No newline at end of file +} + +@Composable +@ReadOnlyComposable +internal actual fun getString(string: Strings): String { + val locale = Locale.current + val tag = localeTag(language = locale.language, region = locale.region) + val translation = translationByLocaleTag.getOrPut(tag) { + findTranslation(locale) + } + return translation[string] ?: error("Missing translation for $string") +} + +/** + * A single translation; should contain all the [Strings]. + */ +internal typealias Translation = Map + +/** + * Translations we've already loaded, mapped by the locale tag (see [localeTag]). + */ +private val translationByLocaleTag = mutableMapOf() + +/** + * Returns the tag for the given locale. + * + * Note that this is our internal format; this isn't the same as [Locale.toLanguageTag]. + */ +private fun localeTag(language: String, region: String) = when { + language == "" -> "" + region == "" -> language + else -> "${language}_$region" +} + +/** + * Returns a sequence of locale tags to use as keys to look up the translation for the given locale. + * + * Note that we don't need to check children (e.g. use `fr_FR` if `fr` is missing) because the + * translations should never have a missing parent. + */ +private fun localeTagChain(locale: Locale) = sequence { + if (locale.region != "") { + yield(localeTag(language = locale.language, region = locale.region)) + } + if (locale.language != "") { + yield(localeTag(language = locale.language, region = "")) + } + yield(localeTag("", "")) +} + +/** + * Finds a [Translation] for the given locale. + */ +private fun findTranslation(locale: Locale): Translation { + for (tag in localeTagChain(locale)) { + // We don't need to merge translations because each one should contain all the strings. + val translation = TranslationProviderByLocaleTag[tag]?.invoke() + if (translation != null) { + return translation + } + } + error("Root translation must be present") +} + +/** + * This object is only needed to provide a namespace for the [Translation] provider functions + * (e.g. [Translations.en]), to avoid polluting the global namespace. + */ +internal object Translations \ No newline at end of file diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Af.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Af.kt new file mode 100644 index 0000000000000..034455622df5d --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Af.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.af() = mapOf( + Strings.NavigationMenu to "Navigasiekieslys", + Strings.ExposedDropdownMenu to "Aftrekkieslys", + Strings.CloseDrawer to "Maak navigasiekieslys toe", + Strings.CloseSheet to "Maak sigblad toe", + Strings.DefaultErrorMessage to "Ongeldige invoer", + Strings.SliderRangeStart to "Begingrens", + Strings.SliderRangeEnd to "Eindgrens", + Strings.Dialog to "Dialoog", + Strings.MenuExpanded to "Uitgevou", + Strings.MenuCollapsed to "Ingevou", + Strings.SnackbarDismiss to "Maak toe", + Strings.SearchBarSearch to "Soek", + Strings.SuggestionsAvailable to "Voorstelle hieronder", + Strings.DatePickerTitle to "Kies datum", + Strings.DatePickerHeadline to "Gekose datum", + Strings.DatePickerSwitchToYearSelection to "Skakel oor na kies van ’n jaar", + Strings.DatePickerSwitchToDaySelection to "Swiep om ’n jaar te kies of tik om terug te skakel om ’n dag te kies", + Strings.DatePickerSwitchToNextMonth to "Verander na volgende maand", + Strings.DatePickerSwitchToPreviousMonth to "Verander na vorige maand", + Strings.DatePickerNavigateToYearDescription to "Gaan na jaar %1\$s", + Strings.DatePickerHeadlineDescription to "Huidige keuse: %1\$s", + Strings.DatePickerNoSelectionDescription to "Geen", + Strings.DatePickerTodayDescription to "Vandag", + Strings.DatePickerYearPickerPaneTitle to "Jaarkieser sigbaar", + Strings.DateInputTitle to "Kies datum", + Strings.DateInputHeadline to "Datum wat ingevoer is", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Datum wat ingevoer is: %1\$s", + Strings.DateInputNoInputDescription to "Geen", + Strings.DateInputInvalidNotAllowed to "Datum word nie toegelaat nie: %1\$s", + Strings.DateInputInvalidForPattern to "Datum pas nie by die verwagte patroon nie: %1\$s", + Strings.DateInputInvalidYearRange to "Datum val buite verwagte jaardatumreeks %1\$s-%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Skakel oor na kalenderinvoermodus", + Strings.DatePickerSwitchToInputMode to "Skakel oor na teksinvoermodus", + Strings.DatePickerScrollToShowLaterYears to "Rollees om later jare te wys", + Strings.DatePickerScrollToShowEarlierYears to "Rollees om vroeër jare te wys", + Strings.DateRangePickerTitle to "Kies datums", + Strings.DateRangePickerStartHeadline to "Begindatum", + Strings.DateRangePickerEndHeadline to "Einddatum", + Strings.DateRangePickerScrollToShowNextMonth to "Rollees om die volgende maand te wys", + Strings.DateRangePickerScrollToShowPreviousMonth to "Rollees om die vorige maand te wys", + Strings.DateRangePickerDayInRange to "Binne datumreeks", + Strings.DateRangeInputTitle to "Voer datums in", + Strings.DateRangeInputInvalidRangeInput to "Ongeldige datumreeksinvoer", + Strings.BottomSheetPaneTitle to "Onderste blad", + Strings.BottomSheetDragHandleDescription to "Sleephandvatsel", + Strings.BottomSheetPartialExpandDescription to "Vou onderste blad in", + Strings.BottomSheetDismissDescription to "Maak onderste blad toe", + Strings.BottomSheetExpandDescription to "Vou onderste blad uit", + Strings.TooltipPaneDescription to "Nutswenk", + Strings.TooltipLongPressLabel to "Wys nutswenk", + Strings.TimePickerPM to "nm.", + Strings.TimePickerAM to "vm.", + Strings.TimePickerPeriodToggle to "Kies vm. of nm.", + Strings.TimePickerHourSelection to "Kies uur", + Strings.TimePickerMinuteSelection to "Kies minute", + Strings.TimePickerHourSuffix to "%1\$d uur", + Strings.TimePicker24HourSuffix to "%1\$d uur", + Strings.TimePickerMinuteSuffix to "%1\$d minute", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Uur", + Strings.TimePickerMinuteTextField to "vir minute", + Strings.TimePickerHourTextField to "vir uur", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Am.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Am.kt new file mode 100644 index 0000000000000..fd9b5ee7f64dc --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Am.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.am() = mapOf( + Strings.NavigationMenu to "የዳሰሳ ምናሌ", + Strings.ExposedDropdownMenu to "ተቆልቋይ ምናሌ", + Strings.CloseDrawer to "የዳሰሳ ምናሌን ዝጋ", + Strings.CloseSheet to "ሉህን ዝጋ", + Strings.DefaultErrorMessage to "ልክ ያልሆነ ግቤት", + Strings.SliderRangeStart to "የክልል መጀመሪያ", + Strings.SliderRangeEnd to "የክልል መጨረሻ", + Strings.Dialog to "መገናኛ", + Strings.MenuExpanded to "ተዘርግቷል", + Strings.MenuCollapsed to "ተሰብስቧል", + Strings.SnackbarDismiss to "አሰናብት", + Strings.SearchBarSearch to "ፈልግ", + Strings.SuggestionsAvailable to "የአስተያየት ጥቆማዎች ከታች", + Strings.DatePickerTitle to "ቀን ይምረጡ", + Strings.DatePickerHeadline to "የተመረጠው ቀን", + Strings.DatePickerSwitchToYearSelection to "ወደ ዓመት መምረጥ ይቀይሩ", + Strings.DatePickerSwitchToDaySelection to "ዓመት ለመምረጥ ያንሸራትቱ ወይም ወደ ቀንን መምረጥ መልሶ ለመቀየር መታ ያድርጉ", + Strings.DatePickerSwitchToNextMonth to "ወደ የሚቀጥለው ወር ይቀይሩ", + Strings.DatePickerSwitchToPreviousMonth to "ወደ ቀዳሚው ወር ይቀይሩ", + Strings.DatePickerNavigateToYearDescription to "ወደ ዓመት %1\$s ያስሱ", + Strings.DatePickerHeadlineDescription to "የአሁን ምርጫ፦ %1\$s", + Strings.DatePickerNoSelectionDescription to "ምንም", + Strings.DatePickerTodayDescription to "ዛሬ", + Strings.DatePickerYearPickerPaneTitle to "ዓመት መራጭ ይታያል", + Strings.DateInputTitle to "ቀን ይምረጡ", + Strings.DateInputHeadline to "የገባው ቀን", + Strings.DateInputLabel to "ቀን", + Strings.DateInputHeadlineDescription to "የገባው ቀን፦ %1\$s", + Strings.DateInputNoInputDescription to "ምንም", + Strings.DateInputInvalidNotAllowed to "ቀን አልተፈቀደም፦ %1\$s", + Strings.DateInputInvalidForPattern to "ቀኑ ከተጠበቀው ስርዓተ ጥለት ጋር አይዛመድም፦ %1\$s", + Strings.DateInputInvalidYearRange to "ቀን ከተጠበቀው የዓመት ክልል ውጭ ነው %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "ወደ የቀን መቁጠሪያ ግቤት ሁነታ ይቀይሩ", + Strings.DatePickerSwitchToInputMode to "ወደ የጽሁፍ ግቤት ሁነታ ይቀይሩ", + Strings.DatePickerScrollToShowLaterYears to "ከዚህ በኋላ ያሉ ዓመታትን ለማሳየት ያሸብልሉ", + Strings.DatePickerScrollToShowEarlierYears to "ቀደም ያሉ ዓመታትን ለማሳየት ያሸብልሉ", + Strings.DateRangePickerTitle to "ቀናትን ይምረጡ", + Strings.DateRangePickerStartHeadline to "መጀመሪያ ቀን", + Strings.DateRangePickerEndHeadline to "የማብቂያ ቀን", + Strings.DateRangePickerScrollToShowNextMonth to "ቀጣዩን ወር ለማሳየት ያሸብልሉ", + Strings.DateRangePickerScrollToShowPreviousMonth to "ቀዳሚውን ወር ለማሳየት ያሸብልሉ", + Strings.DateRangePickerDayInRange to "በክልል ውስጥ", + Strings.DateRangeInputTitle to "ቀናትን ያስገቡ", + Strings.DateRangeInputInvalidRangeInput to "ልክ ያልሆነ የቀን ክልል ግቤት", + Strings.BottomSheetPaneTitle to "የግርጌ ሉህ", + Strings.BottomSheetDragHandleDescription to "መያዣ ይጎትቱ", + Strings.BottomSheetPartialExpandDescription to "የግርጌ ሉህን ይሰብስቡ", + Strings.BottomSheetDismissDescription to "የግርጌ ሉህን ያሰናብቱ", + Strings.BottomSheetExpandDescription to "የግርጌ ሉህ ይዘርጉ", + Strings.TooltipPaneDescription to "የመሣሪያ ጥቆማ", + Strings.TooltipLongPressLabel to "መሣሪያ ጥቆማን አሳይ", + Strings.TimePickerPM to "ፒኤም", + Strings.TimePickerAM to "ኤኤም", + Strings.TimePickerPeriodToggle to "ኤኤም ወይም ፒኤምን ይምረጡ", + Strings.TimePickerHourSelection to "ሰዓት ምረጥ", + Strings.TimePickerMinuteSelection to "ደቂቃዎችን ምረጥ", + Strings.TimePickerHourSuffix to "%1\$d ሰዓት", + Strings.TimePicker24HourSuffix to "%1\$d ሰዓታት", + Strings.TimePickerMinuteSuffix to "%1\$d ደቂቃዎች", + Strings.TimePickerMinute to "ደቂቃ", + Strings.TimePickerHour to "ሰዓት", + Strings.TimePickerMinuteTextField to "ለደቂቃዎች", + Strings.TimePickerHourTextField to "ለሰዓት", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ar.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ar.kt new file mode 100644 index 0000000000000..a877fe2eb077f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ar.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ar() = mapOf( + Strings.NavigationMenu to "قائمة تنقل", + Strings.ExposedDropdownMenu to "قائمة منسدلة", + Strings.CloseDrawer to "إغلاق قائمة التنقل", + Strings.CloseSheet to "إغلاق الورقة", + Strings.DefaultErrorMessage to "إدخال غير صالح", + Strings.SliderRangeStart to "بداية النطاق", + Strings.SliderRangeEnd to "نهاية النطاق", + Strings.Dialog to "مربّع حوار", + Strings.MenuExpanded to "موسَّعة", + Strings.MenuCollapsed to "مصغَّرة", + Strings.SnackbarDismiss to "إغلاق", + Strings.SearchBarSearch to "شريط بحث", + Strings.SuggestionsAvailable to "إليك الاقتراحات", + Strings.DatePickerTitle to "اختيار تاريخ", + Strings.DatePickerHeadline to "التاريخ المحدَّد", + Strings.DatePickerSwitchToYearSelection to "التبديل لاختيار سنة", + Strings.DatePickerSwitchToDaySelection to "مرِّر سريعًا لتحديد سنة، أو انقر للرجوع إلى تحديد يوم.", + Strings.DatePickerSwitchToNextMonth to "التغيير إلى الشهر التالي", + Strings.DatePickerSwitchToPreviousMonth to "التغيير إلى الشهر السابق", + Strings.DatePickerNavigateToYearDescription to "‏الانتقال إلى سنة %1\$s", + Strings.DatePickerHeadlineDescription to "‏الاختيار الحالي: %1\$s", + Strings.DatePickerNoSelectionDescription to "بدون تاريخ", + Strings.DatePickerTodayDescription to "اليوم", + Strings.DatePickerYearPickerPaneTitle to "أداة اختيار السنوات مرئية", + Strings.DateInputTitle to "اختيار تاريخ", + Strings.DateInputHeadline to "التاريخ الذي تم إدخاله", + Strings.DateInputLabel to "التاريخ", + Strings.DateInputHeadlineDescription to "‏التاريخ الذي تم إدخاله: %1\$s", + Strings.DateInputNoInputDescription to "بدون تاريخ", + Strings.DateInputInvalidNotAllowed to "‏التاريخ غير مسموح به: %1\$s", + Strings.DateInputInvalidForPattern to "‏لا يتوافق التاريخ مع النمط المتوقَّع: %1\$s", + Strings.DateInputInvalidYearRange to "‏التاريخ خارج نطاق السنوات المتوقَّع: ‎%1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "التبديل إلى وضع \"الإدخال في التقويم\"", + Strings.DatePickerSwitchToInputMode to "التبديل إلى \"وضع إدخال النص\"", + Strings.DatePickerScrollToShowLaterYears to "انتقِل للأسفل أو للأعلى لإظهار السنوات التالية.", + Strings.DatePickerScrollToShowEarlierYears to "انتقِل للأسفل أو للأعلى لإظهار السنوات السابقة.", + Strings.DateRangePickerTitle to "اختيار التواريخ", + Strings.DateRangePickerStartHeadline to "تاريخ البدء", + Strings.DateRangePickerEndHeadline to "تاريخ الانتهاء", + Strings.DateRangePickerScrollToShowNextMonth to "انتقِل للأسفل أو للأعلى لإظهار الشهر التالي.", + Strings.DateRangePickerScrollToShowPreviousMonth to "انتقِل للأسفل أو للأعلى لإظهار الشهر السابق.", + Strings.DateRangePickerDayInRange to "في النطاق", + Strings.DateRangeInputTitle to "إدخال التواريخ", + Strings.DateRangeInputInvalidRangeInput to "إدخال نطاق زمني غير صالح", + Strings.BottomSheetPaneTitle to "بطاقة سفلية", + Strings.BottomSheetDragHandleDescription to "مقبض السحب", + Strings.BottomSheetPartialExpandDescription to "تصغير البطاقة السفلية", + Strings.BottomSheetDismissDescription to "إغلاق البطاقة السفلية", + Strings.BottomSheetExpandDescription to "توسيع البطاقة السفلية", + Strings.TooltipPaneDescription to "تلميح", + Strings.TooltipLongPressLabel to "إظهار التلميح", + Strings.TimePickerPM to "م", + Strings.TimePickerAM to "ص", + Strings.TimePickerPeriodToggle to "يُرجى اختيار \"ص\" أو \"م\".", + Strings.TimePickerHourSelection to "اختيار الساعة", + Strings.TimePickerMinuteSelection to "اختيار الدقائق", + Strings.TimePickerHourSuffix to "‏الساعة %1\$d", + Strings.TimePicker24HourSuffix to "‏%1\$d ساعة", + Strings.TimePickerMinuteSuffix to "‏%1\$d دقيقة", + Strings.TimePickerMinute to "دقيقة", + Strings.TimePickerHour to "ساعة", + Strings.TimePickerMinuteTextField to "الدقائق", + Strings.TimePickerHourTextField to "الساعات", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/As.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/As.kt new file mode 100644 index 0000000000000..6d28060533d7a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/As.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`as`() = mapOf( + Strings.NavigationMenu to "নেভিগেশ্বন মেনু", + Strings.ExposedDropdownMenu to "ড্ৰপডাউনৰ মেনু", + Strings.CloseDrawer to "নেভিগেশ্বন মেনু বন্ধ কৰক", + Strings.CloseSheet to "শ্বীট বন্ধ কৰক", + Strings.DefaultErrorMessage to "অমান্য ইনপুট", + Strings.SliderRangeStart to "পৰিসৰৰ আৰম্ভণি", + Strings.SliderRangeEnd to "পৰিসৰৰ সমাপ্তি", + Strings.Dialog to "ডায়ল’গ", + Strings.MenuExpanded to "বিস্তাৰ কৰা আছে", + Strings.MenuCollapsed to "সংকোচন কৰা আছে", + Strings.SnackbarDismiss to "অগ্ৰাহ্য কৰক", + Strings.SearchBarSearch to "সন্ধান কৰক", + Strings.SuggestionsAvailable to "তলত পৰামৰ্শ দেখুওৱা হৈছে", + Strings.DatePickerTitle to "তাৰিখ বাছনি কৰক", + Strings.DatePickerHeadline to "বাছনি কৰা তাৰিখ", + Strings.DatePickerSwitchToYearSelection to "বছৰ বাছনি কৰাৰ সুবিধাটোলৈ সলনি কৰক", + Strings.DatePickerSwitchToDaySelection to "এটা বছৰ বাছনি কৰিবলৈ ছোৱাইপ কৰক অথবা এটা দিন বাছনি কৰাৰ সুবিধাটোলৈ উভতি যাবলৈ টিপক", + Strings.DatePickerSwitchToNextMonth to "পৰৱৰ্তী মাহলৈ সলনি কৰক", + Strings.DatePickerSwitchToPreviousMonth to "পূৰ্বৱৰ্তী মাহলৈ সলনি কৰক", + Strings.DatePickerNavigateToYearDescription to "বৰ্ষ %1\$sলৈ নেভিগে’ট কৰক", + Strings.DatePickerHeadlineDescription to "বৰ্তমানৰ বাছনি: %1\$s", + Strings.DatePickerNoSelectionDescription to "নাই", + Strings.DatePickerTodayDescription to "আজি", + Strings.DatePickerYearPickerPaneTitle to "বছৰ বাছনিকৰ্তা দৃশ্যমান", + Strings.DateInputTitle to "তাৰিখ বাছনি কৰক", + Strings.DateInputHeadline to "দিয়া তাৰিখ", + Strings.DateInputLabel to "তাৰিখ", + Strings.DateInputHeadlineDescription to "দিয়া তাৰিখ: %1\$s", + Strings.DateInputNoInputDescription to "নাই", + Strings.DateInputInvalidNotAllowed to "অনুমোদিত নোহোৱা তাৰিখ: %1\$s", + Strings.DateInputInvalidForPattern to "তাৰিখটো এই প্ৰত্যাশিত আৰ্হিটোৰ সৈতে মিলা নাই: %1\$s", + Strings.DateInputInvalidYearRange to "তাৰিখটো প্ৰত্যাশিত বছৰৰ পৰিসৰ %1\$s - %2\$sৰ বাহিৰৰ", + Strings.DatePickerSwitchToCalendarMode to "কেলেণ্ডাৰ ইনপুট ম’ডলৈ সলনি কৰক", + Strings.DatePickerSwitchToInputMode to "পাঠ ইনপুট ম’ডলৈ সলনি কৰক", + Strings.DatePickerScrollToShowLaterYears to "পাছৰ বছৰবোৰ দেখুৱাবলৈ স্ক্ৰ’ল কৰক", + Strings.DatePickerScrollToShowEarlierYears to "আগৰ বছৰবোৰ দেখুৱাবলৈ স্ক্ৰ’ল কৰক", + Strings.DateRangePickerTitle to "তাৰিখ বাছনি কৰক", + Strings.DateRangePickerStartHeadline to "আৰম্ভণিৰ তাৰিখ", + Strings.DateRangePickerEndHeadline to "সমাপ্তিৰ তাৰিখ", + Strings.DateRangePickerScrollToShowNextMonth to "পৰৱৰ্তী মাহটো দেখুৱাবলৈ স্ক্ৰ’ল কৰক", + Strings.DateRangePickerScrollToShowPreviousMonth to "পূৰ্বৱৰ্তী মাহটো দেখুৱাবলৈ স্ক্ৰ’ল কৰক", + Strings.DateRangePickerDayInRange to "পৰিসৰৰ ভিতৰত আছে", + Strings.DateRangeInputTitle to "তাৰিখ দিয়ক", + Strings.DateRangeInputInvalidRangeInput to "অমান্য তাৰিখৰ পৰিসৰৰ ইনপুট", + Strings.BottomSheetPaneTitle to "তলৰ শ্বীট", + Strings.BottomSheetDragHandleDescription to "ড্ৰেগ হেণ্ডেল", + Strings.BottomSheetPartialExpandDescription to "তলৰ শ্বীটখন সংকোচন কৰক", + Strings.BottomSheetDismissDescription to "তলৰ শ্বীটখন অগ্ৰাহ্য কৰক", + Strings.BottomSheetExpandDescription to "তলৰ শ্বীটখন বিস্তাৰ কৰক", + Strings.TooltipPaneDescription to "টুলটিপ", + Strings.TooltipLongPressLabel to "টুলটিপ দেখুৱাওক", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM অথবা PM বাছনি কৰক", + Strings.TimePickerHourSelection to "ঘণ্টা বাছনি কৰক", + Strings.TimePickerMinuteSelection to "মিনিট বাছনি কৰক", + Strings.TimePickerHourSuffix to "%1\$d বাজিছে", + Strings.TimePicker24HourSuffix to "%1\$d ঘণ্টা", + Strings.TimePickerMinuteSuffix to "%1\$d মিনিট", + Strings.TimePickerMinute to "মিনিট", + Strings.TimePickerHour to "ঘণ্টা", + Strings.TimePickerMinuteTextField to "মিনিটৰ বাবে", + Strings.TimePickerHourTextField to "ঘণ্টাৰ বাবে", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Az.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Az.kt new file mode 100644 index 0000000000000..3ec41e32e8949 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Az.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.az() = mapOf( + Strings.NavigationMenu to "Naviqasiya menyusu", + Strings.ExposedDropdownMenu to "Aşağı açılan menyu", + Strings.CloseDrawer to "Naviqasiya menyusunu bağlayın", + Strings.CloseSheet to "Səhifəni bağlayın", + Strings.DefaultErrorMessage to "Yanlış daxiletmə", + Strings.SliderRangeStart to "Sıranın başlanğıcı", + Strings.SliderRangeEnd to "Sıranın sonu", + Strings.Dialog to "Dialoq", + Strings.MenuExpanded to "Genişləndirilb", + Strings.MenuCollapsed to "Yığcamlaşdırılıb", + Strings.SnackbarDismiss to "Rədd edin", + Strings.SearchBarSearch to "Axtarış", + Strings.SuggestionsAvailable to "Təkliflər aşağıdadır", + Strings.DatePickerTitle to "Tarix seçin", + Strings.DatePickerHeadline to "Seçilmiş tarix", + Strings.DatePickerSwitchToYearSelection to "İl seçiminə keçin", + Strings.DatePickerSwitchToDaySelection to "İl seçmək üçün sürüşdürün. Gün seçiminə qayıtmaq üçün toxunun", + Strings.DatePickerSwitchToNextMonth to "Növbəti aya dəyişin", + Strings.DatePickerSwitchToPreviousMonth to "Əvvəlki aya dəyişin", + Strings.DatePickerNavigateToYearDescription to "Bu ilə keçin: %1\$s", + Strings.DatePickerHeadlineDescription to "Cari seçim: %1\$s", + Strings.DatePickerNoSelectionDescription to "Yoxdur", + Strings.DatePickerTodayDescription to "Bu gün", + Strings.DatePickerYearPickerPaneTitle to "İl seçicisi görünür", + Strings.DateInputTitle to "Tarix seçin", + Strings.DateInputHeadline to "Daxil edilmiş tarix", + Strings.DateInputLabel to "Tarix", + Strings.DateInputHeadlineDescription to "Daxil edilmiş tarix: %1\$s", + Strings.DateInputNoInputDescription to "Yoxdur", + Strings.DateInputInvalidNotAllowed to "Tarixə icazə verilmir: %1\$s", + Strings.DateInputInvalidForPattern to "Tarix gözlənilən modelə uyğun gəlmir: %1\$s", + Strings.DateInputInvalidYearRange to "Tarix gözlənilən il aralığından kənardır: %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Təqvim daxiletmə rejiminə keçin", + Strings.DatePickerSwitchToInputMode to "Mətn daxiletmə rejiminə keçin", + Strings.DatePickerScrollToShowLaterYears to "Sonrakı illəri göstərmək üçün sürüşdürün", + Strings.DatePickerScrollToShowEarlierYears to "Əvvəlki illəri göstərmək üçün sürüşdürün", + Strings.DateRangePickerTitle to "Tarixlər seçin", + Strings.DateRangePickerStartHeadline to "Başlama tarixi", + Strings.DateRangePickerEndHeadline to "Bitmə tarixi", + Strings.DateRangePickerScrollToShowNextMonth to "Növbəti ayı göstərmək üçün sürüşdürün", + Strings.DateRangePickerScrollToShowPreviousMonth to "Əvvəlki ayı göstərmək üçün sürüşdürün", + Strings.DateRangePickerDayInRange to "Bu aralıqda", + Strings.DateRangeInputTitle to "Tarixlər daxil edin", + Strings.DateRangeInputInvalidRangeInput to "Yanlış tarix aralığı daxiletməsi", + Strings.BottomSheetPaneTitle to "Aşağıdakı vərəq", + Strings.BottomSheetDragHandleDescription to "Dəstəyi çəkin", + Strings.BottomSheetPartialExpandDescription to "Aşağıdakı vərəqi yığcamlaşdırın", + Strings.BottomSheetDismissDescription to "Aşağıdakı vərəqi rədd edin", + Strings.BottomSheetExpandDescription to "Aşağıdakı vərəqi genişləndirin", + Strings.TooltipPaneDescription to "Alət izahı", + Strings.TooltipLongPressLabel to "Alət izahını göstərin", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM və ya PM seçin", + Strings.TimePickerHourSelection to "Saat seçin", + Strings.TimePickerMinuteSelection to "Dəqiqə seçin", + Strings.TimePickerHourSuffix to "Saat: %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d saat", + Strings.TimePickerMinuteSuffix to "%1\$d dəqiqə", + Strings.TimePickerMinute to "Dəqiqə", + Strings.TimePickerHour to "Saat", + Strings.TimePickerMinuteTextField to "dəqiqəlik", + Strings.TimePickerHourTextField to "saatlıq", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Be.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Be.kt new file mode 100644 index 0000000000000..703b0dbf23e4a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Be.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.be() = mapOf( + Strings.NavigationMenu to "Меню навігацыі", + Strings.ExposedDropdownMenu to "Выпадное меню", + Strings.CloseDrawer to "Закрыць меню навігацыі", + Strings.CloseSheet to "Закрыць аркуш", + Strings.DefaultErrorMessage to "Памылка ўводу", + Strings.SliderRangeStart to "Пачатак пераліку", + Strings.SliderRangeEnd to "Канец пераліку", + Strings.Dialog to "Дыялогавае акно", + Strings.MenuExpanded to "Разгорнута", + Strings.MenuCollapsed to "Згорнута", + Strings.SnackbarDismiss to "Закрыць", + Strings.SearchBarSearch to "Пошук", + Strings.SuggestionsAvailable to "Прапановы ўнізе", + Strings.DatePickerTitle to "Выберыце дату", + Strings.DatePickerHeadline to "Выбраная дата", + Strings.DatePickerSwitchToYearSelection to "Перайсці да выбару года", + Strings.DatePickerSwitchToDaySelection to "Правядзіце пальцам, каб выбраць год, або націсніце, каб вярнуцца да выбару даты", + Strings.DatePickerSwitchToNextMonth to "Перайсці да наступнага месяца", + Strings.DatePickerSwitchToPreviousMonth to "Перайсці да папярэдняга месяца", + Strings.DatePickerNavigateToYearDescription to "Перайсці ў год %1\$s", + Strings.DatePickerHeadlineDescription to "Бягучы выбар: %1\$s", + Strings.DatePickerNoSelectionDescription to "Без абмежаванняў", + Strings.DatePickerTodayDescription to "Сёння", + Strings.DatePickerYearPickerPaneTitle to "Бачны інструмент выбару года", + Strings.DateInputTitle to "Выберыце дату", + Strings.DateInputHeadline to "Уведзеная дата", + Strings.DateInputLabel to "Дата", + Strings.DateInputHeadlineDescription to "Уведзеная дата: %1\$s", + Strings.DateInputNoInputDescription to "Без абмежаванняў", + Strings.DateInputInvalidNotAllowed to "Дата забаронена: %1\$s", + Strings.DateInputInvalidForPattern to "Дата не адпавядае ўзору: %1\$s", + Strings.DateInputInvalidYearRange to "Дата выходзіць за дазволены дыяпазон гадоў %1\$s-%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Пераключыцца ў рэжым уводу \"Каляндар\"", + Strings.DatePickerSwitchToInputMode to "Пераключыцца ў рэжым уводу \"Тэкст\"", + Strings.DatePickerScrollToShowLaterYears to "Прагартайце экран, каб прагледзець пазнейшыя гады", + Strings.DatePickerScrollToShowEarlierYears to "Прагартайце экран, каб прагледзець ранейшыя гады", + Strings.DateRangePickerTitle to "Выберыце даты", + Strings.DateRangePickerStartHeadline to "Дата пачатку", + Strings.DateRangePickerEndHeadline to "Дата заканчэння", + Strings.DateRangePickerScrollToShowNextMonth to "Прагартайце экран, каб прагледзець наступны месяц", + Strings.DateRangePickerScrollToShowPreviousMonth to "Прагартайце экран, каб прагледзець мінулы месяц", + Strings.DateRangePickerDayInRange to "У межах дыяпазону", + Strings.DateRangeInputTitle to "Увядзіце даты", + Strings.DateRangeInputInvalidRangeInput to "Уведзены няправільны дыяпазон дат", + Strings.BottomSheetPaneTitle to "Ніжні аркуш", + Strings.BottomSheetDragHandleDescription to "Маркер перацягвання", + Strings.BottomSheetPartialExpandDescription to "Згарнуць ніжні аркуш", + Strings.BottomSheetDismissDescription to "Закрыць ніжні аркуш", + Strings.BottomSheetExpandDescription to "Разгарнуць ніжні аркуш", + Strings.TooltipPaneDescription to "Падказка", + Strings.TooltipLongPressLabel to "Паказваць усплывальую падказку", + Strings.TimePickerPM to "пасля паўдня", + Strings.TimePickerAM to "да паўдня", + Strings.TimePickerPeriodToggle to "Выберыце AM (да паўдня) або PM (пасля паўдня)", + Strings.TimePickerHourSelection to "Выберыце гадзіны", + Strings.TimePickerMinuteSelection to "Выберыце хвіліны", + Strings.TimePickerHourSuffix to "%1\$d гадз", + Strings.TimePicker24HourSuffix to "%1\$d гадз", + Strings.TimePickerMinuteSuffix to "%1\$d хв", + Strings.TimePickerMinute to "Хвіліны", + Strings.TimePickerHour to "Гадзіны", + Strings.TimePickerMinuteTextField to "хвіліны", + Strings.TimePickerHourTextField to "гадзіны", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bg.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bg.kt new file mode 100644 index 0000000000000..1022cc304a3fb --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bg.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bg() = mapOf( + Strings.NavigationMenu to "Меню за навигация", + Strings.ExposedDropdownMenu to "Падащо меню", + Strings.CloseDrawer to "Затваряне на менюто за навигация", + Strings.CloseSheet to "Затваряне на таблицата", + Strings.DefaultErrorMessage to "Въведеното е невалидно", + Strings.SliderRangeStart to "Начало на обхвата", + Strings.SliderRangeEnd to "Край на обхвата", + Strings.Dialog to "Диалогов прозорец", + Strings.MenuExpanded to "Разгънато", + Strings.MenuCollapsed to "Свито", + Strings.SnackbarDismiss to "Отхвърляне", + Strings.SearchBarSearch to "Лента за търсене", + Strings.SuggestionsAvailable to "Предложенията са по-долу", + Strings.DatePickerTitle to "Избиране на дата", + Strings.DatePickerHeadline to "Избрана дата", + Strings.DatePickerSwitchToYearSelection to "Превключване към избиране на година", + Strings.DatePickerSwitchToDaySelection to "Прекарайте пръст, за да изберете година, или докоснете, за да се върнете към избора на ден", + Strings.DatePickerSwitchToNextMonth to "Преминаване към следващия месец", + Strings.DatePickerSwitchToPreviousMonth to "Преминаване към предишния месец", + Strings.DatePickerNavigateToYearDescription to "Навигиране до %1\$s година", + Strings.DatePickerHeadlineDescription to "Текущ избор: %1\$s", + Strings.DatePickerNoSelectionDescription to "Няма", + Strings.DatePickerTodayDescription to "Днес", + Strings.DatePickerYearPickerPaneTitle to "Инструментът за избор на година е видим", + Strings.DateInputTitle to "Избиране на дата", + Strings.DateInputHeadline to "Въведена дата", + Strings.DateInputLabel to "Дата", + Strings.DateInputHeadlineDescription to "Въведена дата: %1\$s", + Strings.DateInputNoInputDescription to "Няма", + Strings.DateInputInvalidNotAllowed to "Датата не е разрешена: %1\$s", + Strings.DateInputInvalidForPattern to "Датата не е в очаквания формат: %1\$s", + Strings.DateInputInvalidYearRange to "Датата е извън очаквания годишен диапазон: %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Превключване към режим за въвеждане в календар", + Strings.DatePickerSwitchToInputMode to "Превключване към режим за въвеждане на текст", + Strings.DatePickerScrollToShowLaterYears to "Превъртете, за да се покажат следващите години", + Strings.DatePickerScrollToShowEarlierYears to "Превъртете, за да се покажат миналите години", + Strings.DateRangePickerTitle to "Избиране на дати", + Strings.DateRangePickerStartHeadline to "Начална дата", + Strings.DateRangePickerEndHeadline to "Крайна дата", + Strings.DateRangePickerScrollToShowNextMonth to "Превъртете, за да се покаже следващият месец", + Strings.DateRangePickerScrollToShowPreviousMonth to "Превъртете, за да се покаже предишният месец", + Strings.DateRangePickerDayInRange to "В диапазона", + Strings.DateRangeInputTitle to "Въвеждане на дати", + Strings.DateRangeInputInvalidRangeInput to "Въведен е невалиден период от време", + Strings.BottomSheetPaneTitle to "Долен лист", + Strings.BottomSheetDragHandleDescription to "Манипулатор за преместване с плъзгане", + Strings.BottomSheetPartialExpandDescription to "Свиване на долния лист", + Strings.BottomSheetDismissDescription to "Отхвърляне на долния лист", + Strings.BottomSheetExpandDescription to "Разгъване на долния лист", + Strings.TooltipPaneDescription to "Подсказка", + Strings.TooltipLongPressLabel to "Показване на подсказка", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Изберете AM или PM", + Strings.TimePickerHourSelection to "Изберете час", + Strings.TimePickerMinuteSelection to "Изберете минути", + Strings.TimePickerHourSuffix to "%1\$d часа", + Strings.TimePicker24HourSuffix to "%1\$d часа", + Strings.TimePickerMinuteSuffix to "%1\$d минути", + Strings.TimePickerMinute to "Минута", + Strings.TimePickerHour to "Час", + Strings.TimePickerMinuteTextField to "за минутите", + Strings.TimePickerHourTextField to "за часа", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bn.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bn.kt new file mode 100644 index 0000000000000..80d2adf2d4c85 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bn.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bn() = mapOf( + Strings.NavigationMenu to "নেভিগেশন মেনু", + Strings.ExposedDropdownMenu to "ড্রপডাউন মেনু", + Strings.CloseDrawer to "নেভিগেশন মেনু বন্ধ করুন", + Strings.CloseSheet to "শিট বন্ধ করুন", + Strings.DefaultErrorMessage to "ভুল ইনপুট", + Strings.SliderRangeStart to "রেঞ্জ শুরু", + Strings.SliderRangeEnd to "রেঞ্জ শেষ", + Strings.Dialog to "ডায়ালগ", + Strings.MenuExpanded to "বড় করা হয়েছে", + Strings.MenuCollapsed to "আড়াল করা হয়েছে", + Strings.SnackbarDismiss to "বাতিল করুন", + Strings.SearchBarSearch to "সার্চ করুন", + Strings.SuggestionsAvailable to "নিচে দেওয়া সাজেশন", + Strings.DatePickerTitle to "তারিখ বেছে নিন", + Strings.DatePickerHeadline to "বেছে নেওয়া তারিখ", + Strings.DatePickerSwitchToYearSelection to "কোনও একটি বছর বেছে নিতে বদল করুন", + Strings.DatePickerSwitchToDaySelection to "একটি বছর বেছে নিতে সোয়াইপ করুন অথবা দিন বেছে নেওয়ার বিকল্পে ফিরে যেতে ট্যাপ করুন", + Strings.DatePickerSwitchToNextMonth to "আগামী মাসে পরিবর্তন করুন", + Strings.DatePickerSwitchToPreviousMonth to "আগের মাসে পরিবর্তন করুন", + Strings.DatePickerNavigateToYearDescription to "নেভিগেট করে %1\$s বছরে যান", + Strings.DatePickerHeadlineDescription to "বর্তমানে বেছে নেওয়া হয়েছে: %1\$s", + Strings.DatePickerNoSelectionDescription to "কোনওটিই নয়", + Strings.DatePickerTodayDescription to "আজ", + Strings.DatePickerYearPickerPaneTitle to "বছর বেছে নেওয়ার তালিকা দেখা যাচ্ছে", + Strings.DateInputTitle to "তারিখ বেছে নিন", + Strings.DateInputHeadline to "উল্লেখ করা তারিখ", + Strings.DateInputLabel to "তারিখ", + Strings.DateInputHeadlineDescription to "উল্লেখ করা তারিখ: %1\$s", + Strings.DateInputNoInputDescription to "কোনওটিই নয়", + Strings.DateInputInvalidNotAllowed to "এই তারিখ লেখা যাবে না: %1\$s", + Strings.DateInputInvalidForPattern to "প্রত্যাশিত প্যাটার্নের সাথে তারিখ মিলছে না: %1\$s", + Strings.DateInputInvalidYearRange to "প্রত্যাশিত বছরের রেঞ্জের বাইরের তারিখ %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "ক্যালেন্ডার ইনপুট মোডে বদল করুন", + Strings.DatePickerSwitchToInputMode to "টেক্সট ইনপুট মোডে বদল করুন", + Strings.DatePickerScrollToShowLaterYears to "পরের বছরগুলি দেখতে স্ক্রল করুন", + Strings.DatePickerScrollToShowEarlierYears to "আগের বছরগুলি দেখতে স্ক্রল করুন", + Strings.DateRangePickerTitle to "তারিখ বেছে নিন", + Strings.DateRangePickerStartHeadline to "শুরুর তারিখ", + Strings.DateRangePickerEndHeadline to "শেষ হওয়ার তারিখ", + Strings.DateRangePickerScrollToShowNextMonth to "পরের মাস দেখতে স্ক্রল করুন", + Strings.DateRangePickerScrollToShowPreviousMonth to "আগের মাস দেখতে স্ক্রল করুন", + Strings.DateRangePickerDayInRange to "সীমার মধ্যে", + Strings.DateRangeInputTitle to "তারিখ লিখুন", + Strings.DateRangeInputInvalidRangeInput to "তারিখের ব্যাপ্তি সম্পর্কিত ইনপুট ভুল দেওয়া আছে", + Strings.BottomSheetPaneTitle to "স্ক্রিনের নিচে অ্যাটাচ করা শিট", + Strings.BottomSheetDragHandleDescription to "টেনে আনার হ্যান্ডেল", + Strings.BottomSheetPartialExpandDescription to "স্ক্রিনের নিচে অ্যাটাচ করা শিট আড়াল করুন", + Strings.BottomSheetDismissDescription to "স্ক্রিনের নিচে অ্যাটাচ করা শিট বাতিল করুন", + Strings.BottomSheetExpandDescription to "স্ক্রিনের নিচে অ্যাটাচ করা শিট বড় করুন", + Strings.TooltipPaneDescription to "টুলটিপ", + Strings.TooltipLongPressLabel to "টুলটিপ দেখান", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM বা PM বেছে নিন", + Strings.TimePickerHourSelection to "ঘণ্টা বেছে নিন", + Strings.TimePickerMinuteSelection to "মিনিট বেছে নিন", + Strings.TimePickerHourSuffix to "%1\$dটা", + Strings.TimePicker24HourSuffix to "%1\$d ঘণ্টা", + Strings.TimePickerMinuteSuffix to "%1\$d মিনিট", + Strings.TimePickerMinute to "মিনিট", + Strings.TimePickerHour to "ঘণ্টা", + Strings.TimePickerMinuteTextField to "এত মিনিটের জন্য", + Strings.TimePickerHourTextField to "এত ঘণ্টার জন্য", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bs.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bs.kt new file mode 100644 index 0000000000000..7651e9cfe17ca --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Bs.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bs() = mapOf( + Strings.NavigationMenu to "Meni za navigaciju", + Strings.ExposedDropdownMenu to "Padajući meni", + Strings.CloseDrawer to "Zatvaranje navigacionog menija", + Strings.CloseSheet to "Zatvaranje tabele", + Strings.DefaultErrorMessage to "Pogrešan unos", + Strings.SliderRangeStart to "Početak raspona", + Strings.SliderRangeEnd to "Kraj raspona", + Strings.Dialog to "Dijaloški okvir", + Strings.MenuExpanded to "Prošireno", + Strings.MenuCollapsed to "Suženo", + Strings.SnackbarDismiss to "Odbacivanje", + Strings.SearchBarSearch to "Pretraživanje", + Strings.SuggestionsAvailable to "Prijedlozi su u nastavku", + Strings.DatePickerTitle to "Odabir datuma", + Strings.DatePickerHeadline to "Odabrani datum", + Strings.DatePickerSwitchToYearSelection to "Prebacivanje na odabir godine", + Strings.DatePickerSwitchToDaySelection to "Prevucite da odaberete godinu ili dodirnite da se vratite na odabir dana", + Strings.DatePickerSwitchToNextMonth to "Promjena na sljedeći mjesec", + Strings.DatePickerSwitchToPreviousMonth to "Promjena na prethodni mjesec", + Strings.DatePickerNavigateToYearDescription to "Odlazak na %1\$s. godinu", + Strings.DatePickerHeadlineDescription to "Trenutni odabir: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ništa", + Strings.DatePickerTodayDescription to "Danas", + Strings.DatePickerYearPickerPaneTitle to "Birač godine je vidljiv", + Strings.DateInputTitle to "Odabir datuma", + Strings.DateInputHeadline to "Unesen je datum", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Unesen je datum: %1\$s", + Strings.DateInputNoInputDescription to "Ništa", + Strings.DateInputInvalidNotAllowed to "Datum nije dozvoljen: %1\$s", + Strings.DateInputInvalidForPattern to "Datumi se ne podudaraju s očekivanim obrascem: %1\$s", + Strings.DateInputInvalidYearRange to "Datum je izvan očekivanog raspona %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Prebacivanje na način rada unosa kalendara", + Strings.DatePickerSwitchToInputMode to "Prebacivanje na način rada unosa teksta", + Strings.DatePickerScrollToShowLaterYears to "Kliznite da se prikažu kasnije godine", + Strings.DatePickerScrollToShowEarlierYears to "Kliznite da se prikažu ranije godine", + Strings.DateRangePickerTitle to "Odabir datuma", + Strings.DateRangePickerStartHeadline to "Datum početka", + Strings.DateRangePickerEndHeadline to "Datum završetka", + Strings.DateRangePickerScrollToShowNextMonth to "Kliznite da se prikaže sljedeći mjesec", + Strings.DateRangePickerScrollToShowPreviousMonth to "Kliznite da se prikaže prethodni mjesec", + Strings.DateRangePickerDayInRange to "U rasponu", + Strings.DateRangeInputTitle to "Unos datuma", + Strings.DateRangeInputInvalidRangeInput to "Nevažeći unos raspona datuma", + Strings.BottomSheetPaneTitle to "Donja tabela", + Strings.BottomSheetDragHandleDescription to "Ručica za prevlačenje", + Strings.BottomSheetPartialExpandDescription to "Sužavanje donje tabele", + Strings.BottomSheetDismissDescription to "Odbacivanje donje tabele", + Strings.BottomSheetExpandDescription to "Proširivanje donje tabele", + Strings.TooltipPaneDescription to "Skočni opis", + Strings.TooltipLongPressLabel to "Prikaz skočnog opisa", + Strings.TimePickerPM to "poslijepodne", + Strings.TimePickerAM to "prijepodne", + Strings.TimePickerPeriodToggle to "Odaberite prijepodne ili poslijepodne", + Strings.TimePickerHourSelection to "Odaberite sate", + Strings.TimePickerMinuteSelection to "Odaberite minute", + Strings.TimePickerHourSuffix to "%1\$d h", + Strings.TimePicker24HourSuffix to "%1\$d h", + Strings.TimePickerMinuteSuffix to "%1\$d min", + Strings.TimePickerMinute to "Minuta", + Strings.TimePickerHour to "Sat", + Strings.TimePickerMinuteTextField to "za minute", + Strings.TimePickerHourTextField to "za sat", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ca.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ca.kt new file mode 100644 index 0000000000000..b0aa036e31d26 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ca.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ca() = mapOf( + Strings.NavigationMenu to "Menú de navegació", + Strings.ExposedDropdownMenu to "Menú desplegable", + Strings.CloseDrawer to "Tanca el menú de navegació", + Strings.CloseSheet to "Tanca el full", + Strings.DefaultErrorMessage to "L\'entrada no és vàlida", + Strings.SliderRangeStart to "Inici de l\'interval", + Strings.SliderRangeEnd to "Fi de l\'interval", + Strings.Dialog to "Quadre de diàleg", + Strings.MenuExpanded to "S\'ha desplegat", + Strings.MenuCollapsed to "S\'ha replegat", + Strings.SnackbarDismiss to "Ignora", + Strings.SearchBarSearch to "Cerca", + Strings.SuggestionsAvailable to "Suggeriments a continuació", + Strings.DatePickerTitle to "Selecciona la data", + Strings.DatePickerHeadline to "Data seleccionada", + Strings.DatePickerSwitchToYearSelection to "Canvia a la selecció de l\'any", + Strings.DatePickerSwitchToDaySelection to "Llisca per seleccionar un any o toca per tornar a seleccionar un dia", + Strings.DatePickerSwitchToNextMonth to "Canvia al mes següent", + Strings.DatePickerSwitchToPreviousMonth to "Canvia al mes anterior", + Strings.DatePickerNavigateToYearDescription to "Navega fins a l\'any %1\$s", + Strings.DatePickerHeadlineDescription to "Selecció actual: %1\$s", + Strings.DatePickerNoSelectionDescription to "Cap", + Strings.DatePickerTodayDescription to "Avui", + Strings.DatePickerYearPickerPaneTitle to "Selector d\'any visible", + Strings.DateInputTitle to "Selecciona la data", + Strings.DateInputHeadline to "Data introduïda", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data introduïda: %1\$s", + Strings.DateInputNoInputDescription to "Cap", + Strings.DateInputInvalidNotAllowed to "Data no permesa: %1\$s", + Strings.DateInputInvalidForPattern to "La data no coincideix amb el patró esperat: %1\$s", + Strings.DateInputInvalidYearRange to "La data no es troba dins de l\'interval d\'anys esperat: %1\$s-%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Canvia al mode d\'introducció de calendari", + Strings.DatePickerSwitchToInputMode to "Canvia al mode d\'introducció de text", + Strings.DatePickerScrollToShowLaterYears to "Desplaça\'t per mostrar els anys posteriors", + Strings.DatePickerScrollToShowEarlierYears to "Desplaça\'t per mostrar els anys anteriors", + Strings.DateRangePickerTitle to "Selecciona les dates", + Strings.DateRangePickerStartHeadline to "Data d\'inici", + Strings.DateRangePickerEndHeadline to "Data de finalització", + Strings.DateRangePickerScrollToShowNextMonth to "Desplaça\'t per mostrar el mes següent", + Strings.DateRangePickerScrollToShowPreviousMonth to "Desplaça\'t per mostrar el mes anterior", + Strings.DateRangePickerDayInRange to "Dins de l\'interval", + Strings.DateRangeInputTitle to "Introdueix les dates", + Strings.DateRangeInputInvalidRangeInput to "S\'ha introduït un interval de dates no vàlid", + Strings.BottomSheetPaneTitle to "Full inferior", + Strings.BottomSheetDragHandleDescription to "Ansa per arrossegar", + Strings.BottomSheetPartialExpandDescription to "Replega el full inferior", + Strings.BottomSheetDismissDescription to "Ignora el full inferior", + Strings.BottomSheetExpandDescription to "Desplega el full inferior", + Strings.TooltipPaneDescription to "Descripció emergent", + Strings.TooltipLongPressLabel to "Mostra la descripció emergent", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Selecciona AM o PM", + Strings.TimePickerHourSelection to "Selecciona l\'hora", + Strings.TimePickerMinuteSelection to "Selecciona els minuts", + Strings.TimePickerHourSuffix to "%1\$d en punt", + Strings.TimePicker24HourSuffix to "%1\$d hores", + Strings.TimePickerMinuteSuffix to "%1\$d minuts", + Strings.TimePickerMinute to "Minut", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "per als minuts", + Strings.TimePickerHourTextField to "per a l\'hora", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Cs.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Cs.kt new file mode 100644 index 0000000000000..df2b52bb9ae22 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Cs.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.cs() = mapOf( + Strings.NavigationMenu to "Navigační nabídka", + Strings.ExposedDropdownMenu to "Rozbalovací nabídka", + Strings.CloseDrawer to "Zavřít navigační panel", + Strings.CloseSheet to "Zavřít sešit", + Strings.DefaultErrorMessage to "Neplatný údaj", + Strings.SliderRangeStart to "Začátek rozsahu", + Strings.SliderRangeEnd to "Konec rozsahu", + Strings.Dialog to "Dialogové okno", + Strings.MenuExpanded to "Rozbaleno", + Strings.MenuCollapsed to "Sbaleno", + Strings.SnackbarDismiss to "Zavřít", + Strings.SearchBarSearch to "Vyhledávání", + Strings.SuggestionsAvailable to "Níže jsou k dispozici návrhy", + Strings.DatePickerTitle to "Výběr data", + Strings.DatePickerHeadline to "Vybrané datum", + Strings.DatePickerSwitchToYearSelection to "Přepnout na výběr roku", + Strings.DatePickerSwitchToDaySelection to "Přejetím prstem vyberte rok nebo se klepnutím vraťte k výběru dne", + Strings.DatePickerSwitchToNextMonth to "Přejít na další měsíc", + Strings.DatePickerSwitchToPreviousMonth to "Přejít na předchozí měsíc", + Strings.DatePickerNavigateToYearDescription to "Přejít na rok %1\$s", + Strings.DatePickerHeadlineDescription to "Aktuální výběr: %1\$s", + Strings.DatePickerNoSelectionDescription to "Žádné", + Strings.DatePickerTodayDescription to "Dnes", + Strings.DatePickerYearPickerPaneTitle to "Je zobrazen výběr roku", + Strings.DateInputTitle to "Vyberte datum", + Strings.DateInputHeadline to "Zadané datum", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Zadané datum: %1\$s", + Strings.DateInputNoInputDescription to "Žádné", + Strings.DateInputInvalidNotAllowed to "Nepovolené datum: %1\$s", + Strings.DateInputInvalidForPattern to "Datum neodpovídá očekávanému vzoru: %1\$s", + Strings.DateInputInvalidYearRange to "Datum není v očekávaném rozsahu roků %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Přepnout na režim zadávání pomocí kalendáře", + Strings.DatePickerSwitchToInputMode to "Přepnout na režim zadávání textu", + Strings.DatePickerScrollToShowLaterYears to "Posunutím zobrazíte pozdější roky", + Strings.DatePickerScrollToShowEarlierYears to "Posunutím zobrazíte předchozí roky", + Strings.DateRangePickerTitle to "Vyberte data", + Strings.DateRangePickerStartHeadline to "Datum zahájení", + Strings.DateRangePickerEndHeadline to "Datum ukončení", + Strings.DateRangePickerScrollToShowNextMonth to "Posunutím zobrazíte další měsíc", + Strings.DateRangePickerScrollToShowPreviousMonth to "Posunutím zobrazíte předchozí měsíc", + Strings.DateRangePickerDayInRange to "V rozsahu", + Strings.DateRangeInputTitle to "Zadejte data", + Strings.DateRangeInputInvalidRangeInput to "Neplatné období", + Strings.BottomSheetPaneTitle to "Spodní tabulka", + Strings.BottomSheetDragHandleDescription to "Úchyt pro přetažení", + Strings.BottomSheetPartialExpandDescription to "Sbalit spodní tabulku", + Strings.BottomSheetDismissDescription to "Zavřít spodní tabulku", + Strings.BottomSheetExpandDescription to "Rozbalit spodní tabulku", + Strings.TooltipPaneDescription to "Popisek", + Strings.TooltipLongPressLabel to "Zobrazit popisek", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Vyberte AM nebo PM", + Strings.TimePickerHourSelection to "Vybrat hodinu", + Strings.TimePickerMinuteSelection to "Vyberte minuty", + Strings.TimePickerHourSuffix to "%1\$d hodin", + Strings.TimePicker24HourSuffix to "%1\$d hodin", + Strings.TimePickerMinuteSuffix to "%1\$d minut", + Strings.TimePickerMinute to "Minuta", + Strings.TimePickerHour to "Hodina", + Strings.TimePickerMinuteTextField to "pro minuty", + Strings.TimePickerHourTextField to "pro hodinu", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Da.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Da.kt new file mode 100644 index 0000000000000..ee619385bc0b0 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Da.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.da() = mapOf( + Strings.NavigationMenu to "Navigationsmenu", + Strings.ExposedDropdownMenu to "Rullemenu", + Strings.CloseDrawer to "Luk navigationsmenuen", + Strings.CloseSheet to "Luk arket", + Strings.DefaultErrorMessage to "Ugyldigt input", + Strings.SliderRangeStart to "Startinterval", + Strings.SliderRangeEnd to "Slutinterval", + Strings.Dialog to "Dialogboks", + Strings.MenuExpanded to "Udvidet", + Strings.MenuCollapsed to "Skjult", + Strings.SnackbarDismiss to "Afvis", + Strings.SearchBarSearch to "Søg", + Strings.SuggestionsAvailable to "Forslag nedenfor", + Strings.DatePickerTitle to "Vælg dato", + Strings.DatePickerHeadline to "Valgt dato", + Strings.DatePickerSwitchToYearSelection to "Skift til valg af år", + Strings.DatePickerSwitchToDaySelection to "Stryg for at vælge et år, eller tryk for at skifte tilbage til datovælgeren", + Strings.DatePickerSwitchToNextMonth to "Skift til næste måned", + Strings.DatePickerSwitchToPreviousMonth to "Skift til forrige måned", + Strings.DatePickerNavigateToYearDescription to "Gå til år %1\$s", + Strings.DatePickerHeadlineDescription to "Aktuelt valg: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ingen", + Strings.DatePickerTodayDescription to "I dag", + Strings.DatePickerYearPickerPaneTitle to "Årsvælgeren er synlig", + Strings.DateInputTitle to "Vælg dato", + Strings.DateInputHeadline to "Angivet dato", + Strings.DateInputLabel to "Dato", + Strings.DateInputHeadlineDescription to "Angivet dato: %1\$s", + Strings.DateInputNoInputDescription to "Ingen", + Strings.DateInputInvalidNotAllowed to "Datoen er ikke tilladt: %1\$s", + Strings.DateInputInvalidForPattern to "Datoen svarer ikke til det forventede format: %1\$s", + Strings.DateInputInvalidYearRange to "Datoen er uden for det forventede årsinterval: %1\$s-%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Skift til input-tilstand for kalender", + Strings.DatePickerSwitchToInputMode to "Skift til input-tilstand for tekst", + Strings.DatePickerScrollToShowLaterYears to "Rul for at se senere år", + Strings.DatePickerScrollToShowEarlierYears to "Rul for at se tidligere år", + Strings.DateRangePickerTitle to "Vælg datoer", + Strings.DateRangePickerStartHeadline to "Startdato", + Strings.DateRangePickerEndHeadline to "Slutdato", + Strings.DateRangePickerScrollToShowNextMonth to "Rul for at se næste måned", + Strings.DateRangePickerScrollToShowPreviousMonth to "Rul for at se forrige måned", + Strings.DateRangePickerDayInRange to "Inden for de valgte dage", + Strings.DateRangeInputTitle to "Angiv datoer", + Strings.DateRangeInputInvalidRangeInput to "Det angivne datointerval er ugyldigt", + Strings.BottomSheetPaneTitle to "Felt i bunden", + Strings.BottomSheetDragHandleDescription to "Håndtag", + Strings.BottomSheetPartialExpandDescription to "Skjul felt i bunden", + Strings.BottomSheetDismissDescription to "Luk felt i bunden", + Strings.BottomSheetExpandDescription to "Udvid felt i bunden", + Strings.TooltipPaneDescription to "Værktøjstip", + Strings.TooltipLongPressLabel to "Se værktøjstip", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Vælg AM eller PM", + Strings.TimePickerHourSelection to "Vælg time", + Strings.TimePickerMinuteSelection to "Vælg minutter", + Strings.TimePickerHourSuffix to "kl. %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d timer", + Strings.TimePickerMinuteSuffix to "%1\$d minutter", + Strings.TimePickerMinute to "Minut", + Strings.TimePickerHour to "Time", + Strings.TimePickerMinuteTextField to "til minutter", + Strings.TimePickerHourTextField to "til timer", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/De.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/De.kt new file mode 100644 index 0000000000000..6a9c61021f114 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/De.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.de() = mapOf( + Strings.NavigationMenu to "Navigationsmenü", + Strings.ExposedDropdownMenu to "Drop-down-Menü", + Strings.CloseDrawer to "Navigationsmenü schließen", + Strings.CloseSheet to "Tabelle schließen", + Strings.DefaultErrorMessage to "Ungültige Eingabe", + Strings.SliderRangeStart to "Bereichsstart", + Strings.SliderRangeEnd to "Bereichsende", + Strings.Dialog to "Dialogfeld", + Strings.MenuExpanded to "Maximiert", + Strings.MenuCollapsed to "Minimiert", + Strings.SnackbarDismiss to "Schließen", + Strings.SearchBarSearch to "Suche", + Strings.SuggestionsAvailable to "Vorschläge unten", + Strings.DatePickerTitle to "Datum auswählen", + Strings.DatePickerHeadline to "Ausgewähltes Datum", + Strings.DatePickerSwitchToYearSelection to "Zur Jahresauswahl wechseln", + Strings.DatePickerSwitchToDaySelection to "Wischen, um ein Jahr auszuwählen, oder tippen, um zur Tagesauswahl zurückzukehren", + Strings.DatePickerSwitchToNextMonth to "Zum nächsten Monat wechseln", + Strings.DatePickerSwitchToPreviousMonth to "Zum vorherigen Monat wechseln", + Strings.DatePickerNavigateToYearDescription to "Zum Jahr %1\$s wechseln", + Strings.DatePickerHeadlineDescription to "Aktuelle Auswahl: %1\$s", + Strings.DatePickerNoSelectionDescription to "Kein Datum", + Strings.DatePickerTodayDescription to "Heute", + Strings.DatePickerYearPickerPaneTitle to "Jahresauswahl sichtbar", + Strings.DateInputTitle to "Datum auswählen", + Strings.DateInputHeadline to "Eingabedatum", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Eingabedatum: %1\$s", + Strings.DateInputNoInputDescription to "Kein Datum", + Strings.DateInputInvalidNotAllowed to "Unzulässiges Datum: %1\$s", + Strings.DateInputInvalidForPattern to "Datum entspricht nicht dem erwarteten Format: %1\$s", + Strings.DateInputInvalidYearRange to "Datum liegt außerhalb des erwarteten Jahresbereichs (%1\$s–%2\$s)", + Strings.DatePickerSwitchToCalendarMode to "In den Kalendereingabemodus wechseln", + Strings.DatePickerSwitchToInputMode to "In den Texteingabemodus wechseln", + Strings.DatePickerScrollToShowLaterYears to "Zum Ansehen nachfolgender Jahre scrollen", + Strings.DatePickerScrollToShowEarlierYears to "Zum Ansehen vorheriger Jahre scrollen", + Strings.DateRangePickerTitle to "Daten auswählen", + Strings.DateRangePickerStartHeadline to "Startdatum", + Strings.DateRangePickerEndHeadline to "Enddatum", + Strings.DateRangePickerScrollToShowNextMonth to "Zum Ansehen des nächsten Monats scrollen", + Strings.DateRangePickerScrollToShowPreviousMonth to "Zum Ansehen des vorherigen Monats scrollen", + Strings.DateRangePickerDayInRange to "Im Zeitraum", + Strings.DateRangeInputTitle to "Daten eingeben", + Strings.DateRangeInputInvalidRangeInput to "Angegebener Zeitraum ungültig", + Strings.BottomSheetPaneTitle to "Ansicht am unteren Rand", + Strings.BottomSheetDragHandleDescription to "Ziehpunkt", + Strings.BottomSheetPartialExpandDescription to "Ansicht am unteren Rand minimieren", + Strings.BottomSheetDismissDescription to "Ansicht am unteren Rand schließen", + Strings.BottomSheetExpandDescription to "Ansicht am unteren Rand maximieren", + Strings.TooltipPaneDescription to "Kurzinfo", + Strings.TooltipLongPressLabel to "Kurzinfo anzeigen", + Strings.TimePickerPM to "Nachmittags", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Vormittags oder nachmittags auswählen", + Strings.TimePickerHourSelection to "Stunde auswählen", + Strings.TimePickerMinuteSelection to "Minuten auswählen", + Strings.TimePickerHourSuffix to "%1\$d Uhr", + Strings.TimePicker24HourSuffix to "%1\$d Std.", + Strings.TimePickerMinuteSuffix to "%1\$d Minuten", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Stunde", + Strings.TimePickerMinuteTextField to "für Minuten", + Strings.TimePickerHourTextField to "für Stunde", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/El.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/El.kt new file mode 100644 index 0000000000000..bb0e8ef1f2aa2 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/El.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.el() = mapOf( + Strings.NavigationMenu to "Μενού πλοήγησης", + Strings.ExposedDropdownMenu to "Αναπτυσσόμενο μενού", + Strings.CloseDrawer to "Κλείσιμο του μενού πλοήγησης", + Strings.CloseSheet to "Κλείσιμο φύλλου", + Strings.DefaultErrorMessage to "Μη έγκυρη καταχώριση", + Strings.SliderRangeStart to "Αρχή εύρους", + Strings.SliderRangeEnd to "Τέλος εύρους", + Strings.Dialog to "Παράθυρο διαλόγου", + Strings.MenuExpanded to "Αναπτυγμένο", + Strings.MenuCollapsed to "Συμπτυγμένο", + Strings.SnackbarDismiss to "Παράβλεψη", + Strings.SearchBarSearch to "Αναζήτηση", + Strings.SuggestionsAvailable to "Προτάσεις παρακάτω", + Strings.DatePickerTitle to "Επιλογή ημερομηνίας", + Strings.DatePickerHeadline to "Επιλεγμένη ημερομηνία", + Strings.DatePickerSwitchToYearSelection to "Εναλλαγή σε επιλογή έτους", + Strings.DatePickerSwitchToDaySelection to "Σύρετε για να επιλέξετε ένα έτος ή πατήστε για να επιστρέψετε στην επιλογή ημέρας.", + Strings.DatePickerSwitchToNextMonth to "Αλλαγή στον επόμενο μήνα", + Strings.DatePickerSwitchToPreviousMonth to "Αλλαγή στον προηγούμενο μήνα", + Strings.DatePickerNavigateToYearDescription to "Μετάβαση στο έτος %1\$s", + Strings.DatePickerHeadlineDescription to "Τρέχουσα επιλογή: %1\$s", + Strings.DatePickerNoSelectionDescription to "Καμία", + Strings.DatePickerTodayDescription to "Σήμερα", + Strings.DatePickerYearPickerPaneTitle to "Το εργαλείο επιλογής έτους είναι ορατό", + Strings.DateInputTitle to "Επιλογή ημερομηνίας", + Strings.DateInputHeadline to "Εισαγωγή ημερομηνίας", + Strings.DateInputLabel to "Ημερομηνία", + Strings.DateInputHeadlineDescription to "Εισαγωγή ημερομηνίας: %1\$s", + Strings.DateInputNoInputDescription to "Καμία", + Strings.DateInputInvalidNotAllowed to "Η ημερομηνία δεν επιτρέπεται: %1\$s", + Strings.DateInputInvalidForPattern to "Η ημερομηνία δεν αντιστοιχεί στο αναμενόμενο μοτίβο: %1\$s", + Strings.DateInputInvalidYearRange to "Η ημερομηνία είναι εκτός του αναμενόμενου εύρους ετών %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Εναλλαγή στη λειτουργία εισαγωγής ημερολογίου", + Strings.DatePickerSwitchToInputMode to "Εναλλαγή στη λειτουργία εισαγωγής κειμένου", + Strings.DatePickerScrollToShowLaterYears to "Κάντε κύλιση για εμφάνιση επόμενων ετών", + Strings.DatePickerScrollToShowEarlierYears to "Κάντε κύλιση για εμφάνιση προηγούμενων ετών", + Strings.DateRangePickerTitle to "Επιλογή ημερομηνιών", + Strings.DateRangePickerStartHeadline to "Ημερομηνία έναρξης", + Strings.DateRangePickerEndHeadline to "Ημερομηνία λήξης", + Strings.DateRangePickerScrollToShowNextMonth to "Κάντε κύλιση για εμφάνιση του επόμενου μήνα", + Strings.DateRangePickerScrollToShowPreviousMonth to "Κάντε κύλιση για εμφάνιση του προηγούμενου μήνα", + Strings.DateRangePickerDayInRange to "Εντός εύρους", + Strings.DateRangeInputTitle to "Εισαγωγή ημερομηνιών", + Strings.DateRangeInputInvalidRangeInput to "Μη έγκυρη εισαγωγή εύρους ημερομηνιών", + Strings.BottomSheetPaneTitle to "Φύλλο κάτω μέρους", + Strings.BottomSheetDragHandleDescription to "Λαβή μεταφοράς", + Strings.BottomSheetPartialExpandDescription to "Σύμπτυξη φύλλου κάτω μέρους", + Strings.BottomSheetDismissDescription to "Παράβλεψη φύλλου κάτω μέρους", + Strings.BottomSheetExpandDescription to "Ανάπτυξη φύλλου κάτω μέρους", + Strings.TooltipPaneDescription to "Επεξήγηση εργαλείου", + Strings.TooltipLongPressLabel to "Προβολή επεξήγησης εργαλείου", + Strings.TimePickerPM to "μμ", + Strings.TimePickerAM to "πμ", + Strings.TimePickerPeriodToggle to "Επιλέξτε π.μ. ή μ.μ.", + Strings.TimePickerHourSelection to "Επιλογή ώρας", + Strings.TimePickerMinuteSelection to "Επιλογή λεπτών", + Strings.TimePickerHourSuffix to "%1\$d η ώρα", + Strings.TimePicker24HourSuffix to "Ώρα %1\$d", + Strings.TimePickerMinuteSuffix to "%1\$d λεπτά", + Strings.TimePickerMinute to "Λεπτό", + Strings.TimePickerHour to "Ώρα", + Strings.TimePickerMinuteTextField to "για λεπτά", + Strings.TimePickerHourTextField to "για ώρα", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/En.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/En.kt new file mode 100644 index 0000000000000..adecd0cfaae29 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/En.kt @@ -0,0 +1,355 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.en() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Dropdown menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Expanded", + Strings.MenuCollapsed to "Collapsed", + Strings.SnackbarDismiss to "Dismiss", + Strings.SearchBarSearch to "Search", + Strings.SuggestionsAvailable to "Suggestions below", + Strings.DatePickerTitle to "Select date", + Strings.DatePickerHeadline to "Selected date", + Strings.DatePickerSwitchToYearSelection to "Switch to selecting a year", + Strings.DatePickerSwitchToDaySelection to "Swipe to select a year, or tap to switch back to selecting a day", + Strings.DatePickerSwitchToNextMonth to "Change to next month", + Strings.DatePickerSwitchToPreviousMonth to "Change to previous month", + Strings.DatePickerNavigateToYearDescription to "Navigate to year %1\$s", + Strings.DatePickerHeadlineDescription to "Current selection: %1\$s", + Strings.DatePickerNoSelectionDescription to "None", + Strings.DatePickerTodayDescription to "Today", + Strings.DatePickerYearPickerPaneTitle to "Year picker visible", + Strings.DateInputTitle to "Select date", + Strings.DateInputHeadline to "Entered date", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Entered date: %1\$s", + Strings.DateInputNoInputDescription to "None", + Strings.DateInputInvalidNotAllowed to "Date not allowed: %1\$s", + Strings.DateInputInvalidForPattern to "Date does not match expected pattern: %1\$s", + Strings.DateInputInvalidYearRange to "Date out of expected year range %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Switch to calendar input mode", + Strings.DatePickerSwitchToInputMode to "Switch to text input mode", + Strings.DatePickerScrollToShowLaterYears to "Scroll to show later years", + Strings.DatePickerScrollToShowEarlierYears to "Scroll to show earlier years", + Strings.DateRangePickerTitle to "Select dates", + Strings.DateRangePickerStartHeadline to "Start date", + Strings.DateRangePickerEndHeadline to "End date", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll to show the next month", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll to show the previous month", + Strings.DateRangePickerDayInRange to "In range", + Strings.DateRangeInputTitle to "Enter dates", + Strings.DateRangeInputInvalidRangeInput to "Invalid date range input", + Strings.BottomSheetPaneTitle to "Bottom Sheet", + Strings.BottomSheetDragHandleDescription to "Drag handle", + Strings.BottomSheetPartialExpandDescription to "Collapse bottom sheet", + Strings.BottomSheetDismissDescription to "Dismiss bottom sheet", + Strings.BottomSheetExpandDescription to "Expand bottom sheet", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Show tooltip", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Select AM or PM", + Strings.TimePickerHourSelection to "Select hour", + Strings.TimePickerMinuteSelection to "Select minutes", + Strings.TimePickerHourSuffix to "%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "%1\$d hours", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Hour", + Strings.TimePickerMinuteTextField to "for minutes", + Strings.TimePickerHourTextField to "for hour", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enAU() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Drop-down menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", + Strings.Dialog to "Dialogue", + Strings.MenuExpanded to "Expanded", + Strings.MenuCollapsed to "Collapsed", + Strings.SnackbarDismiss to "Dismiss", + Strings.SearchBarSearch to "Search", + Strings.SuggestionsAvailable to "Suggestions below", + Strings.DatePickerTitle to "Select date", + Strings.DatePickerHeadline to "Selected date", + Strings.DatePickerSwitchToYearSelection to "Switch to selecting a year", + Strings.DatePickerSwitchToDaySelection to "Swipe to select a year or tap to switch back to selecting a day", + Strings.DatePickerSwitchToNextMonth to "Change to next month", + Strings.DatePickerSwitchToPreviousMonth to "Change to previous month", + Strings.DatePickerNavigateToYearDescription to "Navigate to year %1\$s", + Strings.DatePickerHeadlineDescription to "Current selection: %1\$s", + Strings.DatePickerNoSelectionDescription to "None", + Strings.DatePickerTodayDescription to "Today", + Strings.DatePickerYearPickerPaneTitle to "Year picker visible", + Strings.DateInputTitle to "Select date", + Strings.DateInputHeadline to "Entered date", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Entered date: %1\$s", + Strings.DateInputNoInputDescription to "None", + Strings.DateInputInvalidNotAllowed to "Date not allowed: %1\$s", + Strings.DateInputInvalidForPattern to "Date does not match expected pattern: %1\$s", + Strings.DateInputInvalidYearRange to "Date out of expected year range %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Switch to calendar input mode", + Strings.DatePickerSwitchToInputMode to "Switch to text input mode", + Strings.DatePickerScrollToShowLaterYears to "Scroll to show later years", + Strings.DatePickerScrollToShowEarlierYears to "Scroll to show earlier years", + Strings.DateRangePickerTitle to "Select dates", + Strings.DateRangePickerStartHeadline to "Start date", + Strings.DateRangePickerEndHeadline to "End date", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll to show the next month", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll to show the previous month", + Strings.DateRangePickerDayInRange to "In range", + Strings.DateRangeInputTitle to "Enter dates", + Strings.DateRangeInputInvalidRangeInput to "Invalid date range input", + Strings.BottomSheetPaneTitle to "Bottom sheet", + Strings.BottomSheetDragHandleDescription to "Drag handle", + Strings.BottomSheetPartialExpandDescription to "Collapse bottom sheet", + Strings.BottomSheetDismissDescription to "Dismiss bottom sheet", + Strings.BottomSheetExpandDescription to "Expand bottom sheet", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Show tooltip", + Strings.TimePickerPM to "p.m.", + Strings.TimePickerAM to "a.m.", + Strings.TimePickerPeriodToggle to "Select a.m. or p.m.", + Strings.TimePickerHourSelection to "Select hour", + Strings.TimePickerMinuteSelection to "Select minutes", + Strings.TimePickerHourSuffix to "%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "%1\$d hours", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Hour", + Strings.TimePickerMinuteTextField to "for minutes", + Strings.TimePickerHourTextField to "for hour", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enCA() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Dropdown menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Expanded", + Strings.MenuCollapsed to "Collapsed", + Strings.SnackbarDismiss to "Dismiss", + Strings.SearchBarSearch to "Search", + Strings.SuggestionsAvailable to "Suggestions below", + Strings.DatePickerTitle to "Select date", + Strings.DatePickerHeadline to "Selected date", + Strings.DatePickerSwitchToYearSelection to "Switch to selecting a year", + Strings.DatePickerSwitchToDaySelection to "Swipe to select a year, or tap to switch back to selecting a day", + Strings.DatePickerSwitchToNextMonth to "Change to next month", + Strings.DatePickerSwitchToPreviousMonth to "Change to previous month", + Strings.DatePickerNavigateToYearDescription to "Navigate to year %1\$s", + Strings.DatePickerHeadlineDescription to "Current selection: %1\$s", + Strings.DatePickerNoSelectionDescription to "None", + Strings.DatePickerTodayDescription to "Today", + Strings.DatePickerYearPickerPaneTitle to "Year picker visible", + Strings.DateInputTitle to "Select date", + Strings.DateInputHeadline to "Entered date", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Entered date: %1\$s", + Strings.DateInputNoInputDescription to "None", + Strings.DateInputInvalidNotAllowed to "Date not allowed: %1\$s", + Strings.DateInputInvalidForPattern to "Date does not match expected pattern: %1\$s", + Strings.DateInputInvalidYearRange to "Date out of expected year range %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Switch to calendar input mode", + Strings.DatePickerSwitchToInputMode to "Switch to text input mode", + Strings.DatePickerScrollToShowLaterYears to "Scroll to show later years", + Strings.DatePickerScrollToShowEarlierYears to "Scroll to show earlier years", + Strings.DateRangePickerTitle to "Select dates", + Strings.DateRangePickerStartHeadline to "Start date", + Strings.DateRangePickerEndHeadline to "End date", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll to show the next month", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll to show the previous month", + Strings.DateRangePickerDayInRange to "In range", + Strings.DateRangeInputTitle to "Enter dates", + Strings.DateRangeInputInvalidRangeInput to "Invalid date range input", + Strings.BottomSheetPaneTitle to "Bottom Sheet", + Strings.BottomSheetDragHandleDescription to "Drag handle", + Strings.BottomSheetPartialExpandDescription to "Collapse bottom sheet", + Strings.BottomSheetDismissDescription to "Dismiss bottom sheet", + Strings.BottomSheetExpandDescription to "Expand bottom sheet", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Show tooltip", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Select AM or PM", + Strings.TimePickerHourSelection to "Select hour", + Strings.TimePickerMinuteSelection to "Select minutes", + Strings.TimePickerHourSuffix to "%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "%1\$d hours", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Hour", + Strings.TimePickerMinuteTextField to "for minutes", + Strings.TimePickerHourTextField to "for hour", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enGB() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Drop-down menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", + Strings.Dialog to "Dialogue", + Strings.MenuExpanded to "Expanded", + Strings.MenuCollapsed to "Collapsed", + Strings.SnackbarDismiss to "Dismiss", + Strings.SearchBarSearch to "Search", + Strings.SuggestionsAvailable to "Suggestions below", + Strings.DatePickerTitle to "Select date", + Strings.DatePickerHeadline to "Selected date", + Strings.DatePickerSwitchToYearSelection to "Switch to selecting a year", + Strings.DatePickerSwitchToDaySelection to "Swipe to select a year or tap to switch back to selecting a day", + Strings.DatePickerSwitchToNextMonth to "Change to next month", + Strings.DatePickerSwitchToPreviousMonth to "Change to previous month", + Strings.DatePickerNavigateToYearDescription to "Navigate to year %1\$s", + Strings.DatePickerHeadlineDescription to "Current selection: %1\$s", + Strings.DatePickerNoSelectionDescription to "None", + Strings.DatePickerTodayDescription to "Today", + Strings.DatePickerYearPickerPaneTitle to "Year picker visible", + Strings.DateInputTitle to "Select date", + Strings.DateInputHeadline to "Entered date", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Entered date: %1\$s", + Strings.DateInputNoInputDescription to "None", + Strings.DateInputInvalidNotAllowed to "Date not allowed: %1\$s", + Strings.DateInputInvalidForPattern to "Date does not match expected pattern: %1\$s", + Strings.DateInputInvalidYearRange to "Date out of expected year range %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Switch to calendar input mode", + Strings.DatePickerSwitchToInputMode to "Switch to text input mode", + Strings.DatePickerScrollToShowLaterYears to "Scroll to show later years", + Strings.DatePickerScrollToShowEarlierYears to "Scroll to show earlier years", + Strings.DateRangePickerTitle to "Select dates", + Strings.DateRangePickerStartHeadline to "Start date", + Strings.DateRangePickerEndHeadline to "End date", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll to show the next month", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll to show the previous month", + Strings.DateRangePickerDayInRange to "In range", + Strings.DateRangeInputTitle to "Enter dates", + Strings.DateRangeInputInvalidRangeInput to "Invalid date range input", + Strings.BottomSheetPaneTitle to "Bottom sheet", + Strings.BottomSheetDragHandleDescription to "Drag handle", + Strings.BottomSheetPartialExpandDescription to "Collapse bottom sheet", + Strings.BottomSheetDismissDescription to "Dismiss bottom sheet", + Strings.BottomSheetExpandDescription to "Expand bottom sheet", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Show tooltip", + Strings.TimePickerPM to "p.m.", + Strings.TimePickerAM to "a.m.", + Strings.TimePickerPeriodToggle to "Select a.m. or p.m.", + Strings.TimePickerHourSelection to "Select hour", + Strings.TimePickerMinuteSelection to "Select minutes", + Strings.TimePickerHourSuffix to "%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "%1\$d hours", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Hour", + Strings.TimePickerMinuteTextField to "for minutes", + Strings.TimePickerHourTextField to "for hour", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enIN() = mapOf( + Strings.NavigationMenu to "Navigation menu", + Strings.ExposedDropdownMenu to "Drop-down menu", + Strings.CloseDrawer to "Close navigation menu", + Strings.CloseSheet to "Close sheet", + Strings.DefaultErrorMessage to "Invalid input", + Strings.SliderRangeStart to "Range start", + Strings.SliderRangeEnd to "Range end", + Strings.Dialog to "Dialogue", + Strings.MenuExpanded to "Expanded", + Strings.MenuCollapsed to "Collapsed", + Strings.SnackbarDismiss to "Dismiss", + Strings.SearchBarSearch to "Search", + Strings.SuggestionsAvailable to "Suggestions below", + Strings.DatePickerTitle to "Select date", + Strings.DatePickerHeadline to "Selected date", + Strings.DatePickerSwitchToYearSelection to "Switch to selecting a year", + Strings.DatePickerSwitchToDaySelection to "Swipe to select a year or tap to switch back to selecting a day", + Strings.DatePickerSwitchToNextMonth to "Change to next month", + Strings.DatePickerSwitchToPreviousMonth to "Change to previous month", + Strings.DatePickerNavigateToYearDescription to "Navigate to year %1\$s", + Strings.DatePickerHeadlineDescription to "Current selection: %1\$s", + Strings.DatePickerNoSelectionDescription to "None", + Strings.DatePickerTodayDescription to "Today", + Strings.DatePickerYearPickerPaneTitle to "Year picker visible", + Strings.DateInputTitle to "Select date", + Strings.DateInputHeadline to "Entered date", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Entered date: %1\$s", + Strings.DateInputNoInputDescription to "None", + Strings.DateInputInvalidNotAllowed to "Date not allowed: %1\$s", + Strings.DateInputInvalidForPattern to "Date does not match expected pattern: %1\$s", + Strings.DateInputInvalidYearRange to "Date out of expected year range %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Switch to calendar input mode", + Strings.DatePickerSwitchToInputMode to "Switch to text input mode", + Strings.DatePickerScrollToShowLaterYears to "Scroll to show later years", + Strings.DatePickerScrollToShowEarlierYears to "Scroll to show earlier years", + Strings.DateRangePickerTitle to "Select dates", + Strings.DateRangePickerStartHeadline to "Start date", + Strings.DateRangePickerEndHeadline to "End date", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll to show the next month", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll to show the previous month", + Strings.DateRangePickerDayInRange to "In range", + Strings.DateRangeInputTitle to "Enter dates", + Strings.DateRangeInputInvalidRangeInput to "Invalid date range input", + Strings.BottomSheetPaneTitle to "Bottom sheet", + Strings.BottomSheetDragHandleDescription to "Drag handle", + Strings.BottomSheetPartialExpandDescription to "Collapse bottom sheet", + Strings.BottomSheetDismissDescription to "Dismiss bottom sheet", + Strings.BottomSheetExpandDescription to "Expand bottom sheet", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Show tooltip", + Strings.TimePickerPM to "p.m.", + Strings.TimePickerAM to "a.m.", + Strings.TimePickerPeriodToggle to "Select a.m. or p.m.", + Strings.TimePickerHourSelection to "Select hour", + Strings.TimePickerMinuteSelection to "Select minutes", + Strings.TimePickerHourSuffix to "%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "%1\$d hours", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Hour", + Strings.TimePickerMinuteTextField to "for minutes", + Strings.TimePickerHourTextField to "for hour", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Es.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Es.kt new file mode 100644 index 0000000000000..c9bc40eeeb893 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Es.kt @@ -0,0 +1,154 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.es() = mapOf( + Strings.NavigationMenu to "Menú de navegación", + Strings.ExposedDropdownMenu to "Menú desplegable", + Strings.CloseDrawer to "Cerrar menú de navegación", + Strings.CloseSheet to "Cerrar hoja", + Strings.DefaultErrorMessage to "Entrada no válida", + Strings.SliderRangeStart to "Inicio del intervalo", + Strings.SliderRangeEnd to "Fin del intervalo", + Strings.Dialog to "Cuadro de diálogo", + Strings.MenuExpanded to "Desplegado", + Strings.MenuCollapsed to "Contraído", + Strings.SnackbarDismiss to "Cerrar", + Strings.SearchBarSearch to "Buscar", + Strings.SuggestionsAvailable to "Sugerencias a continuación", + Strings.DatePickerTitle to "Seleccionar fecha", + Strings.DatePickerHeadline to "Fecha seleccionada", + Strings.DatePickerSwitchToYearSelection to "Cambiar para seleccionar un año", + Strings.DatePickerSwitchToDaySelection to "Desliza para seleccionar un año o toca para volver a seleccionar un día", + Strings.DatePickerSwitchToNextMonth to "Cambiar al mes siguiente", + Strings.DatePickerSwitchToPreviousMonth to "Cambiar al mes anterior", + Strings.DatePickerNavigateToYearDescription to "Ir al año %1\$s", + Strings.DatePickerHeadlineDescription to "Seleccionado: %1\$s", + Strings.DatePickerNoSelectionDescription to "No hay datos", + Strings.DatePickerTodayDescription to "Hoy", + Strings.DatePickerYearPickerPaneTitle to "Selector de año visible", + Strings.DateInputTitle to "Seleccionar fecha", + Strings.DateInputHeadline to "Fecha introducida", + Strings.DateInputLabel to "Fecha", + Strings.DateInputHeadlineDescription to "Fecha introducida: %1\$s", + Strings.DateInputNoInputDescription to "No hay datos", + Strings.DateInputInvalidNotAllowed to "Fecha no permitida: %1\$s", + Strings.DateInputInvalidForPattern to "La fecha no coincide con el patrón esperado: %1\$s", + Strings.DateInputInvalidYearRange to "Fecha fuera del intervalo de años previsto: %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Cambiar al modo de introducción de calendario", + Strings.DatePickerSwitchToInputMode to "Cambiar al modo de introducción de texto", + Strings.DatePickerScrollToShowLaterYears to "Desplázate para ver los años posteriores", + Strings.DatePickerScrollToShowEarlierYears to "Desplázate para ver los años anteriores", + Strings.DateRangePickerTitle to "Seleccionar fechas", + Strings.DateRangePickerStartHeadline to "Fecha de inicio", + Strings.DateRangePickerEndHeadline to "Fecha de finalización", + Strings.DateRangePickerScrollToShowNextMonth to "Desplázate para ver el mes siguiente", + Strings.DateRangePickerScrollToShowPreviousMonth to "Desplázate para ver el mes anterior", + Strings.DateRangePickerDayInRange to "Dentro del intervalo", + Strings.DateRangeInputTitle to "Introducir fechas", + Strings.DateRangeInputInvalidRangeInput to "El intervalo de fechas no es válido", + Strings.BottomSheetPaneTitle to "Hoja inferior", + Strings.BottomSheetDragHandleDescription to "Controlador de arrastre", + Strings.BottomSheetPartialExpandDescription to "Contrae la hoja inferior", + Strings.BottomSheetDismissDescription to "Cierra la hoja inferior", + Strings.BottomSheetExpandDescription to "Despliega la hoja inferior", + Strings.TooltipPaneDescription to "Descripción emergente", + Strings.TooltipLongPressLabel to "Mostrar descripción emergente", + Strings.TimePickerPM to "p. m.", + Strings.TimePickerAM to "a. m.", + Strings.TimePickerPeriodToggle to "Selecciona AM o PM", + Strings.TimePickerHourSelection to "Seleccionar hora", + Strings.TimePickerMinuteSelection to "Seleccionar minutos", + Strings.TimePickerHourSuffix to "%1\$d en punto", + Strings.TimePicker24HourSuffix to "%1\$d horas", + Strings.TimePickerMinuteSuffix to "%1\$d minutos", + Strings.TimePickerMinute to "Minutos", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "para los minutos", + Strings.TimePickerHourTextField to "para la hora", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.esUS() = mapOf( + Strings.NavigationMenu to "Menú de navegación", + Strings.ExposedDropdownMenu to "Menú desplegable", + Strings.CloseDrawer to "Cerrar el menú de navegación", + Strings.CloseSheet to "Cerrar hoja", + Strings.DefaultErrorMessage to "Entrada no válida", + Strings.SliderRangeStart to "Inicio de intervalo", + Strings.SliderRangeEnd to "Final de intervalo", + Strings.Dialog to "Diálogo", + Strings.MenuExpanded to "Expandido", + Strings.MenuCollapsed to "Contraído", + Strings.SnackbarDismiss to "Descartar", + Strings.SearchBarSearch to "Buscar", + Strings.SuggestionsAvailable to "Sugerencias a continuación", + Strings.DatePickerTitle to "Seleccionar fecha", + Strings.DatePickerHeadline to "Fecha seleccionada", + Strings.DatePickerSwitchToYearSelection to "Cambiar a seleccionar un año", + Strings.DatePickerSwitchToDaySelection to "Desliza el dedo para seleccionar un año o presiona para volver a la selección de día", + Strings.DatePickerSwitchToNextMonth to "Cambiar al mes siguiente", + Strings.DatePickerSwitchToPreviousMonth to "Cambiar al mes anterior", + Strings.DatePickerNavigateToYearDescription to "Navegar al año %1\$s", + Strings.DatePickerHeadlineDescription to "Selección actual: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ninguna", + Strings.DatePickerTodayDescription to "Hoy", + Strings.DatePickerYearPickerPaneTitle to "Selector de año visible", + Strings.DateInputTitle to "Seleccionar fecha", + Strings.DateInputHeadline to "Fecha ingresada", + Strings.DateInputLabel to "Fecha", + Strings.DateInputHeadlineDescription to "Fecha ingresada: %1\$s", + Strings.DateInputNoInputDescription to "Ninguna", + Strings.DateInputInvalidNotAllowed to "Fecha no permitida: %1\$s", + Strings.DateInputInvalidForPattern to "La fecha no coincide con el patrón esperado: %1\$s", + Strings.DateInputInvalidYearRange to "La fecha está fuera del rango de años esperado: %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Cambiar al modo de entrada de calendario", + Strings.DatePickerSwitchToInputMode to "Cambiar al modo de entrada de texto", + Strings.DatePickerScrollToShowLaterYears to "Desplázate para ver los últimos años", + Strings.DatePickerScrollToShowEarlierYears to "Desplázate para ver los primeros años", + Strings.DateRangePickerTitle to "Seleccionar fechas", + Strings.DateRangePickerStartHeadline to "Fecha de inicio", + Strings.DateRangePickerEndHeadline to "Fecha de finalización", + Strings.DateRangePickerScrollToShowNextMonth to "Desplázate para ver el próximo mes", + Strings.DateRangePickerScrollToShowPreviousMonth to "Desplázate para ver el mes anterior", + Strings.DateRangePickerDayInRange to "En el rango", + Strings.DateRangeInputTitle to "Ingresar fechas", + Strings.DateRangeInputInvalidRangeInput to "Se introdujo un período no válido", + Strings.BottomSheetPaneTitle to "Hoja inferior", + Strings.BottomSheetDragHandleDescription to "Controlador de arrastre", + Strings.BottomSheetPartialExpandDescription to "Contraer la hoja inferior", + Strings.BottomSheetDismissDescription to "Descartar la hoja inferior", + Strings.BottomSheetExpandDescription to "Expandir la hoja inferior", + Strings.TooltipPaneDescription to "Información", + Strings.TooltipLongPressLabel to "Mostrar información", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Selecciona a.m. o p.m.", + Strings.TimePickerHourSelection to "Seleccionar hora", + Strings.TimePickerMinuteSelection to "Seleccionar los minutos", + Strings.TimePickerHourSuffix to "%1\$d en punto", + Strings.TimePicker24HourSuffix to "%1\$d horas", + Strings.TimePickerMinuteSuffix to "%1\$d minutos", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "por minutos", + Strings.TimePickerHourTextField to "por hora", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Et.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Et.kt new file mode 100644 index 0000000000000..de871ae6c4e58 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Et.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.et() = mapOf( + Strings.NavigationMenu to "Navigeerimismenüü", + Strings.ExposedDropdownMenu to "Rippmenüü", + Strings.CloseDrawer to "Sule navigeerimismenüü", + Strings.CloseSheet to "Sule leht", + Strings.DefaultErrorMessage to "Sobimatu sisend", + Strings.SliderRangeStart to "Vahemiku algus", + Strings.SliderRangeEnd to "Vahemiku lõpp", + Strings.Dialog to "Dialoog", + Strings.MenuExpanded to "Laiendatud", + Strings.MenuCollapsed to "Ahendatud", + Strings.SnackbarDismiss to "Loobu", + Strings.SearchBarSearch to "Otsing", + Strings.SuggestionsAvailable to "Soovitused on allpool", + Strings.DatePickerTitle to "Valige kuupäev", + Strings.DatePickerHeadline to "Valitud kuupäev", + Strings.DatePickerSwitchToYearSelection to "Lülitu aasta valimisele", + Strings.DatePickerSwitchToDaySelection to "Pühkige aasta valimiseks või puudutage, et minna tagasi päeva valimise juurde", + Strings.DatePickerSwitchToNextMonth to "Vaheta järgmisele kuule", + Strings.DatePickerSwitchToPreviousMonth to "Vaheta eelmisele kuule", + Strings.DatePickerNavigateToYearDescription to "Liigu aasta %1\$s juurde", + Strings.DatePickerHeadlineDescription to "Praegune valik: %1\$s", + Strings.DatePickerNoSelectionDescription to "Puudub", + Strings.DatePickerTodayDescription to "Täna", + Strings.DatePickerYearPickerPaneTitle to "Aasta valija on nähtav", + Strings.DateInputTitle to "Valige kuupäev", + Strings.DateInputHeadline to "Sisestatud kuupäev", + Strings.DateInputLabel to "Kuupäev", + Strings.DateInputHeadlineDescription to "Sisestatud kuupäev: %1\$s", + Strings.DateInputNoInputDescription to "Puudub", + Strings.DateInputInvalidNotAllowed to "Kuupäev pole lubatud: %1\$s", + Strings.DateInputInvalidForPattern to "Kuupäev ei ühti eeldatud mustriga: %1\$s", + Strings.DateInputInvalidYearRange to "Kuupäev on väljaspool eeldatud aastavahemikku %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Lülitu kalendrisisestusrežiimile", + Strings.DatePickerSwitchToInputMode to "Lülitu tekstisisestusrežiimile", + Strings.DatePickerScrollToShowLaterYears to "Hilisemate aastate kuvamiseks kerige", + Strings.DatePickerScrollToShowEarlierYears to "Varasemate aastate kuvamiseks kerige", + Strings.DateRangePickerTitle to "Valige kuupäevad", + Strings.DateRangePickerStartHeadline to "Alguskuupäev", + Strings.DateRangePickerEndHeadline to "Lõppkuupäev", + Strings.DateRangePickerScrollToShowNextMonth to "Järgmise kuu kuvamiseks kerige", + Strings.DateRangePickerScrollToShowPreviousMonth to "Eelmise kuu kuvamiseks kerige", + Strings.DateRangePickerDayInRange to "Vahemikus", + Strings.DateRangeInputTitle to "Sisestage kuupäevad", + Strings.DateRangeInputInvalidRangeInput to "Sisestati sobimatu kuupäevavahemik", + Strings.BottomSheetPaneTitle to "Alumine leht", + Strings.BottomSheetDragHandleDescription to "Lohistamispide", + Strings.BottomSheetPartialExpandDescription to "Alumise lehe ahendamine", + Strings.BottomSheetDismissDescription to "Alumisest lehest loobumine", + Strings.BottomSheetExpandDescription to "Alumise lehe laiendamine", + Strings.TooltipPaneDescription to "Kohtspikker", + Strings.TooltipLongPressLabel to "Kuva kohtspikker", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Valige AM või PM", + Strings.TimePickerHourSelection to "Tunni valimine", + Strings.TimePickerMinuteSelection to "Minutite valimine", + Strings.TimePickerHourSuffix to "%1\$d.00", + Strings.TimePicker24HourSuffix to "%1\$d tundi", + Strings.TimePickerMinuteSuffix to "%1\$d minutit", + Strings.TimePickerMinute to "Minut", + Strings.TimePickerHour to "Tunnid", + Strings.TimePickerMinuteTextField to "minutite jaoks", + Strings.TimePickerHourTextField to "tundide jaoks", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Eu.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Eu.kt new file mode 100644 index 0000000000000..1ba3c5296fe2f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Eu.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.eu() = mapOf( + Strings.NavigationMenu to "Nabigazio-menua", + Strings.ExposedDropdownMenu to "Goitibeherako menua", + Strings.CloseDrawer to "Itxi nabigazio-menua", + Strings.CloseSheet to "Itxi orria", + Strings.DefaultErrorMessage to "Sarrerak ez du balio", + Strings.SliderRangeStart to "Barrutiaren hasiera", + Strings.SliderRangeEnd to "Barrutiaren amaiera", + Strings.Dialog to "Leihoa", + Strings.MenuExpanded to "Zabalduta", + Strings.MenuCollapsed to "Tolestuta", + Strings.SnackbarDismiss to "Baztertu", + Strings.SearchBarSearch to "Bilatu", + Strings.SuggestionsAvailable to "Iradokizunak daude behean", + Strings.DatePickerTitle to "Hautatu data bat", + Strings.DatePickerHeadline to "Hautatutako data", + Strings.DatePickerSwitchToYearSelection to "Joan urte-hautatzailera", + Strings.DatePickerSwitchToDaySelection to "Pasatu hatza urte bat hautatzeko. Bestela, sakatu hau eguna hautatzeko pantailara itzultzeko.", + Strings.DatePickerSwitchToNextMonth to "Aldatu hurrengo hilabetera", + Strings.DatePickerSwitchToPreviousMonth to "Aldatu aurreko hilabetera", + Strings.DatePickerNavigateToYearDescription to "Joan %1\$s. urtera", + Strings.DatePickerHeadlineDescription to "Oraingo hautapena: %1\$s", + Strings.DatePickerNoSelectionDescription to "Bat ere ez", + Strings.DatePickerTodayDescription to "Gaur", + Strings.DatePickerYearPickerPaneTitle to "Urte-hautatzailea ikusgai dago", + Strings.DateInputTitle to "Hautatu data bat", + Strings.DateInputHeadline to "Idatzitako data", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Idatzitako data: %1\$s", + Strings.DateInputNoInputDescription to "Bat ere ez", + Strings.DateInputInvalidNotAllowed to "Ez da onartzen data: %1\$s", + Strings.DateInputInvalidForPattern to "Data ez dator bat espero den ereduarekin: %1\$s", + Strings.DateInputInvalidYearRange to "Espero den urte tartetik (%1\$s-%2\$s) kanpo dago data", + Strings.DatePickerSwitchToCalendarMode to "Aldatu egutegiaren idazketa-metodora", + Strings.DatePickerSwitchToInputMode to "Aldatu testua idazteko modura", + Strings.DatePickerScrollToShowLaterYears to "Egin gora/behera etorkizuneko urteak erakusteko", + Strings.DatePickerScrollToShowEarlierYears to "Egin gora/behera iraganeko urteak erakusteko", + Strings.DateRangePickerTitle to "Hautatu datak", + Strings.DateRangePickerStartHeadline to "Hasiera-data", + Strings.DateRangePickerEndHeadline to "Amaiera-data", + Strings.DateRangePickerScrollToShowNextMonth to "Egin gora/behera hurrengo hilabetea erakusteko", + Strings.DateRangePickerScrollToShowPreviousMonth to "Egin gora/behera aurreko hilabetea erakusteko", + Strings.DateRangePickerDayInRange to "Barrutian", + Strings.DateRangeInputTitle to "Idatzi datak", + Strings.DateRangeInputInvalidRangeInput to "Idatzitako data tarteak ez du balio", + Strings.BottomSheetPaneTitle to "Pantailaren behealdean ainguratutako orria", + Strings.BottomSheetDragHandleDescription to "Arrastatzeko kontrol-puntua", + Strings.BottomSheetPartialExpandDescription to "Tolestu pantailaren behealdean ainguratutako orria", + Strings.BottomSheetDismissDescription to "Baztertu pantailaren behealdean ainguratutako orria", + Strings.BottomSheetExpandDescription to "Zabaldu pantailaren behealdean ainguratutako orria", + Strings.TooltipPaneDescription to "Aholkua", + Strings.TooltipLongPressLabel to "Erakutsi aholkua", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Hautatu AM edo PM", + Strings.TimePickerHourSelection to "Hautatu ordua", + Strings.TimePickerMinuteSelection to "Hautatu minutuak", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d", + Strings.TimePickerMinuteSuffix to "%1\$d minutu", + Strings.TimePickerMinute to "Minutua", + Strings.TimePickerHour to "Ordua", + Strings.TimePickerMinuteTextField to "minutuetarako", + Strings.TimePickerHourTextField to "ordurako", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fa.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fa.kt new file mode 100644 index 0000000000000..244bc8712bdef --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fa.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fa() = mapOf( + Strings.NavigationMenu to "منوی پیمایش", + Strings.ExposedDropdownMenu to "منوی کرکره‌ای", + Strings.CloseDrawer to "بستن منوی پیمایش", + Strings.CloseSheet to "بستن برگ", + Strings.DefaultErrorMessage to "ورودی نامعتبر", + Strings.SliderRangeStart to "شروع محدوده", + Strings.SliderRangeEnd to "پایان محدوده", + Strings.Dialog to "کادر گفتگو", + Strings.MenuExpanded to "ازهم باز شد", + Strings.MenuCollapsed to "جمع شد", + Strings.SnackbarDismiss to "بستن", + Strings.SearchBarSearch to "جستجو", + Strings.SuggestionsAvailable to "پیشنهادهای زیر", + Strings.DatePickerTitle to "انتخاب تاریخ", + Strings.DatePickerHeadline to "تاریخ انتخابی", + Strings.DatePickerSwitchToYearSelection to "رفتن به انتخاب سال", + Strings.DatePickerSwitchToDaySelection to "برای انتخاب سال، تند بکشید یا برای برگشتن به انتخاب روز، ضربه بزنید", + Strings.DatePickerSwitchToNextMonth to "تغییر به ماه بعدی", + Strings.DatePickerSwitchToPreviousMonth to "تغییر به ماه قبلی", + Strings.DatePickerNavigateToYearDescription to "‏پیمایش به سال %1\$s", + Strings.DatePickerHeadlineDescription to "‏انتخاب فعلی: %1\$s", + Strings.DatePickerNoSelectionDescription to "هیچ‌کدام", + Strings.DatePickerTodayDescription to "امروز", + Strings.DatePickerYearPickerPaneTitle to "انتخابگر سال نمایان است", + Strings.DateInputTitle to "انتخاب تاریخ", + Strings.DateInputHeadline to "تاریخ واردشده", + Strings.DateInputLabel to "تاریخ", + Strings.DateInputHeadlineDescription to "‏تاریخ واردشده: %1\$s", + Strings.DateInputNoInputDescription to "هیچ‌کدام", + Strings.DateInputInvalidNotAllowed to "‏تاریخ مجاز نیست: %1\$s", + Strings.DateInputInvalidForPattern to "‏تاریخ با الگوی موردانتظار مطابقت ندارد: %1\$s", + Strings.DateInputInvalidYearRange to "‏تاریخ خارج از بازه زمانی %1\$s تا %2\$s است", + Strings.DatePickerSwitchToCalendarMode to "رفتن به روش ورودی تقویم", + Strings.DatePickerSwitchToInputMode to "رفتن به حالت ورودی نوشتاری", + Strings.DatePickerScrollToShowLaterYears to "برای نمایش سال‌های بعد پیمایش کنید", + Strings.DatePickerScrollToShowEarlierYears to "برای نمایش سال‌های قبل پیمایش کنید", + Strings.DateRangePickerTitle to "تاریخ‌ها را انتخاب کنید", + Strings.DateRangePickerStartHeadline to "تاریخ شروع", + Strings.DateRangePickerEndHeadline to "تاریخ پایان", + Strings.DateRangePickerScrollToShowNextMonth to "برای نمایش ماه بعد پیمایش کنید", + Strings.DateRangePickerScrollToShowPreviousMonth to "برای نمایش ماه قبل پیمایش کنید", + Strings.DateRangePickerDayInRange to "در محدوده", + Strings.DateRangeInputTitle to "تاریخ‌ها را وارد کنید", + Strings.DateRangeInputInvalidRangeInput to "محدوده تاریخ واردشده نامعتبر است", + Strings.BottomSheetPaneTitle to "برگ زیرین", + Strings.BottomSheetDragHandleDescription to "دستگیره کشاندن", + Strings.BottomSheetPartialExpandDescription to "جمع کردن برگ زیرین", + Strings.BottomSheetDismissDescription to "بستن برگ زیرین", + Strings.BottomSheetExpandDescription to "ازهم باز کردن برگ زیرین", + Strings.TooltipPaneDescription to "نکته‌ابزار", + Strings.TooltipLongPressLabel to "نمایش نکته‌ابزار", + Strings.TimePickerPM to "ب.ظ.", + Strings.TimePickerAM to "ق.ظ.", + Strings.TimePickerPeriodToggle to "انتخاب ق.ظ. یا ب.ظ.", + Strings.TimePickerHourSelection to "انتخاب ساعت", + Strings.TimePickerMinuteSelection to "انتخاب دقیقه", + Strings.TimePickerHourSuffix to "‏ساعت %1\$d", + Strings.TimePicker24HourSuffix to "‏%1\$d ساعت", + Strings.TimePickerMinuteSuffix to "‏%1\$d دقیقه", + Strings.TimePickerMinute to "دقیقه", + Strings.TimePickerHour to "ساعت", + Strings.TimePickerMinuteTextField to "برای دقیقه", + Strings.TimePickerHourTextField to "برای ساعت", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fi.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fi.kt new file mode 100644 index 0000000000000..260ae5c9202e2 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fi.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fi() = mapOf( + Strings.NavigationMenu to "Navigointivalikko", + Strings.ExposedDropdownMenu to "Avattava valikko", + Strings.CloseDrawer to "Sulje navigointivalikko", + Strings.CloseSheet to "Sulje taulukko", + Strings.DefaultErrorMessage to "Virheellinen syöte", + Strings.SliderRangeStart to "Alueen alku", + Strings.SliderRangeEnd to "Alueen loppu", + Strings.Dialog to "Valintaikkuna", + Strings.MenuExpanded to "Laajennettu", + Strings.MenuCollapsed to "Tiivistetty", + Strings.SnackbarDismiss to "Ohita", + Strings.SearchBarSearch to "Hae", + Strings.SuggestionsAvailable to "Ehdotuksia alla", + Strings.DatePickerTitle to "Valitse päivämäärä", + Strings.DatePickerHeadline to "Valittu päivämäärä", + Strings.DatePickerSwitchToYearSelection to "Vaihda vuoden valintaan", + Strings.DatePickerSwitchToDaySelection to "Valitse vuosi pyyhkäisemällä tai palaa päivän valintaan napauttamalla", + Strings.DatePickerSwitchToNextMonth to "Vaihda seuraavaan kuukauteen", + Strings.DatePickerSwitchToPreviousMonth to "Vaihda edelliseen kuukauteen", + Strings.DatePickerNavigateToYearDescription to "Siirry vuoteen %1\$s", + Strings.DatePickerHeadlineDescription to "Nykyinen valinta: %1\$s", + Strings.DatePickerNoSelectionDescription to "–", + Strings.DatePickerTodayDescription to "Tänään", + Strings.DatePickerYearPickerPaneTitle to "Vuosivalitsin näkyvillä", + Strings.DateInputTitle to "Valitse päivämäärä", + Strings.DateInputHeadline to "Lisätty päivämäärä", + Strings.DateInputLabel to "Päivämäärä", + Strings.DateInputHeadlineDescription to "Lisätty päivämäärä: %1\$s", + Strings.DateInputNoInputDescription to "–", + Strings.DateInputInvalidNotAllowed to "Päivämäärä ei sallittu: %1\$s", + Strings.DateInputInvalidForPattern to "Päivämäärä ei vastaa odotettua mallia: %1\$s", + Strings.DateInputInvalidYearRange to "Päivämäärä ei sisälly odotettuun vuosiaikaväliin: %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Vaihda syöttötavaksi kalenteri", + Strings.DatePickerSwitchToInputMode to "Vaihda tekstinsyöttötilaan", + Strings.DatePickerScrollToShowLaterYears to "Vieritä nähdäksesi myöhemmät vuodet", + Strings.DatePickerScrollToShowEarlierYears to "Vieritä nähdäksesi aiemmat vuodet", + Strings.DateRangePickerTitle to "Valitse päivämäärät", + Strings.DateRangePickerStartHeadline to "Alkamispäivä", + Strings.DateRangePickerEndHeadline to "Päättymispäivä", + Strings.DateRangePickerScrollToShowNextMonth to "Vieritä nähdäksesi seuraavan kuukauden", + Strings.DateRangePickerScrollToShowPreviousMonth to "Vieritä nähdäksesi edellisen kuukauden", + Strings.DateRangePickerDayInRange to "Valitulla välillä", + Strings.DateRangeInputTitle to "Lisää päivämäärät", + Strings.DateRangeInputInvalidRangeInput to "Virheellinen aikaväli", + Strings.BottomSheetPaneTitle to "Alapaneeli", + Strings.BottomSheetDragHandleDescription to "Vetokahva", + Strings.BottomSheetPartialExpandDescription to "Tiivistä alapaneeli", + Strings.BottomSheetDismissDescription to "Hylkää alapaneeli", + Strings.BottomSheetExpandDescription to "Laajenna alapaneeli", + Strings.TooltipPaneDescription to "Vihjeteksti", + Strings.TooltipLongPressLabel to "Näytä vihjeteksti", + Strings.TimePickerPM to "IP", + Strings.TimePickerAM to "AP", + Strings.TimePickerPeriodToggle to "Valitse AP tai IP", + Strings.TimePickerHourSelection to "Valitse tunti", + Strings.TimePickerMinuteSelection to "Valitse minuutit", + Strings.TimePickerHourSuffix to "Kello %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d h", + Strings.TimePickerMinuteSuffix to "%1\$d minuuttia", + Strings.TimePickerMinute to "Minuutti", + Strings.TimePickerHour to "Tunti", + Strings.TimePickerMinuteTextField to "minuuttien osalta", + Strings.TimePickerHourTextField to "tuntien osalta", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fr.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fr.kt new file mode 100644 index 0000000000000..bc2c2c01805d4 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Fr.kt @@ -0,0 +1,154 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fr() = mapOf( + Strings.NavigationMenu to "Menu de navigation", + Strings.ExposedDropdownMenu to "Menu déroulant", + Strings.CloseDrawer to "Fermer le menu de navigation", + Strings.CloseSheet to "Fermer la feuille", + Strings.DefaultErrorMessage to "Données incorrectes", + Strings.SliderRangeStart to "Début de plage", + Strings.SliderRangeEnd to "Fin de plage", + Strings.Dialog to "Boîte de dialogue", + Strings.MenuExpanded to "Développé", + Strings.MenuCollapsed to "Réduit", + Strings.SnackbarDismiss to "Fermer", + Strings.SearchBarSearch to "Rechercher", + Strings.SuggestionsAvailable to "Suggestions ci-dessous", + Strings.DatePickerTitle to "Sélectionner une date", + Strings.DatePickerHeadline to "Date sélectionnée", + Strings.DatePickerSwitchToYearSelection to "Passer à la sélection d\'une année", + Strings.DatePickerSwitchToDaySelection to "Balayez l\'écran pour sélectionner une année ou appuyez pour revenir à la sélection d\'un jour", + Strings.DatePickerSwitchToNextMonth to "Passer au mois suivant", + Strings.DatePickerSwitchToPreviousMonth to "Passer au mois précédent", + Strings.DatePickerNavigateToYearDescription to "Accéder à l\'année %1\$s", + Strings.DatePickerHeadlineDescription to "Sélection actuelle : %1\$s", + Strings.DatePickerNoSelectionDescription to "Aucun", + Strings.DatePickerTodayDescription to "Aujourd\'hui", + Strings.DatePickerYearPickerPaneTitle to "Sélecteur d\'année visible", + Strings.DateInputTitle to "Sélectionner une date", + Strings.DateInputHeadline to "Date saisie", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Date saisie : %1\$s", + Strings.DateInputNoInputDescription to "Aucun", + Strings.DateInputInvalidNotAllowed to "Date non autorisée : %1\$s", + Strings.DateInputInvalidForPattern to "La date ne correspond pas au format attendu : %1\$s", + Strings.DateInputInvalidYearRange to "Date hors de la plage d\'années attendue : %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Passer au mode de saisie Agenda", + Strings.DatePickerSwitchToInputMode to "Passer au mode de saisie Texte", + Strings.DatePickerScrollToShowLaterYears to "Faites défiler pour afficher les années suivantes", + Strings.DatePickerScrollToShowEarlierYears to "Faites défiler pour afficher les années précédentes", + Strings.DateRangePickerTitle to "Sélectionner des dates", + Strings.DateRangePickerStartHeadline to "Date de début", + Strings.DateRangePickerEndHeadline to "Date de fin", + Strings.DateRangePickerScrollToShowNextMonth to "Faites défiler pour afficher le mois suivant", + Strings.DateRangePickerScrollToShowPreviousMonth to "Faites défiler pour afficher le mois précédent", + Strings.DateRangePickerDayInRange to "Dans la plage", + Strings.DateRangeInputTitle to "Saisir des dates", + Strings.DateRangeInputInvalidRangeInput to "Plage de dates non valide", + Strings.BottomSheetPaneTitle to "Bottom sheet", + Strings.BottomSheetDragHandleDescription to "Poignée de déplacement", + Strings.BottomSheetPartialExpandDescription to "Réduire la bottom sheet", + Strings.BottomSheetDismissDescription to "Fermer la bottom sheet", + Strings.BottomSheetExpandDescription to "Développer la bottom sheet", + Strings.TooltipPaneDescription to "Info-bulle", + Strings.TooltipLongPressLabel to "Afficher l\'info-bulle", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Sélectionner le format AM ou PM", + Strings.TimePickerHourSelection to "Sélectionner une heure", + Strings.TimePickerMinuteSelection to "Sélectionner des minutes", + Strings.TimePickerHourSuffix to "%1\$d heures", + Strings.TimePicker24HourSuffix to "%1\$d heures", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Heure", + Strings.TimePickerMinuteTextField to "en minutes", + Strings.TimePickerHourTextField to "en heures", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.frCA() = mapOf( + Strings.NavigationMenu to "Menu de navigation", + Strings.ExposedDropdownMenu to "Menu déroulant", + Strings.CloseDrawer to "Fermer le menu de navigation", + Strings.CloseSheet to "Fermer la feuille", + Strings.DefaultErrorMessage to "Entrée incorrecte", + Strings.SliderRangeStart to "Début de plage", + Strings.SliderRangeEnd to "Fin de plage", + Strings.Dialog to "Dialogue", + Strings.MenuExpanded to "Développé", + Strings.MenuCollapsed to "Réduit", + Strings.SnackbarDismiss to "Fermer", + Strings.SearchBarSearch to "Recherche", + Strings.SuggestionsAvailable to "Suggestions ci-dessous", + Strings.DatePickerTitle to "Sélectionner une date", + Strings.DatePickerHeadline to "Date sélectionnée", + Strings.DatePickerSwitchToYearSelection to "Passer à la sélection d\'une année", + Strings.DatePickerSwitchToDaySelection to "Balayez l\'écran pour sélectionner une année, ou touchez pour revenir en arrière et sélectionner un jour", + Strings.DatePickerSwitchToNextMonth to "Passer au mois suivant", + Strings.DatePickerSwitchToPreviousMonth to "Passer au mois précédent", + Strings.DatePickerNavigateToYearDescription to "Naviguez jusqu\'à l\'année %1\$s", + Strings.DatePickerHeadlineDescription to "Sélection actuelle : %1\$s", + Strings.DatePickerNoSelectionDescription to "Aucune", + Strings.DatePickerTodayDescription to "Aujourd\'hui", + Strings.DatePickerYearPickerPaneTitle to "Sélecteur d\'année visible", + Strings.DateInputTitle to "Sélectionner une date", + Strings.DateInputHeadline to "Date entrée", + Strings.DateInputLabel to "Date", + Strings.DateInputHeadlineDescription to "Date entrée : %1\$s", + Strings.DateInputNoInputDescription to "Aucune", + Strings.DateInputInvalidNotAllowed to "Date non autorisée : %1\$s", + Strings.DateInputInvalidForPattern to "La date ne correspond pas au schéma prévu : %1\$s", + Strings.DateInputInvalidYearRange to "Date non comprise dans la fourchette prévue des années %1\$s à %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Passer au mode d\'entrée de l\'agenda", + Strings.DatePickerSwitchToInputMode to "Passer au mode d\'entrée de texte", + Strings.DatePickerScrollToShowLaterYears to "Faites défiler pour afficher les années suivantes", + Strings.DatePickerScrollToShowEarlierYears to "Faites défiler pour afficher les années précédentes", + Strings.DateRangePickerTitle to "Sélectionner les dates", + Strings.DateRangePickerStartHeadline to "Date de début", + Strings.DateRangePickerEndHeadline to "Date de fin", + Strings.DateRangePickerScrollToShowNextMonth to "Faites défiler pour afficher le mois suivant", + Strings.DateRangePickerScrollToShowPreviousMonth to "Faites défiler pour afficher le mois précédent", + Strings.DateRangePickerDayInRange to "Dans la fourchette", + Strings.DateRangeInputTitle to "Entrer les dates", + Strings.DateRangeInputInvalidRangeInput to "Entrée de période incorrecte", + Strings.BottomSheetPaneTitle to "Zone de contenu dans le bas de l\'écran", + Strings.BottomSheetDragHandleDescription to "Poignée de déplacement", + Strings.BottomSheetPartialExpandDescription to "Réduire la zone de contenu dans le bas de l\'écran", + Strings.BottomSheetDismissDescription to "Fermer la zone de contenu dans le bas de l\'écran", + Strings.BottomSheetExpandDescription to "Développer la zone de contenu dans le bas de l\'écran", + Strings.TooltipPaneDescription to "Infobulle", + Strings.TooltipLongPressLabel to "Afficher une infobulle", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Sélectionner AM ou PM", + Strings.TimePickerHourSelection to "Sélectionner l\'heure", + Strings.TimePickerMinuteSelection to "Sélectionnez les minutes", + Strings.TimePickerHourSuffix to "%1\$d h", + Strings.TimePicker24HourSuffix to "%1\$d h", + Strings.TimePickerMinuteSuffix to "%1\$d minutes", + Strings.TimePickerMinute to "Minute", + Strings.TimePickerHour to "Heure", + Strings.TimePickerMinuteTextField to "pour les minutes", + Strings.TimePickerHourTextField to "pour l\'heure", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gl.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gl.kt new file mode 100644 index 0000000000000..59b777cd8d8f9 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gl.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.gl() = mapOf( + Strings.NavigationMenu to "Menú de navegación", + Strings.ExposedDropdownMenu to "Menú despregable", + Strings.CloseDrawer to "Pechar menú de navegación", + Strings.CloseSheet to "Pechar folla", + Strings.DefaultErrorMessage to "O texto escrito non é válido", + Strings.SliderRangeStart to "Inicio do intervalo", + Strings.SliderRangeEnd to "Fin do intervalo", + Strings.Dialog to "Cadro de diálogo", + Strings.MenuExpanded to "Despregado", + Strings.MenuCollapsed to "Contraído", + Strings.SnackbarDismiss to "Pechar", + Strings.SearchBarSearch to "Buscar", + Strings.SuggestionsAvailable to "Hai suxestións abaixo", + Strings.DatePickerTitle to "Selecciona a data", + Strings.DatePickerHeadline to "Data seleccionada", + Strings.DatePickerSwitchToYearSelection to "Cambiar á selección do ano", + Strings.DatePickerSwitchToDaySelection to "Pasar o dedo para seleccionar un ano ou tocar a pantalla para volver á selección do día", + Strings.DatePickerSwitchToNextMonth to "Cambiar ao mes seguinte", + Strings.DatePickerSwitchToPreviousMonth to "Cambiar ao mes anterior", + Strings.DatePickerNavigateToYearDescription to "Ir ao ano %1\$s", + Strings.DatePickerHeadlineDescription to "Selección actual: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ningunha", + Strings.DatePickerTodayDescription to "Hoxe", + Strings.DatePickerYearPickerPaneTitle to "Selector de ano visible", + Strings.DateInputTitle to "Selecciona a data", + Strings.DateInputHeadline to "Data indicada", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data indicada: %1\$s", + Strings.DateInputNoInputDescription to "Ningunha", + Strings.DateInputInvalidNotAllowed to "Data non permitida: %1\$s", + Strings.DateInputInvalidForPattern to "A data non coincide co padrón esperado: %1\$s", + Strings.DateInputInvalidYearRange to "A data está fóra do intervalo de anos esperado (%1\$s - %2\$s)", + Strings.DatePickerSwitchToCalendarMode to "Cambiar ao modo de introdución de texto do calendario", + Strings.DatePickerSwitchToInputMode to "Cambiar ao modo de introdución de texto", + Strings.DatePickerScrollToShowLaterYears to "Desprazarse para mostrar anos posteriores", + Strings.DatePickerScrollToShowEarlierYears to "Desprazarse para mostrar anos anteriores", + Strings.DateRangePickerTitle to "Selecciona as datas", + Strings.DateRangePickerStartHeadline to "Data de inicio", + Strings.DateRangePickerEndHeadline to "Data de finalización", + Strings.DateRangePickerScrollToShowNextMonth to "Desprazarse para mostrar o mes seguinte", + Strings.DateRangePickerScrollToShowPreviousMonth to "Desprazarse para mostrar o mes anterior", + Strings.DateRangePickerDayInRange to "Dentro do intervalo", + Strings.DateRangeInputTitle to "Indica as datas", + Strings.DateRangeInputInvalidRangeInput to "Indicouse un intervalo de datas que non é válido", + Strings.BottomSheetPaneTitle to "Panel inferior", + Strings.BottomSheetDragHandleDescription to "Controlador de arrastre", + Strings.BottomSheetPartialExpandDescription to "Contrae o panel inferior", + Strings.BottomSheetDismissDescription to "Pecha o panel inferior", + Strings.BottomSheetExpandDescription to "Desprega o panel inferior", + Strings.TooltipPaneDescription to "Cadro de información", + Strings.TooltipLongPressLabel to "Mostrar o cadro de información", + Strings.TimePickerPM to "p.m.", + Strings.TimePickerAM to "a.m.", + Strings.TimePickerPeriodToggle to "Selecciona a.m. ou p.m.", + Strings.TimePickerHourSelection to "Selecciona a hora", + Strings.TimePickerMinuteSelection to "Selecciona os minutos", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d horas", + Strings.TimePickerMinuteSuffix to "%1\$d minutos", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "por minuto", + Strings.TimePickerHourTextField to "por hora", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gu.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gu.kt new file mode 100644 index 0000000000000..4f84830b9d6d4 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Gu.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.gu() = mapOf( + Strings.NavigationMenu to "નૅવિગેશન મેનૂ", + Strings.ExposedDropdownMenu to "ડ્રૉપડાઉન મેનૂ", + Strings.CloseDrawer to "નૅવિગેશન મેનૂ બંધ કરો", + Strings.CloseSheet to "શીટ બંધ કરો", + Strings.DefaultErrorMessage to "અમાન્ય ઇનપુટ", + Strings.SliderRangeStart to "રેંજની શરૂઆત", + Strings.SliderRangeEnd to "રેંજની સમાપ્તિ", + Strings.Dialog to "સંવાદ", + Strings.MenuExpanded to "મોટી કરેલી", + Strings.MenuCollapsed to "નાની કરેલી", + Strings.SnackbarDismiss to "છોડી દો", + Strings.SearchBarSearch to "શોધો", + Strings.SuggestionsAvailable to "સૂચનો નીચે છે", + Strings.DatePickerTitle to "તારીખ પસંદ કરો", + Strings.DatePickerHeadline to "પસંદ કરેલી તારીખ", + Strings.DatePickerSwitchToYearSelection to "વર્ષ પસંદ કરવાના વિકલ્પ પર સ્વિચ કરો", + Strings.DatePickerSwitchToDaySelection to "વર્ષ પસંદ કરવા માટે સ્વાઇપ કરો અથવા દિવસની પસંદગી પર પાછા સ્વિચ કરવા માટે ટૅપ કરો", + Strings.DatePickerSwitchToNextMonth to "બદલીને આગલો મહિનો પસંદ કરો", + Strings.DatePickerSwitchToPreviousMonth to "બદલીને પાછલો મહિનો પસંદ કરો", + Strings.DatePickerNavigateToYearDescription to "વર્ષ %1\$s પર નૅવિગેટ કરો", + Strings.DatePickerHeadlineDescription to "હાલની પસંદગી: %1\$s", + Strings.DatePickerNoSelectionDescription to "એકપણ નહીં", + Strings.DatePickerTodayDescription to "આજે", + Strings.DatePickerYearPickerPaneTitle to "વર્ષ માટેનું પિકર દૃશ્યમાન છે", + Strings.DateInputTitle to "તારીખ પસંદ કરો", + Strings.DateInputHeadline to "દાખલ કરેલી તારીખ", + Strings.DateInputLabel to "તારીખ", + Strings.DateInputHeadlineDescription to "દાખલ કરેલી તારીખ: %1\$s", + Strings.DateInputNoInputDescription to "એકપણ નહીં", + Strings.DateInputInvalidNotAllowed to "આ તારીખની મંજૂરી નથી: %1\$s", + Strings.DateInputInvalidForPattern to "તારીખ અપેક્ષિત પૅટર્ન સાથે મેળ ખાતી નથી: %1\$s", + Strings.DateInputInvalidYearRange to "અપેક્ષિત વર્ષની શ્રેણી %1\$s - %2\$sની બહારની તારીખ", + Strings.DatePickerSwitchToCalendarMode to "કૅલેન્ડર ઇનપુટ મોડ પર સ્વિચ કરો", + Strings.DatePickerSwitchToInputMode to "ટેક્સ્ટ ઇનપુટ મોડ પર સ્વિચ કરો", + Strings.DatePickerScrollToShowLaterYears to "પછીના વર્ષો બતાવવા માટે સ્ક્રોલ કરો", + Strings.DatePickerScrollToShowEarlierYears to "અગાઉના વર્ષો બતાવવા માટે સ્ક્રોલ કરો", + Strings.DateRangePickerTitle to "તારીખો પસંદ કરો", + Strings.DateRangePickerStartHeadline to "પ્રારંભ તારીખ", + Strings.DateRangePickerEndHeadline to "સમાપ્તિ તારીખ", + Strings.DateRangePickerScrollToShowNextMonth to "આગલો મહિનો બતાવવા માટે સ્ક્રોલ કરો", + Strings.DateRangePickerScrollToShowPreviousMonth to "પાછલો મહિનો બતાવવા માટે સ્ક્રોલ કરો", + Strings.DateRangePickerDayInRange to "રેન્જમાં છે", + Strings.DateRangeInputTitle to "તારીખો દાખલ કરો", + Strings.DateRangeInputInvalidRangeInput to "તારીખની શ્રેણીનું અમાન્ય ઇનપુટ", + Strings.BottomSheetPaneTitle to "બોટમ શીટ", + Strings.BottomSheetDragHandleDescription to "ઑબ્જેક્ટ ખેંચવાનું હૅન્ડલ", + Strings.BottomSheetPartialExpandDescription to "બોટમ શીટ નાની કરો", + Strings.BottomSheetDismissDescription to "બોટમ શીટ છોડી દો", + Strings.BottomSheetExpandDescription to "બોટમ શીટ મોટી કરો", + Strings.TooltipPaneDescription to "ટૂલટિપ", + Strings.TooltipLongPressLabel to "ટૂલટિપ બતાવો", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM કે PM પસંદ કરો", + Strings.TimePickerHourSelection to "કલાક પસંદ કરો", + Strings.TimePickerMinuteSelection to "મિનિટ પસંદ કરો", + Strings.TimePickerHourSuffix to "%1\$d વાગ્યે", + Strings.TimePicker24HourSuffix to "%1\$d કલાક", + Strings.TimePickerMinuteSuffix to "%1\$d મિનિટ", + Strings.TimePickerMinute to "મિનિટ", + Strings.TimePickerHour to "કલાક", + Strings.TimePickerMinuteTextField to "મિનિટ માટે", + Strings.TimePickerHourTextField to "કલાક માટે", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hi.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hi.kt new file mode 100644 index 0000000000000..2f2399886c362 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hi.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hi() = mapOf( + Strings.NavigationMenu to "नेविगेशन मेन्यू", + Strings.ExposedDropdownMenu to "ड्रॉपडाउन मेन्यू", + Strings.CloseDrawer to "नेविगेशन मेन्यू बंद करें", + Strings.CloseSheet to "शीट बंद करें", + Strings.DefaultErrorMessage to "अमान्य इनपुट", + Strings.SliderRangeStart to "रेंज की शुरुआत", + Strings.SliderRangeEnd to "रेंज की सीमा", + Strings.Dialog to "डायलॉग", + Strings.MenuExpanded to "बड़ा किया गया", + Strings.MenuCollapsed to "छोटा किया गया", + Strings.SnackbarDismiss to "खारिज करें", + Strings.SearchBarSearch to "खोजें", + Strings.SuggestionsAvailable to "सुझाव यहां मौजूद हैं", + Strings.DatePickerTitle to "तारीख चुनें", + Strings.DatePickerHeadline to "चुनी गई तारीख", + Strings.DatePickerSwitchToYearSelection to "साल चुनने के लिए स्विच करें", + Strings.DatePickerSwitchToDaySelection to "किसी साल को चुनने के लिए स्वाइप करें या दिन को चुनने की सेटिंग पर वापस जाने के लिए टैप करें", + Strings.DatePickerSwitchToNextMonth to "अगले महीने पर सेट करें", + Strings.DatePickerSwitchToPreviousMonth to "पिछले महीने पर सेट करें", + Strings.DatePickerNavigateToYearDescription to "साल %1\$s पर जाएं", + Strings.DatePickerHeadlineDescription to "फ़िलहाल, यह तारीख चुनी गई है: %1\$s", + Strings.DatePickerNoSelectionDescription to "कोई नहीं", + Strings.DatePickerTodayDescription to "आज", + Strings.DatePickerYearPickerPaneTitle to "साल चुनने का विकल्प दिख रहा है", + Strings.DateInputTitle to "तारीख चुनें", + Strings.DateInputHeadline to "डाली गई तारीख", + Strings.DateInputLabel to "तारीख", + Strings.DateInputHeadlineDescription to "डाली गई तारीख: %1\$s", + Strings.DateInputNoInputDescription to "कोई नहीं", + Strings.DateInputInvalidNotAllowed to "यह तारीख सही नहीं है: %1\$s", + Strings.DateInputInvalidForPattern to "तारीख सही फ़ॉर्मैट में नहीं डाली गई है: %1\$s", + Strings.DateInputInvalidYearRange to "तारीख को साल की सही रेंज में नहीं डाला गया है %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "कैलेंडर इनपुट मोड पर स्विच करें", + Strings.DatePickerSwitchToInputMode to "टेक्स्ट इनपुट मोड पर स्विच करें", + Strings.DatePickerScrollToShowLaterYears to "बाद वाले सालों की तारीख देखने के लिए स्क्रोल करें", + Strings.DatePickerScrollToShowEarlierYears to "पिछले सालों की तारीख देखने के लिए स्क्रोल करें", + Strings.DateRangePickerTitle to "तारीखें चुनें", + Strings.DateRangePickerStartHeadline to "शुरू होने की तारीख", + Strings.DateRangePickerEndHeadline to "खत्म होने की तारीख", + Strings.DateRangePickerScrollToShowNextMonth to "अगले महीने की तारीख देखने के लिए स्क्रोल करें", + Strings.DateRangePickerScrollToShowPreviousMonth to "पिछले महीने की तारीख देखने के लिए स्क्रोल करें", + Strings.DateRangePickerDayInRange to "रेंज में", + Strings.DateRangeInputTitle to "तारीखें डालें", + Strings.DateRangeInputInvalidRangeInput to "तारीख की दी गई सीमा गलत है", + Strings.BottomSheetPaneTitle to "बॉटम शीट", + Strings.BottomSheetDragHandleDescription to "खींचकर छोड़ने वाला हैंडल", + Strings.BottomSheetPartialExpandDescription to "बॉटम शीट को छोटा करें", + Strings.BottomSheetDismissDescription to "बॉटम शीट को खारिज करें", + Strings.BottomSheetExpandDescription to "बॉटम शीट को बड़ा करें", + Strings.TooltipPaneDescription to "टूलटिप", + Strings.TooltipLongPressLabel to "टूलटिप देखें", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM या PM चुनें", + Strings.TimePickerHourSelection to "घंटा चुनें", + Strings.TimePickerMinuteSelection to "मिनट चुनें", + Strings.TimePickerHourSuffix to "%1\$d बजे", + Strings.TimePicker24HourSuffix to "%1\$d घंटे", + Strings.TimePickerMinuteSuffix to "%1\$d मिनट", + Strings.TimePickerMinute to "मिनट", + Strings.TimePickerHour to "घंटा", + Strings.TimePickerMinuteTextField to "मिनट के लिए", + Strings.TimePickerHourTextField to "घंटे के लिए", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hr.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hr.kt new file mode 100644 index 0000000000000..7991a96c02339 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hr.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hr() = mapOf( + Strings.NavigationMenu to "Navigacijski izbornik", + Strings.ExposedDropdownMenu to "Padajući izbornik", + Strings.CloseDrawer to "Zatvaranje izbornika za navigaciju", + Strings.CloseSheet to "Zatvaranje lista", + Strings.DefaultErrorMessage to "Nevažeći unos", + Strings.SliderRangeStart to "Početak raspona", + Strings.SliderRangeEnd to "Kraj raspona", + Strings.Dialog to "Dijaloški okvir", + Strings.MenuExpanded to "Prošireno", + Strings.MenuCollapsed to "Sažeto", + Strings.SnackbarDismiss to "Odbaci", + Strings.SearchBarSearch to "Pretraživanje", + Strings.SuggestionsAvailable to "Prijedlozi su u nastavku", + Strings.DatePickerTitle to "Odaberite datum", + Strings.DatePickerHeadline to "Odabrani datum", + Strings.DatePickerSwitchToYearSelection to "Prijelaz na odabir godine", + Strings.DatePickerSwitchToDaySelection to "Pomaknite se za odabir godine ili dodirnite za povratak na odabir dana", + Strings.DatePickerSwitchToNextMonth to "Pomicanje na sljedeći mjesec", + Strings.DatePickerSwitchToPreviousMonth to "Pomicanje na prethodni mjesec", + Strings.DatePickerNavigateToYearDescription to "Prelazak u godinu %1\$s", + Strings.DatePickerHeadlineDescription to "Trenutačni odabir: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ništa", + Strings.DatePickerTodayDescription to "Danas", + Strings.DatePickerYearPickerPaneTitle to "Vidljiv je alat za odabir godine", + Strings.DateInputTitle to "Odaberite datum", + Strings.DateInputHeadline to "Datum unosa", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Datum unosa: %1\$s", + Strings.DateInputNoInputDescription to "Ništa", + Strings.DateInputInvalidNotAllowed to "Datum nije dopušten: %1\$s", + Strings.DateInputInvalidForPattern to "Datum se ne podudara s očekivanim uzorkom: %1\$s", + Strings.DateInputInvalidYearRange to "Datum je izvan očekivanog raspona godine %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Prijelaz na način unosa u Kalendaru", + Strings.DatePickerSwitchToInputMode to "Prijelaz na način unosa teksta", + Strings.DatePickerScrollToShowLaterYears to "Pomaknite se za prikaz kasnijih godina", + Strings.DatePickerScrollToShowEarlierYears to "Pomaknite se za prikaz ranijih godina", + Strings.DateRangePickerTitle to "Odabir datuma", + Strings.DateRangePickerStartHeadline to "Datum početka", + Strings.DateRangePickerEndHeadline to "Datum završetka", + Strings.DateRangePickerScrollToShowNextMonth to "Pomaknite se za prikaz sljedećeg mjeseca", + Strings.DateRangePickerScrollToShowPreviousMonth to "Pomaknite se za prikaz prethodnog mjeseca", + Strings.DateRangePickerDayInRange to "U dometu", + Strings.DateRangeInputTitle to "Unos datuma", + Strings.DateRangeInputInvalidRangeInput to "Unos datumskog raspona nije važeći", + Strings.BottomSheetPaneTitle to "Donja tablica", + Strings.BottomSheetDragHandleDescription to "Marker za povlačenje", + Strings.BottomSheetPartialExpandDescription to "Sažimanje donje tablice", + Strings.BottomSheetDismissDescription to "Odbacivanje donje tablice", + Strings.BottomSheetExpandDescription to "Proširivanje donje tablice", + Strings.TooltipPaneDescription to "Opis", + Strings.TooltipLongPressLabel to "Prikaži opis", + Strings.TimePickerPM to "Poslijepodne", + Strings.TimePickerAM to "Prijepodne", + Strings.TimePickerPeriodToggle to "Odaberite prijepodne ili poslijepodne", + Strings.TimePickerHourSelection to "Odabir sata", + Strings.TimePickerMinuteSelection to "Odaberite minute", + Strings.TimePickerHourSuffix to "%1\$d h", + Strings.TimePicker24HourSuffix to "%1\$d h", + Strings.TimePickerMinuteSuffix to "%1\$d min", + Strings.TimePickerMinute to "Minuta", + Strings.TimePickerHour to "Sat", + Strings.TimePickerMinuteTextField to "za minute", + Strings.TimePickerHourTextField to "za sat", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hu.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hu.kt new file mode 100644 index 0000000000000..1387658a208cb --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hu.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hu() = mapOf( + Strings.NavigationMenu to "Navigációs menü", + Strings.ExposedDropdownMenu to "Legördülő menü", + Strings.CloseDrawer to "Navigációs menü bezárása", + Strings.CloseSheet to "Munkalap bezárása", + Strings.DefaultErrorMessage to "Érvénytelen adat", + Strings.SliderRangeStart to "Tartomány kezdete", + Strings.SliderRangeEnd to "Tartomány vége", + Strings.Dialog to "Párbeszédpanel", + Strings.MenuExpanded to "Kibontva", + Strings.MenuCollapsed to "Összecsukva", + Strings.SnackbarDismiss to "Elvetés", + Strings.SearchBarSearch to "Keresés", + Strings.SuggestionsAvailable to "Javaslatok alább", + Strings.DatePickerTitle to "Dátum kiválasztása", + Strings.DatePickerHeadline to "Kiválasztott dátum", + Strings.DatePickerSwitchToYearSelection to "Váltás az év kiválasztására", + Strings.DatePickerSwitchToDaySelection to "Csúsztatással kiválaszthatja a kívánt évet, vagy koppintással visszaválthat a nap kiválasztásához.", + Strings.DatePickerSwitchToNextMonth to "Váltás a következő hónapra", + Strings.DatePickerSwitchToPreviousMonth to "Váltás az előző hónapra", + Strings.DatePickerNavigateToYearDescription to "Navigálás a következő évhez: %1\$s", + Strings.DatePickerHeadlineDescription to "Jelenleg kiválasztva: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nincs", + Strings.DatePickerTodayDescription to "Ma", + Strings.DatePickerYearPickerPaneTitle to "Látható az évválasztó", + Strings.DateInputTitle to "Dátum kiválasztása", + Strings.DateInputHeadline to "Megadott dátum", + Strings.DateInputLabel to "Dátum", + Strings.DateInputHeadlineDescription to "Megadott dátum: %1\$s", + Strings.DateInputNoInputDescription to "Nincs", + Strings.DateInputInvalidNotAllowed to "Nem engedélyezett dátum: %1\$s", + Strings.DateInputInvalidForPattern to "A dátum nem felel meg a várt formátumnak: %1\$s", + Strings.DateInputInvalidYearRange to "A dátum a várt időtartományon (%1\$s – %2\$s) kívül esik", + Strings.DatePickerSwitchToCalendarMode to "Váltás naptárbeviteli módra", + Strings.DatePickerSwitchToInputMode to "Váltás szövegbeviteli módra", + Strings.DatePickerScrollToShowLaterYears to "Görgessen a későbbi évek megjelenítéséhez", + Strings.DatePickerScrollToShowEarlierYears to "Görgessen a korábbi évek megjelenítéséhez", + Strings.DateRangePickerTitle to "Dátumok kiválasztása", + Strings.DateRangePickerStartHeadline to "Kezdő dátum", + Strings.DateRangePickerEndHeadline to "Záró dátum", + Strings.DateRangePickerScrollToShowNextMonth to "Görgessen a következő hónap megjelenítéséhez", + Strings.DateRangePickerScrollToShowPreviousMonth to "Görgessen az előző hónap megjelenítéséhez", + Strings.DateRangePickerDayInRange to "Tartományon belül", + Strings.DateRangeInputTitle to "Dátumok megadása", + Strings.DateRangeInputInvalidRangeInput to "Érvénytelen a megadott dátumtartomány", + Strings.BottomSheetPaneTitle to "Alsó lap", + Strings.BottomSheetDragHandleDescription to "Fogópont", + Strings.BottomSheetPartialExpandDescription to "Az alsó lap összecsukása", + Strings.BottomSheetDismissDescription to "Az alsó lap elvetése", + Strings.BottomSheetExpandDescription to "Az alsó lap kibontása", + Strings.TooltipPaneDescription to "Elemleírás", + Strings.TooltipLongPressLabel to "Elemleírás megjelenítése", + Strings.TimePickerPM to "du.", + Strings.TimePickerAM to "de.", + Strings.TimePickerPeriodToggle to "Napszak kiválasztása", + Strings.TimePickerHourSelection to "Óra kiválasztása", + Strings.TimePickerMinuteSelection to "Perc kiválasztása", + Strings.TimePickerHourSuffix to "%1\$d óra", + Strings.TimePicker24HourSuffix to "%1\$d óra", + Strings.TimePickerMinuteSuffix to "%1\$d perc", + Strings.TimePickerMinute to "Perc", + Strings.TimePickerHour to "Óra", + Strings.TimePickerMinuteTextField to "perc megadása", + Strings.TimePickerHourTextField to "óra megadása", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hy.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hy.kt new file mode 100644 index 0000000000000..e1cb32aa253fb --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hy.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hy() = mapOf( + Strings.NavigationMenu to "Նավիգացիայի ընտրացանկ", + Strings.ExposedDropdownMenu to "Իջնող ցանկ", + Strings.CloseDrawer to "Փակել նավիգացիայի ընտրացանկը", + Strings.CloseSheet to "Փակել թերթը", + Strings.DefaultErrorMessage to "Սխալ ներածում", + Strings.SliderRangeStart to "Ընդգրկույթի սկիզբ", + Strings.SliderRangeEnd to "Ընդգրկույթի վերջ", + Strings.Dialog to "Երկխոսության պատուհան", + Strings.MenuExpanded to "Ծավալված է", + Strings.MenuCollapsed to "Ծալված է", + Strings.SnackbarDismiss to "Փակել", + Strings.SearchBarSearch to "Որոնում", + Strings.SuggestionsAvailable to "Առաջարկները հասանելի են ստորև", + Strings.DatePickerTitle to "Ընտրեք ամսաթիվը", + Strings.DatePickerHeadline to "Ընտրված ամսաթիվ", + Strings.DatePickerSwitchToYearSelection to "Անցնել տարվա ընտրությանը", + Strings.DatePickerSwitchToDaySelection to "Սահեցրեք՝ տարեթիվ ընտրելու համար, կամ հպեք՝ օրվա ընտրությանը վերադառնալու համար", + Strings.DatePickerSwitchToNextMonth to "Անցնել հաջորդ ամսվան", + Strings.DatePickerSwitchToPreviousMonth to "Անցնել նախորդ ամսվան", + Strings.DatePickerNavigateToYearDescription to "Անցնել %1\$s թվական", + Strings.DatePickerHeadlineDescription to "Ընթացիկ ընտրությունը՝ %1\$s", + Strings.DatePickerNoSelectionDescription to "Չկա", + Strings.DatePickerTodayDescription to "Այսօր", + Strings.DatePickerYearPickerPaneTitle to "Տարեթվի ցուցադրվող ընտրիչ", + Strings.DateInputTitle to "Ընտրեք ամսաթիվը", + Strings.DateInputHeadline to "Մուտքագրված ամսաթիվ", + Strings.DateInputLabel to "Ամսաթիվ", + Strings.DateInputHeadlineDescription to "Մուտքագրված ամսաթիվ՝ %1\$s", + Strings.DateInputNoInputDescription to "Չկա", + Strings.DateInputInvalidNotAllowed to "Ամսաթիվը թույլատրված չէ՝ %1\$s", + Strings.DateInputInvalidForPattern to "Ամսաթիվը չի համընկնում թույլատրելի ձևաչափի հետ՝ %1\$s", + Strings.DateInputInvalidYearRange to "Ամսաթիվը տարեթվերի թույլատրելի միջակայքից (%1\$s – %2\$s) դուրս է", + Strings.DatePickerSwitchToCalendarMode to "Անցնել օրացույցի մուտքագրման ռեժիմ", + Strings.DatePickerSwitchToInputMode to "Անցնել տեքստի մուտքագրման ռեժիմին", + Strings.DatePickerScrollToShowLaterYears to "Ոլորեք՝ վերջին տարիները ցուցադրելու համար", + Strings.DatePickerScrollToShowEarlierYears to "Ոլորեք՝ նախորդ տարիները ցուցադրելու համար", + Strings.DateRangePickerTitle to "Ընտրեք ամսաթվեր", + Strings.DateRangePickerStartHeadline to "Սկզբի ամսաթիվ", + Strings.DateRangePickerEndHeadline to "Ավարտի ամսաթիվ", + Strings.DateRangePickerScrollToShowNextMonth to "Ոլորեք՝ հաջորդ ամիսը ցուցադրելու համար", + Strings.DateRangePickerScrollToShowPreviousMonth to "Ոլորեք՝ նախորդ ամիսը ցուցադրելու համար", + Strings.DateRangePickerDayInRange to "Միջակայքում", + Strings.DateRangeInputTitle to "Մուտքագրեք ամսաթվերը", + Strings.DateRangeInputInvalidRangeInput to "Մուտքագրված ամսաթվերի միջակայքն անվավեր է", + Strings.BottomSheetPaneTitle to "Ներքևի էկրան", + Strings.BottomSheetDragHandleDescription to "Տեղափոխման նշիչ", + Strings.BottomSheetPartialExpandDescription to "Ծալել ներքևի էկրանը", + Strings.BottomSheetDismissDescription to "Փակել ներքևի էկրանը", + Strings.BottomSheetExpandDescription to "Ծավալել ներքևի էկրանը", + Strings.TooltipPaneDescription to "Հուշակ", + Strings.TooltipLongPressLabel to "Ցուցադրել հուշում", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Ընտրել AM կամ PM", + Strings.TimePickerHourSelection to "Ընտրեք ժամը", + Strings.TimePickerMinuteSelection to "Ընտրեք րոպեն", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d ժամ", + Strings.TimePickerMinuteSuffix to "%1\$d րոպե", + Strings.TimePickerMinute to "Րոպեներ", + Strings.TimePickerHour to "Ժամ", + Strings.TimePickerMinuteTextField to "րոպեներ", + Strings.TimePickerHourTextField to "ժամեր", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/In.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/In.kt new file mode 100644 index 0000000000000..8871ca625ea8a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/In.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`in`() = mapOf( + Strings.NavigationMenu to "Menu navigasi", + Strings.ExposedDropdownMenu to "Menu dropdown", + Strings.CloseDrawer to "Tutup menu navigasi", + Strings.CloseSheet to "Tutup sheet", + Strings.DefaultErrorMessage to "Input tidak valid", + Strings.SliderRangeStart to "Rentang awal", + Strings.SliderRangeEnd to "Rentang akhir", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Diperluas", + Strings.MenuCollapsed to "Diciutkan", + Strings.SnackbarDismiss to "Tutup", + Strings.SearchBarSearch to "Telusuri", + Strings.SuggestionsAvailable to "Saran di bawah", + Strings.DatePickerTitle to "Pilih tanggal", + Strings.DatePickerHeadline to "Tanggal yang dipilih", + Strings.DatePickerSwitchToYearSelection to "Beralih ke memilih tahun", + Strings.DatePickerSwitchToDaySelection to "Geser untuk memilih tahun, atau ketuk untuk beralih kembali ke pemilihan tanggal", + Strings.DatePickerSwitchToNextMonth to "Ubah ke bulan berikutnya", + Strings.DatePickerSwitchToPreviousMonth to "Ubah ke bulan sebelumnya", + Strings.DatePickerNavigateToYearDescription to "Pilih tahun %1\$s", + Strings.DatePickerHeadlineDescription to "Pilihan saat ini: %1\$s", + Strings.DatePickerNoSelectionDescription to "Tidak ada", + Strings.DatePickerTodayDescription to "Hari ini", + Strings.DatePickerYearPickerPaneTitle to "Pemilih tahun terlihat", + Strings.DateInputTitle to "Pilih tanggal", + Strings.DateInputHeadline to "Tanggal yang dimasukkan", + Strings.DateInputLabel to "Tanggal", + Strings.DateInputHeadlineDescription to "Tanggal yang dimasukkan: %1\$s", + Strings.DateInputNoInputDescription to "Tidak ada", + Strings.DateInputInvalidNotAllowed to "Tanggal tidak diizinkan: %1\$s", + Strings.DateInputInvalidForPattern to "Tanggal tidak cocok dengan pola yang diharapkan: %1\$s", + Strings.DateInputInvalidYearRange to "Tanggal di luar rentang tahun yang diharapkan %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Beralih ke mode input kalender", + Strings.DatePickerSwitchToInputMode to "Beralih ke mode input teks", + Strings.DatePickerScrollToShowLaterYears to "Scroll untuk menampilkan tahun berikutnya", + Strings.DatePickerScrollToShowEarlierYears to "Scroll untuk menampilkan tahun sebelumnya", + Strings.DateRangePickerTitle to "Pilih tanggal", + Strings.DateRangePickerStartHeadline to "Tanggal mulai", + Strings.DateRangePickerEndHeadline to "Tanggal akhir", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll untuk menampilkan bulan berikutnya", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll untuk menampilkan bulan sebelumnya", + Strings.DateRangePickerDayInRange to "Dalam rentang", + Strings.DateRangeInputTitle to "Masukkan tanggal", + Strings.DateRangeInputInvalidRangeInput to "Input rentang tanggal tidak valid", + Strings.BottomSheetPaneTitle to "Sheet Bawah", + Strings.BottomSheetDragHandleDescription to "Handel geser", + Strings.BottomSheetPartialExpandDescription to "Menciutkan sheet bawah", + Strings.BottomSheetDismissDescription to "Menutup sheet bawah", + Strings.BottomSheetExpandDescription to "Meluaskan sheet bawah", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Tampilkan tooltip", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Pilih AM atau PM", + Strings.TimePickerHourSelection to "Pilih jam", + Strings.TimePickerMinuteSelection to "Pilih menit", + Strings.TimePickerHourSuffix to "Pukul %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d jam", + Strings.TimePickerMinuteSuffix to "%1\$d menit", + Strings.TimePickerMinute to "Menit", + Strings.TimePickerHour to "Jam", + Strings.TimePickerMinuteTextField to "untuk menit", + Strings.TimePickerHourTextField to "untuk jam", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Is.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Is.kt new file mode 100644 index 0000000000000..43b978f211e8e --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Is.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`is`() = mapOf( + Strings.NavigationMenu to "Yfirlitsvalmynd", + Strings.ExposedDropdownMenu to "Fellivalmynd", + Strings.CloseDrawer to "Loka yfirlitsvalmynd", + Strings.CloseSheet to "Loka blaði", + Strings.DefaultErrorMessage to "Ógildur innsláttur", + Strings.SliderRangeStart to "Upphaf sviðs", + Strings.SliderRangeEnd to "Lok sviðs", + Strings.Dialog to "Gluggi", + Strings.MenuExpanded to "Stækkað", + Strings.MenuCollapsed to "Minnkað", + Strings.SnackbarDismiss to "Hunsa", + Strings.SearchBarSearch to "Leit", + Strings.SuggestionsAvailable to "Tillögur hér fyrir neðan", + Strings.DatePickerTitle to "Velja dagsetningu", + Strings.DatePickerHeadline to "Valin dagsetning", + Strings.DatePickerSwitchToYearSelection to "Skipta yfir í val á ári", + Strings.DatePickerSwitchToDaySelection to "Strjúktu til að velja ár eða ýttu til að skipta aftur yfir í að velja dag", + Strings.DatePickerSwitchToNextMonth to "Breyta í næsta mánuð", + Strings.DatePickerSwitchToPreviousMonth to "Breyta í fyrri mánuð", + Strings.DatePickerNavigateToYearDescription to "Fletta til ársins %1\$s", + Strings.DatePickerHeadlineDescription to "Núverandi val: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ekkert", + Strings.DatePickerTodayDescription to "Í dag", + Strings.DatePickerYearPickerPaneTitle to "Ársval birt", + Strings.DateInputTitle to "Velja dagsetningu", + Strings.DateInputHeadline to "Skráð dagsetning", + Strings.DateInputLabel to "Dagsetning", + Strings.DateInputHeadlineDescription to "Skráð dagsetning: %1\$s", + Strings.DateInputNoInputDescription to "Ekkert", + Strings.DateInputInvalidNotAllowed to "Dagsetning er ekki leyfileg: %1\$s", + Strings.DateInputInvalidForPattern to "Dagsetning passar ekki við áætlað mynstur: %1\$s", + Strings.DateInputInvalidYearRange to "Dagsetning er utan áætlaðra ára: %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Skipta yfir í innfærsluaðferð fyrir dagatal", + Strings.DatePickerSwitchToInputMode to "Skipta yfir í textainnslátt", + Strings.DatePickerScrollToShowLaterYears to "Flettu til að sjá síðari ár", + Strings.DatePickerScrollToShowEarlierYears to "Flettu til að sjá fyrri ár", + Strings.DateRangePickerTitle to "Velja dagsetningar", + Strings.DateRangePickerStartHeadline to "Upphafsdagur", + Strings.DateRangePickerEndHeadline to "Lokadagur", + Strings.DateRangePickerScrollToShowNextMonth to "Flettu til að sjá næsta mánuð", + Strings.DateRangePickerScrollToShowPreviousMonth to "Flettu til að sjá fyrri mánuð", + Strings.DateRangePickerDayInRange to "Innan tímabils", + Strings.DateRangeInputTitle to "Slá inn dagsetningar", + Strings.DateRangeInputInvalidRangeInput to "Ógilt tímabil fært inn", + Strings.BottomSheetPaneTitle to "Blað neðst", + Strings.BottomSheetDragHandleDescription to "Dragkló", + Strings.BottomSheetPartialExpandDescription to "Minnka blað neðst", + Strings.BottomSheetDismissDescription to "Hunsa blað neðst", + Strings.BottomSheetExpandDescription to "Stækka blað neðst", + Strings.TooltipPaneDescription to "Ábending", + Strings.TooltipLongPressLabel to "Sýna ábendingu", + Strings.TimePickerPM to "eh", + Strings.TimePickerAM to "fh", + Strings.TimePickerPeriodToggle to "Velja f.h. eða e.h.", + Strings.TimePickerHourSelection to "Velja klst.", + Strings.TimePickerMinuteSelection to "Velja mínútur", + Strings.TimePickerHourSuffix to "Kl. %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d klst.", + Strings.TimePickerMinuteSuffix to "%1\$d mínútur", + Strings.TimePickerMinute to "Mínúta", + Strings.TimePickerHour to "Klukkustund", + Strings.TimePickerMinuteTextField to "fyrir mínútur", + Strings.TimePickerHourTextField to "fyrir klukkustund", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/It.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/It.kt new file mode 100644 index 0000000000000..b619440612630 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/It.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.it() = mapOf( + Strings.NavigationMenu to "Menu di navigazione", + Strings.ExposedDropdownMenu to "Menu a discesa", + Strings.CloseDrawer to "Chiudi il menu di navigazione", + Strings.CloseSheet to "Chiudi il foglio", + Strings.DefaultErrorMessage to "Valore non valido", + Strings.SliderRangeStart to "Inizio intervallo", + Strings.SliderRangeEnd to "Fine intervallo", + Strings.Dialog to "Finestra di dialogo", + Strings.MenuExpanded to "Espanso", + Strings.MenuCollapsed to "Compresso", + Strings.SnackbarDismiss to "Chiudi", + Strings.SearchBarSearch to "Cerca", + Strings.SuggestionsAvailable to "Suggerimenti sotto", + Strings.DatePickerTitle to "Seleziona data", + Strings.DatePickerHeadline to "Data selezionata", + Strings.DatePickerSwitchToYearSelection to "Passa alla selezione di un anno", + Strings.DatePickerSwitchToDaySelection to "Scorri per selezionare un anno o tocca per tornare alla selezione di un giorno", + Strings.DatePickerSwitchToNextMonth to "Passa al mese successivo", + Strings.DatePickerSwitchToPreviousMonth to "Passa al mese precedente", + Strings.DatePickerNavigateToYearDescription to "Vai all\'anno %1\$s", + Strings.DatePickerHeadlineDescription to "Selezione attuale: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nessuna selezione", + Strings.DatePickerTodayDescription to "Oggi", + Strings.DatePickerYearPickerPaneTitle to "Selettore dell\'anno visibile", + Strings.DateInputTitle to "Seleziona data", + Strings.DateInputHeadline to "Data inserita", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data inserita: %1\$s", + Strings.DateInputNoInputDescription to "Nessuna selezione", + Strings.DateInputInvalidNotAllowed to "Data non consentita: %1\$s", + Strings.DateInputInvalidForPattern to "La data non corrisponde al pattern previsto: %1\$s", + Strings.DateInputInvalidYearRange to "La data non rientra nell\'intervallo di anni previsto (%1\$s-%2\$s)", + Strings.DatePickerSwitchToCalendarMode to "Passa alla modalità di immissione calendario", + Strings.DatePickerSwitchToInputMode to "Passa alla modalità di immissione testo", + Strings.DatePickerScrollToShowLaterYears to "Scorri per visualizzare gli anni successivi", + Strings.DatePickerScrollToShowEarlierYears to "Scorri per visualizzare gli anni precedenti", + Strings.DateRangePickerTitle to "Seleziona date", + Strings.DateRangePickerStartHeadline to "Data di inizio", + Strings.DateRangePickerEndHeadline to "Data di fine", + Strings.DateRangePickerScrollToShowNextMonth to "Scorri per visualizzare il mese successivo", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scorri per visualizzare il mese precedente", + Strings.DateRangePickerDayInRange to "Nell\'intervallo", + Strings.DateRangeInputTitle to "Inserisci date", + Strings.DateRangeInputInvalidRangeInput to "Intervallo di date inserito non valido", + Strings.BottomSheetPaneTitle to "Riquadro inferiore", + Strings.BottomSheetDragHandleDescription to "Punto di trascinamento", + Strings.BottomSheetPartialExpandDescription to "Comprimi il riquadro inferiore", + Strings.BottomSheetDismissDescription to "Chiudi il riquadro inferiore", + Strings.BottomSheetExpandDescription to "Espandi il riquadro inferiore", + Strings.TooltipPaneDescription to "Descrizione comando", + Strings.TooltipLongPressLabel to "Mostra descrizione comando", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Seleziona AM o PM", + Strings.TimePickerHourSelection to "Seleziona l\'ora", + Strings.TimePickerMinuteSelection to "Seleziona i minuti", + Strings.TimePickerHourSuffix to "%1\$d in punto", + Strings.TimePicker24HourSuffix to "%1\$d ore", + Strings.TimePickerMinuteSuffix to "%1\$d minuti", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Ora", + Strings.TimePickerMinuteTextField to "per i minuti", + Strings.TimePickerHourTextField to "per l\'ora", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Iw.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Iw.kt new file mode 100644 index 0000000000000..bd507dc143cc6 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Iw.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.iw() = mapOf( + Strings.NavigationMenu to "תפריט הניווט", + Strings.ExposedDropdownMenu to "תפריט נפתח", + Strings.CloseDrawer to "סגירת תפריט הניווט", + Strings.CloseSheet to "סגירת הגיליון", + Strings.DefaultErrorMessage to "הקלט לא תקין", + Strings.SliderRangeStart to "תחילת הטווח", + Strings.SliderRangeEnd to "סוף הטווח", + Strings.Dialog to "תיבת דו-שיח", + Strings.MenuExpanded to "התפריט הנפתח מורחב", + Strings.MenuCollapsed to "התפריט הנפתח מכווץ", + Strings.SnackbarDismiss to "סגירה", + Strings.SearchBarSearch to "חיפוש", + Strings.SuggestionsAvailable to "הצעות מופיעות למטה", + Strings.DatePickerTitle to "בחירת תאריך", + Strings.DatePickerHeadline to "התאריך הנבחר", + Strings.DatePickerSwitchToYearSelection to "החלפה לבחירה של שנה", + Strings.DatePickerSwitchToDaySelection to "יש להחליק כדי לבחור שנה, או להקיש כדי לחזור לבחירת היום", + Strings.DatePickerSwitchToNextMonth to "מעבר לחודש הבא", + Strings.DatePickerSwitchToPreviousMonth to "מעבר לחודש הקודם", + Strings.DatePickerNavigateToYearDescription to "‏ניווט לשנת %1\$s", + Strings.DatePickerHeadlineDescription to "‏הבחירה הנוכחית: %1\$s", + Strings.DatePickerNoSelectionDescription to "ללא", + Strings.DatePickerTodayDescription to "היום", + Strings.DatePickerYearPickerPaneTitle to "בורר השנה גלוי", + Strings.DateInputTitle to "בחירת תאריך", + Strings.DateInputHeadline to "התאריך שהוזן", + Strings.DateInputLabel to "תאריך", + Strings.DateInputHeadlineDescription to "‏התאריך שהוזן: %1\$s", + Strings.DateInputNoInputDescription to "ללא", + Strings.DateInputInvalidNotAllowed to "‏תאריך לא מורשה: %1\$s", + Strings.DateInputInvalidForPattern to "‏התאריך לא תואם למבנה הצפוי: %1\$s", + Strings.DateInputInvalidYearRange to "‏התאריך נמצא מחוץ לטווח השנים הצפוי %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "מעבר לשיטת קלט של יומן", + Strings.DatePickerSwitchToInputMode to "מעבר לשיטת קלט של טקסט", + Strings.DatePickerScrollToShowLaterYears to "צריך לגלול כדי להציג את השנים המאוחרות", + Strings.DatePickerScrollToShowEarlierYears to "צריך לגלול כדי להציג את השנים הקודמות", + Strings.DateRangePickerTitle to "בחירת תאריכים", + Strings.DateRangePickerStartHeadline to "תאריך התחלה", + Strings.DateRangePickerEndHeadline to "תאריך סיום", + Strings.DateRangePickerScrollToShowNextMonth to "צריך לגלול כדי להציג את החודש הבא", + Strings.DateRangePickerScrollToShowPreviousMonth to "צריך לגלול כדי להציג את החודש הקודם", + Strings.DateRangePickerDayInRange to "בטווח", + Strings.DateRangeInputTitle to "הזנת תאריכים", + Strings.DateRangeInputInvalidRangeInput to "קלט טווח תאריכים לא חוקי", + Strings.BottomSheetPaneTitle to "גיליון תחתון", + Strings.BottomSheetDragHandleDescription to "נקודת אחיזה לגרירה", + Strings.BottomSheetPartialExpandDescription to "כיווץ הגיליון התחתון", + Strings.BottomSheetDismissDescription to "סגירת הגיליון התחתון", + Strings.BottomSheetExpandDescription to "הרחבת הגיליון התחתון", + Strings.TooltipPaneDescription to "הסבר קצר", + Strings.TooltipLongPressLabel to "הצגת הסבר קצר", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "‏צריך לבחור ב-AM או ב-PM", + Strings.TimePickerHourSelection to "בחירת שעה", + Strings.TimePickerMinuteSelection to "בחירת דקות", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "‏%1\$d שעות", + Strings.TimePickerMinuteSuffix to "‏%1\$d דקות", + Strings.TimePickerMinute to "דקות", + Strings.TimePickerHour to "שעות", + Strings.TimePickerMinuteTextField to "דקות", + Strings.TimePickerHourTextField to "שעות", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ja.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ja.kt new file mode 100644 index 0000000000000..3756dd2cb115a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ja.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ja() = mapOf( + Strings.NavigationMenu to "ナビゲーションメニュー", + Strings.ExposedDropdownMenu to "プルダウン メニュー", + Strings.CloseDrawer to "ナビゲーションメニューを閉じる", + Strings.CloseSheet to "シートを閉じる", + Strings.DefaultErrorMessage to "入力値が無効です", + Strings.SliderRangeStart to "範囲の先頭", + Strings.SliderRangeEnd to "範囲の末尾", + Strings.Dialog to "ダイアログ", + Strings.MenuExpanded to "開いています", + Strings.MenuCollapsed to "閉じています", + Strings.SnackbarDismiss to "閉じる", + Strings.SearchBarSearch to "検索", + Strings.SuggestionsAvailable to "検索候補は次のとおりです", + Strings.DatePickerTitle to "日付の選択", + Strings.DatePickerHeadline to "選択した日付", + Strings.DatePickerSwitchToYearSelection to "年の選択に切り替え", + Strings.DatePickerSwitchToDaySelection to "スワイプして年を選択するか、タップして日付の選択に戻ります", + Strings.DatePickerSwitchToNextMonth to "翌月に変更", + Strings.DatePickerSwitchToPreviousMonth to "前月に変更", + Strings.DatePickerNavigateToYearDescription to "年に移動 %1\$s", + Strings.DatePickerHeadlineDescription to "現在の選択: %1\$s", + Strings.DatePickerNoSelectionDescription to "なし", + Strings.DatePickerTodayDescription to "今日", + Strings.DatePickerYearPickerPaneTitle to "年の選択ツールの表示", + Strings.DateInputTitle to "日付の選択", + Strings.DateInputHeadline to "入力された日付", + Strings.DateInputLabel to "日付", + Strings.DateInputHeadlineDescription to "入力された日付: %1\$s", + Strings.DateInputNoInputDescription to "なし", + Strings.DateInputInvalidNotAllowed to "許可されない日付: %1\$s", + Strings.DateInputInvalidForPattern to "想定パターンと一致しない日付: %1\$s", + Strings.DateInputInvalidYearRange to "想定される年の範囲(%1\$s~%2\$s)から日付が外れています", + Strings.DatePickerSwitchToCalendarMode to "カレンダー入力モードに切り替え", + Strings.DatePickerSwitchToInputMode to "テキスト入力モードに切り替え", + Strings.DatePickerScrollToShowLaterYears to "これより後の年を表示するにはスクロールしてください", + Strings.DatePickerScrollToShowEarlierYears to "これより前の年を表示するにはスクロールしてください", + Strings.DateRangePickerTitle to "日付の選択", + Strings.DateRangePickerStartHeadline to "開始日", + Strings.DateRangePickerEndHeadline to "終了日", + Strings.DateRangePickerScrollToShowNextMonth to "翌月を表示するにはスクロールしてください", + Strings.DateRangePickerScrollToShowPreviousMonth to "前月を表示するにはスクロールしてください", + Strings.DateRangePickerDayInRange to "範囲内", + Strings.DateRangeInputTitle to "日付の入力", + Strings.DateRangeInputInvalidRangeInput to "入力された期間は無効です", + Strings.BottomSheetPaneTitle to "ボトムシート", + Strings.BottomSheetDragHandleDescription to "ドラッグ ハンドル", + Strings.BottomSheetPartialExpandDescription to "ボトムシートを折りたたみます", + Strings.BottomSheetDismissDescription to "ボトムシートを閉じます", + Strings.BottomSheetExpandDescription to "ボトムシートを開きます", + Strings.TooltipPaneDescription to "ツールチップ", + Strings.TooltipLongPressLabel to "ツールチップを表示", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "午前または午後を選択", + Strings.TimePickerHourSelection to "時刻を選択", + Strings.TimePickerMinuteSelection to "分を選択", + Strings.TimePickerHourSuffix to "%1\$d 時", + Strings.TimePicker24HourSuffix to "%1\$d 時間", + Strings.TimePickerMinuteSuffix to "%1\$d 分", + Strings.TimePickerMinute to "分", + Strings.TimePickerHour to "時間", + Strings.TimePickerMinuteTextField to "(分単位)", + Strings.TimePickerHourTextField to "(時間単位)", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ka.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ka.kt new file mode 100644 index 0000000000000..e3b0278987a4e --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ka.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ka() = mapOf( + Strings.NavigationMenu to "ნავიგაციის მენიუ", + Strings.ExposedDropdownMenu to "ჩამოსაშლელი მენიუ", + Strings.CloseDrawer to "ნავიგაციის მენიუს დახურვა", + Strings.CloseSheet to "ფურცლის დახურვა", + Strings.DefaultErrorMessage to "შენატანი არასწორია", + Strings.SliderRangeStart to "დიაპაზონის დასაწყისი", + Strings.SliderRangeEnd to "დიაპაზონის დასასრული", + Strings.Dialog to "დიალოგი", + Strings.MenuExpanded to "გაფართოებული", + Strings.MenuCollapsed to "ჩაკეცილი", + Strings.SnackbarDismiss to "დახურვა", + Strings.SearchBarSearch to "ძიება", + Strings.SuggestionsAvailable to "შემოთავაზებები იხილეთ ქვემოთ", + Strings.DatePickerTitle to "თარიღის არჩევა", + Strings.DatePickerHeadline to "არჩეული თარიღი", + Strings.DatePickerSwitchToYearSelection to "წლის არჩევაზე გადასვლა", + Strings.DatePickerSwitchToDaySelection to "გადაფურცლეთ წლის ასარჩევად, ან შეხებით აირჩიეთ ისევ დღის არჩევაზე გადართვა", + Strings.DatePickerSwitchToNextMonth to "შემდეგ თვეზე გადასვლა", + Strings.DatePickerSwitchToPreviousMonth to "წინა თვეზე გადასვლა", + Strings.DatePickerNavigateToYearDescription to "%1\$s-ზე გადასვლა", + Strings.DatePickerHeadlineDescription to "ამჟამინდელი არჩევანი: %1\$s", + Strings.DatePickerNoSelectionDescription to "არცერთი", + Strings.DatePickerTodayDescription to "დღეს", + Strings.DatePickerYearPickerPaneTitle to "არჩეული წელი ხილულია", + Strings.DateInputTitle to "თარიღის არჩევა", + Strings.DateInputHeadline to "შეყვანილი სახელი", + Strings.DateInputLabel to "თარიღი", + Strings.DateInputHeadlineDescription to "შეყვანილი თარიღი: %1\$s", + Strings.DateInputNoInputDescription to "არცერთი", + Strings.DateInputInvalidNotAllowed to "თარიღი დაუშვებელია: %1\$s", + Strings.DateInputInvalidForPattern to "თარიღი არ ემთხვევა მოსალოდნელ ნიმუშს: %1\$s", + Strings.DateInputInvalidYearRange to "თარიღი არ არის წლების მოსალოდნელ დიაპაზონში %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "კალენდარში შეყვანის რეჟიმზე გადართვა", + Strings.DatePickerSwitchToInputMode to "ტექსტის შეყვანის რეჟიმზე გადართვა", + Strings.DatePickerScrollToShowLaterYears to "გადააადგილეთ შემდგომი წლების საჩვენებლად", + Strings.DatePickerScrollToShowEarlierYears to "გადააადგილეთ წინა წლების საჩვენებლად", + Strings.DateRangePickerTitle to "თარიღების არჩევა", + Strings.DateRangePickerStartHeadline to "დაწყების თარიღი", + Strings.DateRangePickerEndHeadline to "დასრულების თარიღი", + Strings.DateRangePickerScrollToShowNextMonth to "გადააადგილეთ შემდეგი თვის საჩვენებლად", + Strings.DateRangePickerScrollToShowPreviousMonth to "გადააადგილეთ წინა თვის საჩვენებლად", + Strings.DateRangePickerDayInRange to "არეალშია", + Strings.DateRangeInputTitle to "თარიღების შეყვანა", + Strings.DateRangeInputInvalidRangeInput to "შეყვანილია თარიღების არასწორი დიაპაზონი", + Strings.BottomSheetPaneTitle to "ქვედა ფურცელი", + Strings.BottomSheetDragHandleDescription to "სახელური ჩავლებისთვის", + Strings.BottomSheetPartialExpandDescription to "ქვედა ფურცლის ჩაკეცვა", + Strings.BottomSheetDismissDescription to "ქვედა ფურცლის უარყოფა", + Strings.BottomSheetExpandDescription to "ქვედა ფურცლის გაშლა", + Strings.TooltipPaneDescription to "მინიშნება", + Strings.TooltipLongPressLabel to "მინიშნების ჩვენება", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "აირჩიეთ AM ან PM", + Strings.TimePickerHourSelection to "აირჩიეთ საათი", + Strings.TimePickerMinuteSelection to "აირჩიეთ წუთები", + Strings.TimePickerHourSuffix to "%1\$d სთ", + Strings.TimePicker24HourSuffix to "%1\$d საათი", + Strings.TimePickerMinuteSuffix to "%1\$d წთ", + Strings.TimePickerMinute to "წუთი", + Strings.TimePickerHour to "საათი", + Strings.TimePickerMinuteTextField to "რამდენიმე წუთით", + Strings.TimePickerHourTextField to "ერთი საათით", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kk.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kk.kt new file mode 100644 index 0000000000000..acefc58f90d04 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kk.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.kk() = mapOf( + Strings.NavigationMenu to "Навигация мәзірі", + Strings.ExposedDropdownMenu to "Ашылмалы мәзір", + Strings.CloseDrawer to "Навигация мәзірін жабу", + Strings.CloseSheet to "Парақты жабу", + Strings.DefaultErrorMessage to "Енгізілген мән жарамсыз.", + Strings.SliderRangeStart to "Аралықтың басы", + Strings.SliderRangeEnd to "Аралықтың соңы", + Strings.Dialog to "Диалогтік терезе", + Strings.MenuExpanded to "Жайылды", + Strings.MenuCollapsed to "Жиылды", + Strings.SnackbarDismiss to "Жабу", + Strings.SearchBarSearch to "Іздеу", + Strings.SuggestionsAvailable to "Төмендегі ұсыныстар", + Strings.DatePickerTitle to "Күн таңдау", + Strings.DatePickerHeadline to "Таңдалған күн", + Strings.DatePickerSwitchToYearSelection to "Жыл таңдауға өту", + Strings.DatePickerSwitchToDaySelection to "Жыл таңдау үшін сырғытыңыз. Күн таңдауға ауысу үшін түртіңіз.", + Strings.DatePickerSwitchToNextMonth to "Келесі айға өзгерту", + Strings.DatePickerSwitchToPreviousMonth to "Алдыңғы айға өзгерту", + Strings.DatePickerNavigateToYearDescription to "Мына жылға өту: %1\$s", + Strings.DatePickerHeadlineDescription to "Қазіргі таңдау: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ешқандай", + Strings.DatePickerTodayDescription to "Бүгін", + Strings.DatePickerYearPickerPaneTitle to "Көрсетілген жыл таңдағышы", + Strings.DateInputTitle to "Күн таңдау", + Strings.DateInputHeadline to "Деректер енгізілді", + Strings.DateInputLabel to "Күні", + Strings.DateInputHeadlineDescription to "Деректер енгізілді: %1\$s", + Strings.DateInputNoInputDescription to "Ешқандай", + Strings.DateInputInvalidNotAllowed to "Деректер рұқсат етілмейді: %1\$s", + Strings.DateInputInvalidForPattern to "Деректер болжалды өрнекке сай келмейді: %1\$s", + Strings.DateInputInvalidYearRange to "Күтілетін жыл аралығы: %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Күнтізбенің енгізу режиміне ауысу", + Strings.DatePickerSwitchToInputMode to "Мәтін енгізу режиміне ауысу", + Strings.DatePickerScrollToShowLaterYears to "Кейінгі жылдарды көрсету үшін айналдырыңыз.", + Strings.DatePickerScrollToShowEarlierYears to "Алдыңғы жылдарды көрсету үшін айналдырыңыз.", + Strings.DateRangePickerTitle to "Күндер таңдау", + Strings.DateRangePickerStartHeadline to "Басталу күні", + Strings.DateRangePickerEndHeadline to "Аяқталу күні", + Strings.DateRangePickerScrollToShowNextMonth to "Келесі айды көрсету үшін айналдырыңыз.", + Strings.DateRangePickerScrollToShowPreviousMonth to "Алдыңғы айды көрсету үшін айналдырыңыз.", + Strings.DateRangePickerDayInRange to "Күндер аралығында", + Strings.DateRangeInputTitle to "Күндерді енгізіңіз", + Strings.DateRangeInputInvalidRangeInput to "Жарамсыз күндер аралығы енгізілген.", + Strings.BottomSheetPaneTitle to "Төменгі парақша", + Strings.BottomSheetDragHandleDescription to "Сүйрейтін тетік", + Strings.BottomSheetPartialExpandDescription to "Төменгі парақшаны жию", + Strings.BottomSheetDismissDescription to "Төменгі парақшаны жабу", + Strings.BottomSheetExpandDescription to "Төменгі парақшаны жаю", + Strings.TooltipPaneDescription to "Қалқыма көмек", + Strings.TooltipLongPressLabel to "Қалқыма көмекті көрсету", + Strings.TimePickerPM to "түстен кейін", + Strings.TimePickerAM to "түске дейін", + Strings.TimePickerPeriodToggle to "\"AM\" немесе \"PM\" форматын таңдау", + Strings.TimePickerHourSelection to "Сағатты таңдау", + Strings.TimePickerMinuteSelection to "Минут таңдау", + Strings.TimePickerHourSuffix to "%1\$d сағат", + Strings.TimePicker24HourSuffix to "%1\$d сағат", + Strings.TimePickerMinuteSuffix to "%1\$d минут", + Strings.TimePickerMinute to "Mинут", + Strings.TimePickerHour to "Сағат", + Strings.TimePickerMinuteTextField to "минут", + Strings.TimePickerHourTextField to "сағат", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Km.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Km.kt new file mode 100644 index 0000000000000..62d119f871251 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Km.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.km() = mapOf( + Strings.NavigationMenu to "ម៉ឺនុយរុករក", + Strings.ExposedDropdownMenu to "ម៉ឺនុយធ្លាក់ចុះ", + Strings.CloseDrawer to "បិទម៉ឺនុយរុករក", + Strings.CloseSheet to "បិទសន្លឹក", + Strings.DefaultErrorMessage to "ការបញ្ចូល​មិនត្រឹមត្រូវ", + Strings.SliderRangeStart to "ចំណុចចាប់ផ្ដើម", + Strings.SliderRangeEnd to "ចំណុចបញ្ចប់", + Strings.Dialog to "ប្រអប់", + Strings.MenuExpanded to "បាន​ពង្រីក", + Strings.MenuCollapsed to "បាន​បង្រួម", + Strings.SnackbarDismiss to "ច្រានចោល", + Strings.SearchBarSearch to "ស្វែងរក", + Strings.SuggestionsAvailable to "ការណែនាំខាងក្រោម", + Strings.DatePickerTitle to "ជ្រើសរើស​កាលបរិច្ឆេទ", + Strings.DatePickerHeadline to "កាលបរិច្ឆេទដែលបាន​ជ្រើសរើស", + Strings.DatePickerSwitchToYearSelection to "ប្ដូរទៅ​ការជ្រើសរើសឆ្នាំ", + Strings.DatePickerSwitchToDaySelection to "អូសដើម្បីជ្រើសរើសឆ្នាំ ឬចុចដើម្បីប្ដូរត្រឡប់ទៅការជ្រើសរើសថ្ងៃវិញ", + Strings.DatePickerSwitchToNextMonth to "ប្ដូរ​ទៅ​ខែបន្ទាប់", + Strings.DatePickerSwitchToPreviousMonth to "ប្ដូរ​ទៅ​ខែមុន", + Strings.DatePickerNavigateToYearDescription to "រុករកទៅកាន់ឆ្នាំ %1\$s", + Strings.DatePickerHeadlineDescription to "ការជ្រើសរើសបច្ចុប្បន្ន៖ %1\$s", + Strings.DatePickerNoSelectionDescription to "គ្មាន", + Strings.DatePickerTodayDescription to "ថ្ងៃនេះ", + Strings.DatePickerYearPickerPaneTitle to "អាចមើលឃើញផ្ទាំងជ្រើសរើសឆ្នាំ", + Strings.DateInputTitle to "ជ្រើសរើស​កាលបរិច្ឆេទ", + Strings.DateInputHeadline to "កាលបរិច្ឆេទដែលបានបញ្ចូល", + Strings.DateInputLabel to "កាលបរិច្ឆេទ", + Strings.DateInputHeadlineDescription to "កាលបរិច្ឆេទដែលបានបញ្ចូល៖ %1\$s", + Strings.DateInputNoInputDescription to "គ្មាន", + Strings.DateInputInvalidNotAllowed to "កាលបរិច្ឆេទដែលមិនបានអនុញ្ញាត៖ %1\$s", + Strings.DateInputInvalidForPattern to "កាលបរិច្ឆេទមិនត្រូវគ្នានឹងលំនាំដែលរំពឹងទុកទេ៖ %1\$s", + Strings.DateInputInvalidYearRange to "កាលបរិច្ឆេទដែលស្ថិតនៅក្រៅចន្លោះឆ្នាំដែលរំពឹងទុក %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "ប្ដូរទៅ​មុខងារបញ្ចូល​ប្រតិទិន", + Strings.DatePickerSwitchToInputMode to "ប្ដូរទៅ​មុខងារបញ្ចូល​អក្សរ", + Strings.DatePickerScrollToShowLaterYears to "រំកិលដើម្បី​បង្ហាញឆ្នាំក្រោយៗ", + Strings.DatePickerScrollToShowEarlierYears to "រំកិលដើម្បី​បង្ហាញឆ្នាំមុនៗ", + Strings.DateRangePickerTitle to "ជ្រើសរើស​កាល​បរិច្ឆេទ", + Strings.DateRangePickerStartHeadline to "កាលបរិច្ឆេទ​ចាប់ផ្ដើម", + Strings.DateRangePickerEndHeadline to "កាលបរិច្ឆេទ​បញ្ចប់", + Strings.DateRangePickerScrollToShowNextMonth to "រំកិលដើម្បីបង្ហាញខែក្រោយ", + Strings.DateRangePickerScrollToShowPreviousMonth to "រំកិលដើម្បីបង្ហាញខែមុន", + Strings.DateRangePickerDayInRange to "ក្នុងចន្លោះ", + Strings.DateRangeInputTitle to "បញ្ចូល​កាលបរិច្ឆេទ", + Strings.DateRangeInputInvalidRangeInput to "ការបញ្ចូលចន្លោះកាលបរិច្ឆេទមិនត្រឹមត្រូវ", + Strings.BottomSheetPaneTitle to "សន្លឹក​ខាងក្រោម", + Strings.BottomSheetDragHandleDescription to "ដង​អូស", + Strings.BottomSheetPartialExpandDescription to "បង្រួម​សន្លឹកខាងក្រោម", + Strings.BottomSheetDismissDescription to "ច្រានចោល​សន្លឹកខាងក្រោម", + Strings.BottomSheetExpandDescription to "ពង្រីក​សន្លឹកខាងក្រោម", + Strings.TooltipPaneDescription to "កំណត់​ពន្យល់", + Strings.TooltipLongPressLabel to "បង្ហាញ​កំណត់​ពន្យល់", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "ជ្រើសរើស AM ឬ PM", + Strings.TimePickerHourSelection to "ជ្រើសរើសម៉ោង", + Strings.TimePickerMinuteSelection to "ជ្រើស​រើសនាទី", + Strings.TimePickerHourSuffix to "ម៉ោង %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d ម៉ោង", + Strings.TimePickerMinuteSuffix to "%1\$d នាទី", + Strings.TimePickerMinute to "នាទី​", + Strings.TimePickerHour to "ម៉ោង", + Strings.TimePickerMinuteTextField to "រយៈពេលប៉ុន្មាននាទី", + Strings.TimePickerHourTextField to "រយៈពេលប៉ុន្មានម៉ោង", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kn.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kn.kt new file mode 100644 index 0000000000000..da315cff4eb25 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Kn.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.kn() = mapOf( + Strings.NavigationMenu to "ನ್ಯಾವಿಗೇಶನ್‌ ಮೆನು", + Strings.ExposedDropdownMenu to "ಡ್ರಾಪ್‌ಡೌನ್ ಮೆನು", + Strings.CloseDrawer to "ನ್ಯಾವಿಗೇಷನ್‌ ಮೆನು ಮುಚ್ಚಿರಿ", + Strings.CloseSheet to "ಶೀಟ್ ಮುಚ್ಚಿರಿ", + Strings.DefaultErrorMessage to "ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್", + Strings.SliderRangeStart to "ಶ್ರೇಣಿಯ ಪ್ರಾರಂಭ", + Strings.SliderRangeEnd to "ಶ್ರೇಣಿಯ ಅಂತ್ಯ", + Strings.Dialog to "ಡೈಲಾಗ್", + Strings.MenuExpanded to "ವಿಸ್ತರಿಸಲಾಗಿದೆ", + Strings.MenuCollapsed to "ಕುಗ್ಗಿಸಲಾಗಿದೆ", + Strings.SnackbarDismiss to "ವಜಾಗೊಳಿಸಿ", + Strings.SearchBarSearch to "ಹುಡುಕಿ", + Strings.SuggestionsAvailable to "ಸಲಹೆಗಳನ್ನು ಕೆಳಗೆ ನೀಡಲಾಗಿದೆ", + Strings.DatePickerTitle to "ದಿನಾಂಕ ಆಯ್ಕೆಮಾಡಿ", + Strings.DatePickerHeadline to "ಆಯ್ಕೆಮಾಡಲಾದ ದಿನಾಂಕ", + Strings.DatePickerSwitchToYearSelection to "ವರ್ಷವನ್ನು ಆಯ್ಕೆ ಮಾಡಲು ಬದಲಿಸಿ", + Strings.DatePickerSwitchToDaySelection to "ವರ್ಷವನ್ನು ಆಯ್ಕೆಮಾಡಲು ಸ್ವೈಪ್ ಮಾಡಿ ಅಥವಾ ದಿನವನ್ನು ಆಯ್ಕೆಮಾಡಲು ಹಿಂತಿರುಗಲು ಟ್ಯಾಪ್ ಮಾಡಿ", + Strings.DatePickerSwitchToNextMonth to "ಮುಂದಿನ ತಿಂಗಳಿಗೆ ಬದಲಿಸಿ", + Strings.DatePickerSwitchToPreviousMonth to "ಹಿಂದಿನ ತಿಂಗಳಿಗೆ ಬದಲಿಸಿ", + Strings.DatePickerNavigateToYearDescription to "%1\$s ವರ್ಷಕ್ಕೆ ನ್ಯಾವಿಗೇಟ್ ಮಾಡಿ", + Strings.DatePickerHeadlineDescription to "ಪ್ರಸ್ತುತ ಆಯ್ಕೆ: %1\$s", + Strings.DatePickerNoSelectionDescription to "ಯಾವುದೂ ಅಲ್ಲ", + Strings.DatePickerTodayDescription to "ಇಂದು", + Strings.DatePickerYearPickerPaneTitle to "ವರ್ಷದ ಪಿಕರ್ ಗೋಚರಿಸುತ್ತದೆ", + Strings.DateInputTitle to "ದಿನಾಂಕ ಆಯ್ಕೆಮಾಡಿ", + Strings.DateInputHeadline to "ನಮೂದಿಸಿದ ದಿನಾಂಕ", + Strings.DateInputLabel to "ದಿನಾಂಕ", + Strings.DateInputHeadlineDescription to "ನಮೂದಿಸಿದ ದಿನಾಂಕ: %1\$s", + Strings.DateInputNoInputDescription to "ಯಾವುದೂ ಅಲ್ಲ", + Strings.DateInputInvalidNotAllowed to "ದಿನಾಂಕವನ್ನು ಅನುಮತಿಸಲಾಗುವುದಿಲ್ಲ: %1\$s", + Strings.DateInputInvalidForPattern to "ನಿರೀಕ್ಷಿಸಿದ ಪ್ಯಾಟರ್ನ್‌ನೊಂದಿಗೆ ದಿನಾಂಕ ಹೊಂದಾಣಿಕೆಯಾಗುತ್ತಿಲ್ಲ: %1\$s", + Strings.DateInputInvalidYearRange to "ದಿನಾಂಕವು ನಿರೀಕ್ಷಿಸಿದ ವರ್ಷದ ವ್ಯಾಪ್ತಿಯನ್ನು ಮೀರಿದೆ %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "ಕ್ಯಾಲೆಂಡರ್ ಇನ್‌ಪುಟ್ ಮೋಡ್‌ಗೆ ಬದಲಿಸಿ", + Strings.DatePickerSwitchToInputMode to "ಪಠ್ಯ ಇನ್‌ಪುಟ್ ಮೋಡ್‌ಗೆ ಬದಲಿಸಿ", + Strings.DatePickerScrollToShowLaterYears to "ನಂತರದ ವರ್ಷಗಳನ್ನು ತೋರಿಸಲು ಸ್ಕ್ರಾಲ್ ಮಾಡಿ", + Strings.DatePickerScrollToShowEarlierYears to "ಹಿಂದಿನ ವರ್ಷಗಳನ್ನು ತೋರಿಸಲು ಸ್ಕ್ರಾಲ್‌ ಮಾಡಿ", + Strings.DateRangePickerTitle to "ದಿನಾಂಕಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ", + Strings.DateRangePickerStartHeadline to "ಪ್ರಾರಂಭ ದಿನಾಂಕ", + Strings.DateRangePickerEndHeadline to "ಅಂತಿಮ ದಿನಾಂಕ", + Strings.DateRangePickerScrollToShowNextMonth to "ಮುಂದಿನ ತಿಂಗಳನ್ನು ತೋರಿಸಲು ಸ್ಕ್ರಾಲ್ ಮಾಡಿ", + Strings.DateRangePickerScrollToShowPreviousMonth to "ಹಿಂದಿನ ತಿಂಗಳನ್ನು ತೋರಿಸಲು ಸ್ಕ್ರಾಲ್‌ ಮಾಡಿ", + Strings.DateRangePickerDayInRange to "ವ್ಯಾಪ್ತಿಯಲ್ಲಿದೆ", + Strings.DateRangeInputTitle to "ದಿನಾಂಕಗಳನ್ನು ನಮೂದಿಸಿ", + Strings.DateRangeInputInvalidRangeInput to "ದಿನಾಂಕ ವ್ಯಾಪ್ತಿಯ ಇನ್‌ಪುಟ್ ಅಮಾನ್ಯವಾಗಿದೆ", + Strings.BottomSheetPaneTitle to "ಕೆಳಭಾಗದ ಶೀಟ್", + Strings.BottomSheetDragHandleDescription to "ಹ್ಯಾಂಡಲ್ ಡ್ರ್ಯಾಗ್ ಮಾಡಿ", + Strings.BottomSheetPartialExpandDescription to "ಕೆಳಭಾಗದ ಶೀಟ್ ಅನ್ನು ಕುಗ್ಗಿಸಿ", + Strings.BottomSheetDismissDescription to "ಕೆಳಭಾಗದ ಶೀಟ್ ಅನ್ನು ವಜಾಗೊಳಿಸಿ", + Strings.BottomSheetExpandDescription to "ಕೆಳಭಾಗದ ಶೀಟ್ ಅನ್ನು ವಿಸ್ತರಿಸಿ", + Strings.TooltipPaneDescription to "ಟೂಲ್‌ಟಿಪ್", + Strings.TooltipLongPressLabel to "ಟೂಲ್‌ಟಿಪ್ ಅನ್ನು ತೋರಿಸಿ", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM ಅಥವಾ PM ಆಯ್ಕೆಮಾಡಿ", + Strings.TimePickerHourSelection to "ಸಮಯವನ್ನು ಆಯ್ಕೆಮಾಡಿ", + Strings.TimePickerMinuteSelection to "ನಿಮಿಷಗಳನ್ನು ಆಯ್ಕೆಮಾಡಿ", + Strings.TimePickerHourSuffix to "%1\$d ಓ ಕ್ಲಾಕ್", + Strings.TimePicker24HourSuffix to "%1\$d ಗಂಟೆ", + Strings.TimePickerMinuteSuffix to "%1\$d ನಿಮಿಷಗಳು", + Strings.TimePickerMinute to "ನಿಮಿಷ", + Strings.TimePickerHour to "ಗಂಟೆ", + Strings.TimePickerMinuteTextField to "ನಿಮಿಷಗಳವರೆಗೆ", + Strings.TimePickerHourTextField to "ಗಂಟೆಯವರೆಗೆ", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ko.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ko.kt new file mode 100644 index 0000000000000..343f5a3fdced6 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ko.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ko() = mapOf( + Strings.NavigationMenu to "탐색 메뉴", + Strings.ExposedDropdownMenu to "드롭다운 메뉴", + Strings.CloseDrawer to "탐색 메뉴 닫기", + Strings.CloseSheet to "시트 닫기", + Strings.DefaultErrorMessage to "입력이 잘못됨", + Strings.SliderRangeStart to "범위 시작", + Strings.SliderRangeEnd to "범위 끝", + Strings.Dialog to "대화상자", + Strings.MenuExpanded to "펼침", + Strings.MenuCollapsed to "접힘", + Strings.SnackbarDismiss to "닫기", + Strings.SearchBarSearch to "검색", + Strings.SuggestionsAvailable to "아래의 추천 검색어", + Strings.DatePickerTitle to "날짜 선택", + Strings.DatePickerHeadline to "선택한 날짜", + Strings.DatePickerSwitchToYearSelection to "연도 선택으로 전환", + Strings.DatePickerSwitchToDaySelection to "스와이프하여 연도를 선택하거나 탭하여 날짜 선택으로 돌아가세요.", + Strings.DatePickerSwitchToNextMonth to "다음 달로 변경", + Strings.DatePickerSwitchToPreviousMonth to "이전 달로 변경", + Strings.DatePickerNavigateToYearDescription to "%1\$s년으로 이동", + Strings.DatePickerHeadlineDescription to "현재 선택사항: %1\$s", + Strings.DatePickerNoSelectionDescription to "없음", + Strings.DatePickerTodayDescription to "오늘", + Strings.DatePickerYearPickerPaneTitle to "연도 선택 도구 표시", + Strings.DateInputTitle to "날짜 선택", + Strings.DateInputHeadline to "입력한 날짜", + Strings.DateInputLabel to "날짜", + Strings.DateInputHeadlineDescription to "입력한 날짜: %1\$s", + Strings.DateInputNoInputDescription to "없음", + Strings.DateInputInvalidNotAllowed to "데이터 허용 안 됨: %1\$s", + Strings.DateInputInvalidForPattern to "데이터가 예상 패턴과 일치하지 않음: %1\$s", + Strings.DateInputInvalidYearRange to "데이터가 예상 연도 범위(%1\$s~%2\$s)를 벗어남", + Strings.DatePickerSwitchToCalendarMode to "캘린더 입력 모드로 전환", + Strings.DatePickerSwitchToInputMode to "텍스트 입력 모드로 전환", + Strings.DatePickerScrollToShowLaterYears to "스크롤하여 이후 연도 보기", + Strings.DatePickerScrollToShowEarlierYears to "스크롤하여 이전 연도 보기", + Strings.DateRangePickerTitle to "날짜 선택", + Strings.DateRangePickerStartHeadline to "시작일", + Strings.DateRangePickerEndHeadline to "종료일", + Strings.DateRangePickerScrollToShowNextMonth to "스크롤하여 다음 달 보기", + Strings.DateRangePickerScrollToShowPreviousMonth to "스크롤하여 이전 달 보기", + Strings.DateRangePickerDayInRange to "범위 내", + Strings.DateRangeInputTitle to "날짜 입력", + Strings.DateRangeInputInvalidRangeInput to "잘못된 기간 입력", + Strings.BottomSheetPaneTitle to "하단 시트", + Strings.BottomSheetDragHandleDescription to "드래그 핸들", + Strings.BottomSheetPartialExpandDescription to "하단 시트 접기", + Strings.BottomSheetDismissDescription to "하단 시트 닫기", + Strings.BottomSheetExpandDescription to "하단 시트 펼치기", + Strings.TooltipPaneDescription to "도움말", + Strings.TooltipLongPressLabel to "도움말 표시", + Strings.TimePickerPM to "오후", + Strings.TimePickerAM to "오전", + Strings.TimePickerPeriodToggle to "오전 또는 오후를 선택하세요.", + Strings.TimePickerHourSelection to "시간 선택", + Strings.TimePickerMinuteSelection to "분 선택", + Strings.TimePickerHourSuffix to "%1\$d시 정각", + Strings.TimePicker24HourSuffix to "%1\$d시간", + Strings.TimePickerMinuteSuffix to "%1\$d분", + Strings.TimePickerMinute to "분", + Strings.TimePickerHour to "시간", + Strings.TimePickerMinuteTextField to "기간(분)", + Strings.TimePickerHourTextField to "기간(시간)", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ky.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ky.kt new file mode 100644 index 0000000000000..c2802587c239e --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ky.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ky() = mapOf( + Strings.NavigationMenu to "Чабыттоо менюсу", + Strings.ExposedDropdownMenu to "Түрүлмө меню", + Strings.CloseDrawer to "Чабыттоо менюсун жабуу", + Strings.CloseSheet to "Баракты жабуу", + Strings.DefaultErrorMessage to "Киргизилген маалымат жараксыз", + Strings.SliderRangeStart to "Диапазондун башы", + Strings.SliderRangeEnd to "Диапазондун аягы", + Strings.Dialog to "Диалог", + Strings.MenuExpanded to "Жайылып көрсөтүлдү", + Strings.MenuCollapsed to "Жыйыштырылды", + Strings.SnackbarDismiss to "Жабуу", + Strings.SearchBarSearch to "Издөө", + Strings.SuggestionsAvailable to "Сунуштар төмөндө келтирилди", + Strings.DatePickerTitle to "Күндү тандоо", + Strings.DatePickerHeadline to "Тандалган күн", + Strings.DatePickerSwitchToYearSelection to "Жыл тандоого которулуу", + Strings.DatePickerSwitchToDaySelection to "Жылды тандоо үчүн экранды сүрүңүз же күндү тандоого кайтуу үчүн таптап коюңуз", + Strings.DatePickerSwitchToNextMonth to "Кийинки айга өзгөртүү", + Strings.DatePickerSwitchToPreviousMonth to "Мурунку айга өзгөртүү", + Strings.DatePickerNavigateToYearDescription to "%1\$s-жылга өтүү", + Strings.DatePickerHeadlineDescription to "Учурда %1\$s тандалды", + Strings.DatePickerNoSelectionDescription to "Жок", + Strings.DatePickerTodayDescription to "Бүгүн", + Strings.DatePickerYearPickerPaneTitle to "Көрсөтүлгөн жыл тандагыч", + Strings.DateInputTitle to "Күндү тандоо", + Strings.DateInputHeadline to "Киргизилген күн", + Strings.DateInputLabel to "Күнү", + Strings.DateInputHeadlineDescription to "Киргизилген күн: %1\$s", + Strings.DateInputNoInputDescription to "Жок", + Strings.DateInputInvalidNotAllowed to "Күндүн мындай форматын колдонууга болбойт: %1\$s", + Strings.DateInputInvalidForPattern to "Күндүн форматы үлгүгө дал келген жок: %1\$s", + Strings.DateInputInvalidYearRange to "Күн %1\$s — %2\$s деп белгиленген жылдар диапазонуна кирбей калды", + Strings.DatePickerSwitchToCalendarMode to "Жылнаамага киргизүү режимине которулуу", + Strings.DatePickerSwitchToInputMode to "Текст киргизүү режимине которулуу", + Strings.DatePickerScrollToShowLaterYears to "Кийинки жылдарды көрүү үчүн сыдырыңыз", + Strings.DatePickerScrollToShowEarlierYears to "Мурунку жылдарды көрүү үчүн сыдырыңыз", + Strings.DateRangePickerTitle to "Күндөрдү тандоо", + Strings.DateRangePickerStartHeadline to "Башталуу күнү", + Strings.DateRangePickerEndHeadline to "Аяктоо күнү", + Strings.DateRangePickerScrollToShowNextMonth to "Кийинки айды көрүү үчүн сыдырыңыз", + Strings.DateRangePickerScrollToShowPreviousMonth to "Мурунку айды көрүү үчүн сыдырыңыз", + Strings.DateRangePickerDayInRange to "Төмөнкү убакыт аралыгындагы күн", + Strings.DateRangeInputTitle to "Күндөрдү киргизүү", + Strings.DateRangeInputInvalidRangeInput to "Даталар диапазону туура эмес тандалды", + Strings.BottomSheetPaneTitle to "Ылдыйкы экран", + Strings.BottomSheetDragHandleDescription to "Сүйрөө маркери", + Strings.BottomSheetPartialExpandDescription to "Ылдыйкы экранды жыйыштыруу", + Strings.BottomSheetDismissDescription to "Ылдыйкы экранды жабуу", + Strings.BottomSheetExpandDescription to "Ылдыйкы экранды жайып көрсөтүү", + Strings.TooltipPaneDescription to "Калкып чыгуучу кеңеш", + Strings.TooltipLongPressLabel to "Калкып чыгуучу кеңешти көрсөтүү", + Strings.TimePickerPM to "түштөн кийин", + Strings.TimePickerAM to "түшкө чейин", + Strings.TimePickerPeriodToggle to "Түшкө чейинки же түштөн кийинки убакытты тандоо", + Strings.TimePickerHourSelection to "Саат тандоо", + Strings.TimePickerMinuteSelection to "Мүнөттөрдү тандаңыз", + Strings.TimePickerHourSuffix to "%1\$d саат", + Strings.TimePicker24HourSuffix to "%1\$d саат", + Strings.TimePickerMinuteSuffix to "%1\$d мүнөт", + Strings.TimePickerMinute to "Мүнөт", + Strings.TimePickerHour to "Саат", + Strings.TimePickerMinuteTextField to "мүнөткө", + Strings.TimePickerHourTextField to "саатка", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lo.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lo.kt new file mode 100644 index 0000000000000..5b491f3997e16 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lo.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lo() = mapOf( + Strings.NavigationMenu to "ເມນູການນຳທາງ", + Strings.ExposedDropdownMenu to "ເມນູແບບເລື່ອນລົງ", + Strings.CloseDrawer to "ປິດ​ເມ​ນູການ​ນຳ​ທາງ", + Strings.CloseSheet to "ປິດຊີດ", + Strings.DefaultErrorMessage to "ຂໍ້ມູນທີ່ປ້ອນເຂົ້າບໍ່ຖືກຕ້ອງ", + Strings.SliderRangeStart to "ເລີ່ມຕົ້ນໄລຍະ", + Strings.SliderRangeEnd to "ສິ້ນສຸດໄລຍະ", + Strings.Dialog to "ກ່ອງໂຕ້ຕອບ", + Strings.MenuExpanded to "ຂະຫຍາຍແລ້ວ", + Strings.MenuCollapsed to "ຫຍໍ້ລົງແລ້ວ", + Strings.SnackbarDismiss to "ປິດໄວ້", + Strings.SearchBarSearch to "ຊອກຫາ", + Strings.SuggestionsAvailable to "ມີຄຳແນະນຳຢູ່ຂ້າງລຸ່ມ", + Strings.DatePickerTitle to "ເລືອກວັນທີ", + Strings.DatePickerHeadline to "ວັນທີທີ່ເລືອກໄວ້", + Strings.DatePickerSwitchToYearSelection to "ປ່ຽນໄປເລືອກປີ", + Strings.DatePickerSwitchToDaySelection to "ປັດເພື່ອເລືອກປີ ຫຼື ແຕະເພື່ອປ່ຽນກັບໄປຫາການເລືອກວັນ", + Strings.DatePickerSwitchToNextMonth to "ປ່ຽນເປັນເດືອນຕໍ່ໄປ", + Strings.DatePickerSwitchToPreviousMonth to "ປ່ຽນເປັນເດືອນກ່ອນໜ້າ", + Strings.DatePickerNavigateToYearDescription to "ນຳທາງໄປຫາປີ %1\$s", + Strings.DatePickerHeadlineDescription to "ການເລືອກປັດຈຸບັນ: %1\$s", + Strings.DatePickerNoSelectionDescription to "ບໍ່ມີ", + Strings.DatePickerTodayDescription to "ມື້ນີ້", + Strings.DatePickerYearPickerPaneTitle to "ສະແດງຕົວເລືອກປີ", + Strings.DateInputTitle to "ເລືອກວັນທີ", + Strings.DateInputHeadline to "ລະບຸວັນທີແລ້ວ", + Strings.DateInputLabel to "ວັນທີ", + Strings.DateInputHeadlineDescription to "ລະບຸວັນທີແລ້ວ: %1\$s", + Strings.DateInputNoInputDescription to "ບໍ່ມີ", + Strings.DateInputInvalidNotAllowed to "ບໍ່ອະນຸຍາດໃຫ້ໃຊ້ວັນທີ: %1\$s", + Strings.DateInputInvalidForPattern to "ວັນທີບໍ່ກົງກັບຮູບແບບທີ່ຄາດໄວ້: %1\$s", + Strings.DateInputInvalidYearRange to "ວັນທີຢູ່ນອກໄລຍະປີທີ່ຄາດໄວ້ %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "ສະຫຼັບໄປໃຊ້ໂໝດປ້ອນຂໍ້ມູນປະຕິທິນ", + Strings.DatePickerSwitchToInputMode to "ສະຫຼັບໄປໃຊ້ໂໝດປ້ອນຂໍ້ຄວາມ", + Strings.DatePickerScrollToShowLaterYears to "ເລື່ອນເພື່ອສະແດງປີຫຼັງຈາກນີ້", + Strings.DatePickerScrollToShowEarlierYears to "ເລື່ອນເພື່ອສະແດງປີກ່ອນໜ້ານີ້", + Strings.DateRangePickerTitle to "ເລືອກວັນທີ", + Strings.DateRangePickerStartHeadline to "ວັນທີເລີ່ມຕົ້ນ", + Strings.DateRangePickerEndHeadline to "ວັນທີສິ້ນສຸດ", + Strings.DateRangePickerScrollToShowNextMonth to "ເລື່ອນເພື່ອສະແດງເດືອນຕໍ່ໄປ", + Strings.DateRangePickerScrollToShowPreviousMonth to "ເລື່ອນເພື່ອສະແດງເດືອນກ່ອນໜ້າ", + Strings.DateRangePickerDayInRange to "ຢູ່ໃນໄລຍະວັນທີທີ່ເລືອກ", + Strings.DateRangeInputTitle to "ໃສ່ວັນທີ", + Strings.DateRangeInputInvalidRangeInput to "ອິນພຸດໄລຍະວັນທີບໍ່ຖືກຕ້ອງ", + Strings.BottomSheetPaneTitle to "ຊີດລຸ່ມສຸດ", + Strings.BottomSheetDragHandleDescription to "ບ່ອນຈັບລາກ", + Strings.BottomSheetPartialExpandDescription to "ຫຍໍ້ຊີດລຸ່ມສຸດລົງ", + Strings.BottomSheetDismissDescription to "ປິດຊີດລຸ່ມສຸດໄວ້", + Strings.BottomSheetExpandDescription to "ຂະຫຍາຍຊີດລຸ່ມສຸດ", + Strings.TooltipPaneDescription to "ຄຳແນະນຳ", + Strings.TooltipLongPressLabel to "ສະແດງຄຳແນະນຳ", + Strings.TimePickerPM to "ຫຼັງທ່ຽງ", + Strings.TimePickerAM to "ກ່ອນທ່ຽງ", + Strings.TimePickerPeriodToggle to "ເລືອກກ່ອນທ່ຽງ ຫຼື ຫຼັງທ່ຽງ", + Strings.TimePickerHourSelection to "ເລືອກຊົ່ວໂມງ", + Strings.TimePickerMinuteSelection to "ເລືອກນາທີ", + Strings.TimePickerHourSuffix to "%1\$d ໂມງ", + Strings.TimePicker24HourSuffix to "%1\$d ຊົ່ວໂມງ", + Strings.TimePickerMinuteSuffix to "%1\$d ນາທີ", + Strings.TimePickerMinute to "ນາທີ", + Strings.TimePickerHour to "ຊົ່ວໂມງ", + Strings.TimePickerMinuteTextField to "ສຳລັບນາທີ", + Strings.TimePickerHourTextField to "ສຳລັບຊົ່ວໂມງ", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lt.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lt.kt new file mode 100644 index 0000000000000..7bace18339af3 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lt.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lt() = mapOf( + Strings.NavigationMenu to "Naršymo meniu", + Strings.ExposedDropdownMenu to "Išskleidžiamasis meniu", + Strings.CloseDrawer to "Uždaryti naršymo meniu", + Strings.CloseSheet to "Uždaryti lapą", + Strings.DefaultErrorMessage to "Netinkama įvestis", + Strings.SliderRangeStart to "Diapazono pradžia", + Strings.SliderRangeEnd to "Diapazono pabaiga", + Strings.Dialog to "Dialogo langas", + Strings.MenuExpanded to "Išskleista", + Strings.MenuCollapsed to "Sutraukta", + Strings.SnackbarDismiss to "Atsisakyti", + Strings.SearchBarSearch to "Paieška", + Strings.SuggestionsAvailable to "Pasiūlymai pateikti toliau", + Strings.DatePickerTitle to "Pasirinkite datą", + Strings.DatePickerHeadline to "Pasirinkta data", + Strings.DatePickerSwitchToYearSelection to "Perjungti į metų pasirinkimą", + Strings.DatePickerSwitchToDaySelection to "Perbraukite, kad pasirinktumėte metus, arba palieskite, kad grįžtumėte ir vėl pasirinktumėte dieną", + Strings.DatePickerSwitchToNextMonth to "Pakeisti į kitą mėnesį", + Strings.DatePickerSwitchToPreviousMonth to "Pakeisti į ankstesnį mėnesį", + Strings.DatePickerNavigateToYearDescription to "Eiti į %1\$s m.", + Strings.DatePickerHeadlineDescription to "Dabartinis pasirinkimas: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nėra", + Strings.DatePickerTodayDescription to "Šiandien", + Strings.DatePickerYearPickerPaneTitle to "Rodomas metų parinkiklis", + Strings.DateInputTitle to "Pasirinkite datą", + Strings.DateInputHeadline to "Įvesta data", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Įvesta data: %1\$s", + Strings.DateInputNoInputDescription to "Nėra", + Strings.DateInputInvalidNotAllowed to "Data neleidžiama: %1\$s", + Strings.DateInputInvalidForPattern to "Data neatitinka numatyto šablono: %1\$s", + Strings.DateInputInvalidYearRange to "Data nepatenka į numatytų metų diapazoną: %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Perjungti į kalendoriaus įvesties režimą", + Strings.DatePickerSwitchToInputMode to "Perjungti į teksto įvesties režimą", + Strings.DatePickerScrollToShowLaterYears to "Slinkite, kol bus rodomi vėlesni metai", + Strings.DatePickerScrollToShowEarlierYears to "Slinkite, kol bus rodomi ankstesni metai", + Strings.DateRangePickerTitle to "Pasirinkite datas", + Strings.DateRangePickerStartHeadline to "Pradžios data", + Strings.DateRangePickerEndHeadline to "Pabaigos data", + Strings.DateRangePickerScrollToShowNextMonth to "Slinkite, kol bus rodomas kitas mėnuo", + Strings.DateRangePickerScrollToShowPreviousMonth to "Slinkite, kol bus rodomas ankstesnis mėnuo", + Strings.DateRangePickerDayInRange to "Diapazone", + Strings.DateRangeInputTitle to "Įvesti datas", + Strings.DateRangeInputInvalidRangeInput to "Netinkama dienų sekos įvestis", + Strings.BottomSheetPaneTitle to "Apatinis lapas", + Strings.BottomSheetDragHandleDescription to "Vilkimo rankenėlė", + Strings.BottomSheetPartialExpandDescription to "Sutraukti apatinį lapą", + Strings.BottomSheetDismissDescription to "Atsisakyti apatinio lapo", + Strings.BottomSheetExpandDescription to "Išskleisti apatinį lapą", + Strings.TooltipPaneDescription to "Patarimas", + Strings.TooltipLongPressLabel to "Rodyti patarimą", + Strings.TimePickerPM to "popiet", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Pasirinkite „priešpiet“ arba „popiet“", + Strings.TimePickerHourSelection to "Pasirinkite valandą", + Strings.TimePickerMinuteSelection to "Pasirinkite minutes", + Strings.TimePickerHourSuffix to "%1\$d val.", + Strings.TimePicker24HourSuffix to "%1\$d val.", + Strings.TimePickerMinuteSuffix to "%d min.", + Strings.TimePickerMinute to "Minutė", + Strings.TimePickerHour to "Valanda", + Strings.TimePickerMinuteTextField to "minutės", + Strings.TimePickerHourTextField to "valandos", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lv.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lv.kt new file mode 100644 index 0000000000000..b88f1e9e3deaa --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Lv.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lv() = mapOf( + Strings.NavigationMenu to "Navigācijas izvēlne", + Strings.ExposedDropdownMenu to "Nolaižamā izvēlne", + Strings.CloseDrawer to "Aizvērt navigācijas izvēlni", + Strings.CloseSheet to "Aizvērt izklājlapu", + Strings.DefaultErrorMessage to "Nederīga ievade", + Strings.SliderRangeStart to "Diapazona sākums", + Strings.SliderRangeEnd to "Diapazona beigas", + Strings.Dialog to "Dialoglodziņš", + Strings.MenuExpanded to "Izvērsta", + Strings.MenuCollapsed to "Sakļauta", + Strings.SnackbarDismiss to "Nerādīt", + Strings.SearchBarSearch to "Meklēšana", + Strings.SuggestionsAvailable to "Tālāk ir sniegti ieteikumi", + Strings.DatePickerTitle to "Atlasīt datumu", + Strings.DatePickerHeadline to "Atlasītais datums", + Strings.DatePickerSwitchToYearSelection to "Pāriet uz gada atlasi", + Strings.DatePickerSwitchToDaySelection to "Velciet, lai atlasītu gadu, vai pieskarieties, lai pārietu atpakaļ pie dienas atlases", + Strings.DatePickerSwitchToNextMonth to "Mainīt uz nākamo mēnesi", + Strings.DatePickerSwitchToPreviousMonth to "Mainīt uz iepriekšējo mēnesi", + Strings.DatePickerNavigateToYearDescription to "Pāriet uz %1\$s. gadu", + Strings.DatePickerHeadlineDescription to "Pašreizējā atlase: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nav", + Strings.DatePickerTodayDescription to "Šodien", + Strings.DatePickerYearPickerPaneTitle to "Redzams gada atlasītājs", + Strings.DateInputTitle to "Atlasīt datumu", + Strings.DateInputHeadline to "Ievadītais datums", + Strings.DateInputLabel to "Datums", + Strings.DateInputHeadlineDescription to "Ievadītais datums: %1\$s", + Strings.DateInputNoInputDescription to "Nav", + Strings.DateInputInvalidNotAllowed to "Datums nav atļauts: %1\$s", + Strings.DateInputInvalidForPattern to "Datums neatbilst paredzētajam formātam: %1\$s", + Strings.DateInputInvalidYearRange to "Datums nav paredzētajā gadu diapazonā (%1\$s.–%2\$s. g.)", + Strings.DatePickerSwitchToCalendarMode to "Pārslēgties uz kalendāra ievades režīmu", + Strings.DatePickerSwitchToInputMode to "Pārslēgties uz teksta ievades režīmu", + Strings.DatePickerScrollToShowLaterYears to "Lai rādītu nākamos gadus, ritiniet", + Strings.DatePickerScrollToShowEarlierYears to "Lai rādītu iepriekšējos gadus, ritiniet", + Strings.DateRangePickerTitle to "Atlasiet datumus", + Strings.DateRangePickerStartHeadline to "Sākuma datums", + Strings.DateRangePickerEndHeadline to "Beigu datums", + Strings.DateRangePickerScrollToShowNextMonth to "Lai rādītu nākamo mēnesi, ritiniet", + Strings.DateRangePickerScrollToShowPreviousMonth to "Lai rādītu iepriekšējo mēnesi, ritiniet", + Strings.DateRangePickerDayInRange to "Atlasītajā diapazonā", + Strings.DateRangeInputTitle to "Ievadiet datumus", + Strings.DateRangeInputInvalidRangeInput to "Ievadīts nederīgs datumu diapazons.", + Strings.BottomSheetPaneTitle to "Ekrāna apakšdaļas lapa", + Strings.BottomSheetDragHandleDescription to "Vilkšanas turis", + Strings.BottomSheetPartialExpandDescription to "Sakļaut ekrāna apakšdaļas lapu", + Strings.BottomSheetDismissDescription to "Noraidīt ekrāna apakšdaļas lapu", + Strings.BottomSheetExpandDescription to "Izvērst ekrāna apakšdaļas lapu", + Strings.TooltipPaneDescription to "Rīka padoms", + Strings.TooltipLongPressLabel to "Rādīt rīka padomu", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Atlasīt “AM” (priekšpusdienā) vai “PM” (pēcpusdienā)", + Strings.TimePickerHourSelection to "Atlasīt stundu", + Strings.TimePickerMinuteSelection to "Atlasīt minūtes", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d", + Strings.TimePickerMinuteSuffix to "Minūtes: %1\$d", + Strings.TimePickerMinute to "Minūtes", + Strings.TimePickerHour to "Stunda", + Strings.TimePickerMinuteTextField to "minūtēm", + Strings.TimePickerHourTextField to "stundām", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mk.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mk.kt new file mode 100644 index 0000000000000..70c04678c786a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mk.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mk() = mapOf( + Strings.NavigationMenu to "Мени за навигација", + Strings.ExposedDropdownMenu to "Паѓачко мени", + Strings.CloseDrawer to "Затворете го менито за навигација", + Strings.CloseSheet to "Затворете го листот", + Strings.DefaultErrorMessage to "Неважечки запис", + Strings.SliderRangeStart to "Почеток на опсегот", + Strings.SliderRangeEnd to "Крај на опсегот", + Strings.Dialog to "Дијалог", + Strings.MenuExpanded to "Проширено", + Strings.MenuCollapsed to "Собрано", + Strings.SnackbarDismiss to "Отфрли", + Strings.SearchBarSearch to "Пребарување", + Strings.SuggestionsAvailable to "Предлозите се наведени подолу", + Strings.DatePickerTitle to "Изберете датум", + Strings.DatePickerHeadline to "Избран датум", + Strings.DatePickerSwitchToYearSelection to "Префрли на избирање година", + Strings.DatePickerSwitchToDaySelection to "Повлечете за да изберете година или допрете за да се вратите на избирање ден", + Strings.DatePickerSwitchToNextMonth to "Промени на следниот месец", + Strings.DatePickerSwitchToPreviousMonth to "Промени на претходниот месец", + Strings.DatePickerNavigateToYearDescription to "Одете на %1\$s година", + Strings.DatePickerHeadlineDescription to "Тековен избор: %1\$s", + Strings.DatePickerNoSelectionDescription to "Нема", + Strings.DatePickerTodayDescription to "Денес", + Strings.DatePickerYearPickerPaneTitle to "Избирачот на година е видлив", + Strings.DateInputTitle to "Изберете датум", + Strings.DateInputHeadline to "Внесен датум", + Strings.DateInputLabel to "Датум", + Strings.DateInputHeadlineDescription to "Внесен датум: %1\$s", + Strings.DateInputNoInputDescription to "Нема", + Strings.DateInputInvalidNotAllowed to "Датумот не е дозволен: %1\$s", + Strings.DateInputInvalidForPattern to "Не се совпаѓа со очекуваната шема: %1\$s", + Strings.DateInputInvalidYearRange to "Датумот не е во очекуваниот опсег на години %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Префрли на режим за внесување во календарот", + Strings.DatePickerSwitchToInputMode to "Префрли на режим за внесување текст", + Strings.DatePickerScrollToShowLaterYears to "Лизгајте за да ги прикажете подоцнежните години", + Strings.DatePickerScrollToShowEarlierYears to "Лизгајте за да ги прикажете претходните години", + Strings.DateRangePickerTitle to "Изберете датуми", + Strings.DateRangePickerStartHeadline to "Датум на започнување", + Strings.DateRangePickerEndHeadline to "Датум на завршување", + Strings.DateRangePickerScrollToShowNextMonth to "Лизгајте за да се прикаже следниот месец", + Strings.DateRangePickerScrollToShowPreviousMonth to "Лизгајте за да се прикаже претходниот месец", + Strings.DateRangePickerDayInRange to "Во опсег", + Strings.DateRangeInputTitle to "Внесете датуми", + Strings.DateRangeInputInvalidRangeInput to "Внесовте неважечки временски период", + Strings.BottomSheetPaneTitle to "Долен лист", + Strings.BottomSheetDragHandleDescription to "Рачка за влечење", + Strings.BottomSheetPartialExpandDescription to "Собери го долниот лист", + Strings.BottomSheetDismissDescription to "Отфрли го долниот лист", + Strings.BottomSheetExpandDescription to "Прошири го долниот лист", + Strings.TooltipPaneDescription to "Совет за алатка", + Strings.TooltipLongPressLabel to "Прикажи совет за алатка", + Strings.TimePickerPM to "попл.", + Strings.TimePickerAM to "прет.", + Strings.TimePickerPeriodToggle to "Изберете претпладне или попладне", + Strings.TimePickerHourSelection to "Изберете час", + Strings.TimePickerMinuteSelection to "Изберете минути", + Strings.TimePickerHourSuffix to "%1\$d часот", + Strings.TimePicker24HourSuffix to "%1\$d часа", + Strings.TimePickerMinuteSuffix to "%1\$d минути", + Strings.TimePickerMinute to "Минута", + Strings.TimePickerHour to "Час", + Strings.TimePickerMinuteTextField to "за минути", + Strings.TimePickerHourTextField to "за час", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ml.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ml.kt new file mode 100644 index 0000000000000..751afcd485346 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ml.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ml() = mapOf( + Strings.NavigationMenu to "നാവിഗേഷൻ മെനു", + Strings.ExposedDropdownMenu to "ഡ്രോപ്പ്‌ഡൗൺ മെനു", + Strings.CloseDrawer to "നാവിഗേഷൻ മെനു അടയ്‌ക്കുക", + Strings.CloseSheet to "ഷീറ്റ് അടയ്ക്കുക", + Strings.DefaultErrorMessage to "ഇൻപുട്ട് അസാധുവാണ്", + Strings.SliderRangeStart to "ശ്രേണിയുടെ ആരംഭം", + Strings.SliderRangeEnd to "ശ്രേണിയുടെ അവസാനം", + Strings.Dialog to "ഡയലോഗ്", + Strings.MenuExpanded to "വിപുലീകരിച്ചത്", + Strings.MenuCollapsed to "ചുരുക്കിയത്", + Strings.SnackbarDismiss to "ഡിസ്‌മിസ് ചെയ്യുക", + Strings.SearchBarSearch to "തിരയുക", + Strings.SuggestionsAvailable to "നിദ്ദേശങ്ങൾ ചുവടെയുണ്ട്", + Strings.DatePickerTitle to "തീയതി തിരഞ്ഞെടുക്കുക", + Strings.DatePickerHeadline to "തിരഞ്ഞെടുത്ത തീയതി", + Strings.DatePickerSwitchToYearSelection to "വർഷം തിരഞ്ഞെടുക്കുന്നതിലേക്ക് മാറുക", + Strings.DatePickerSwitchToDaySelection to "വർഷം തിരഞ്ഞെടുക്കാൻ സ്വൈപ്പ് ചെയ്യുക അല്ലെങ്കിൽ ദിവസം തിരഞ്ഞെടുക്കുന്നതിലേക്ക് തിരികെ പോകാൻ ടാപ്പ് ചെയ്യുക", + Strings.DatePickerSwitchToNextMonth to "അടുത്ത മാസത്തിലേക്ക് മാറ്റുക", + Strings.DatePickerSwitchToPreviousMonth to "മുമ്പത്തെ മാസത്തിലേക്ക് മാറ്റുക", + Strings.DatePickerNavigateToYearDescription to "%1\$s എന്ന വർഷത്തിലേക്ക് പോകുക", + Strings.DatePickerHeadlineDescription to "നിലവിലെ തിരഞ്ഞെടുപ്പ്: %1\$s", + Strings.DatePickerNoSelectionDescription to "ഒന്നുമില്ല", + Strings.DatePickerTodayDescription to "ഇന്ന്", + Strings.DatePickerYearPickerPaneTitle to "വർഷ പിക്കർ ദൃശ്യമാണ്", + Strings.DateInputTitle to "തീയതി തിരഞ്ഞെടുക്കുക", + Strings.DateInputHeadline to "നൽകിയ തീയതി", + Strings.DateInputLabel to "തീയതി", + Strings.DateInputHeadlineDescription to "നൽകിയ തീയതി: %1\$s", + Strings.DateInputNoInputDescription to "ഒന്നുമില്ല", + Strings.DateInputInvalidNotAllowed to "തീയതി അനുവദനീയമല്ല: %1\$s", + Strings.DateInputInvalidForPattern to "പ്രതീക്ഷിച്ച പാറ്റേണുമായി തീയതി പൊരുത്തപ്പെടുന്നില്ല: %1\$s", + Strings.DateInputInvalidYearRange to "പ്രതീക്ഷിക്കുന്ന കാലയളവിലെ വർഷമല്ല നൽകിയ തീയതിയുടേത് %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "കലണ്ടർ ഇൻപുട്ട് മോഡിലേക്ക് മാറുക", + Strings.DatePickerSwitchToInputMode to "ടെക്‌സ്‌റ്റ് ഇൻപുട്ട് മോഡിലേക്ക് മാറുക", + Strings.DatePickerScrollToShowLaterYears to "പിന്നീടുള്ള വർഷങ്ങൾ കാണിക്കാൻ സ്ക്രോൾ ചെയ്യുക", + Strings.DatePickerScrollToShowEarlierYears to "മുൻ വർഷങ്ങൾ കാണിക്കാൻ സ്ക്രോൾ ചെയ്യുക", + Strings.DateRangePickerTitle to "തീയതികൾ തിരഞ്ഞെടുക്കുക", + Strings.DateRangePickerStartHeadline to "ആരംഭിക്കുന്ന തീയതി", + Strings.DateRangePickerEndHeadline to "അവസാനിക്കുന്ന തീയതി", + Strings.DateRangePickerScrollToShowNextMonth to "അടുത്ത മാസം കാണിക്കാൻ സ്ക്രോൾ ചെയ്യുക", + Strings.DateRangePickerScrollToShowPreviousMonth to "മുമ്പത്തെ മാസം കാണിക്കാൻ സ്ക്രോൾ ചെയ്യുക", + Strings.DateRangePickerDayInRange to "പരിധിയിൽ", + Strings.DateRangeInputTitle to "തീയതികൾ നൽകുക", + Strings.DateRangeInputInvalidRangeInput to "തീയതി ശ്രേണി ഇൻപുട്ട് അസാധുവാണ്", + Strings.BottomSheetPaneTitle to "ബോട്ടം ഷീറ്റ്", + Strings.BottomSheetDragHandleDescription to "വലിച്ചിടുന്നതിനുള്ള ഹാൻഡിൽ", + Strings.BottomSheetPartialExpandDescription to "ബോട്ടം ഷീറ്റ് ചുരുക്കുക", + Strings.BottomSheetDismissDescription to "ബോട്ടം ഷീറ്റ് ഡിസ്മിസ് ചെയ്യുക", + Strings.BottomSheetExpandDescription to "ബോട്ടം ഷീറ്റ് വികസിപ്പിക്കുക", + Strings.TooltipPaneDescription to "ടൂൾടിപ്പ്", + Strings.TooltipLongPressLabel to "ടൂൾടിപ്പ് കാണിക്കുക", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM അല്ലെങ്കിൽ PM തിരഞ്ഞെടുക്കുക", + Strings.TimePickerHourSelection to "മണിക്കൂർ തിരഞ്ഞെടുക്കുക", + Strings.TimePickerMinuteSelection to "മിനിറ്റ് തിരഞ്ഞെടുക്കുക", + Strings.TimePickerHourSuffix to "%1\$d മണി", + Strings.TimePicker24HourSuffix to "%1\$d മ.", + Strings.TimePickerMinuteSuffix to "%1\$d മിനിറ്റ്", + Strings.TimePickerMinute to "മിനിറ്റ്", + Strings.TimePickerHour to "മണിക്കൂർ", + Strings.TimePickerMinuteTextField to "മിനിറ്റ് നേരത്തേക്ക്", + Strings.TimePickerHourTextField to "മണിക്കൂർ നേരത്തേക്ക്", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mn.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mn.kt new file mode 100644 index 0000000000000..3bc3bd329a6f6 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mn.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mn() = mapOf( + Strings.NavigationMenu to "Навигацын цэс", + Strings.ExposedDropdownMenu to "Унадаг цэс", + Strings.CloseDrawer to "Навигацын цэсийг хаах", + Strings.CloseSheet to "Хүснэгтийг хаах", + Strings.DefaultErrorMessage to "Буруу оролт", + Strings.SliderRangeStart to "Мужийн эхлэл", + Strings.SliderRangeEnd to "Мужийн төгсгөл", + Strings.Dialog to "Харилцах цонх", + Strings.MenuExpanded to "Дэлгэсэн", + Strings.MenuCollapsed to "Хураасан", + Strings.SnackbarDismiss to "Хаах", + Strings.SearchBarSearch to "Хайх", + Strings.SuggestionsAvailable to "Доорх зөвлөмжүүд", + Strings.DatePickerTitle to "Огноо сонгох", + Strings.DatePickerHeadline to "Сонгосон огноо", + Strings.DatePickerSwitchToYearSelection to "Он сонгох руу сэлгэх", + Strings.DatePickerSwitchToDaySelection to "Он сонгохын тулд шудрах эсвэл өдөр сонгох руу буцааж сэлгэхийн тулд товшино уу", + Strings.DatePickerSwitchToNextMonth to "Дараагийн сар луу өөрчлөх", + Strings.DatePickerSwitchToPreviousMonth to "Өмнөх сар луу өөрчлөх", + Strings.DatePickerNavigateToYearDescription to "%1\$s он руу шилжих", + Strings.DatePickerHeadlineDescription to "Одоогийн сонголт: %1\$s", + Strings.DatePickerNoSelectionDescription to "Байхгүй", + Strings.DatePickerTodayDescription to "Өнөөдөр", + Strings.DatePickerYearPickerPaneTitle to "Он сонгогч харагдаж байна", + Strings.DateInputTitle to "Огноо сонгох", + Strings.DateInputHeadline to "Оруулсан огноо", + Strings.DateInputLabel to "Огноо", + Strings.DateInputHeadlineDescription to "Оруулсан огноо: %1\$s", + Strings.DateInputNoInputDescription to "Байхгүй", + Strings.DateInputInvalidNotAllowed to "Зөвшөөрөөгүй огноо: %1\$s", + Strings.DateInputInvalidForPattern to "Огноо нь тооцоолсон хээтэй таарахгүй байна: %1\$s", + Strings.DateInputInvalidYearRange to "Тооцоолсон оны %1\$s - %2\$s мужаас гарсан огноо", + Strings.DatePickerSwitchToCalendarMode to "Календарийн орох горим руу сэлгэх", + Strings.DatePickerSwitchToInputMode to "Текст оруулах горим руу сэлгэх", + Strings.DatePickerScrollToShowLaterYears to "Дараагийн жилүүдийг харуулахын тулд гүйлгэнэ үү", + Strings.DatePickerScrollToShowEarlierYears to "Өмнөх жилүүдийг харуулахын тулд гүйлгэнэ үү", + Strings.DateRangePickerTitle to "Огноо сонгох", + Strings.DateRangePickerStartHeadline to "Эхлэх огноо", + Strings.DateRangePickerEndHeadline to "Дуусах огноо", + Strings.DateRangePickerScrollToShowNextMonth to "Дараагийн сарыг харуулахын тулд гүйлгэнэ үү", + Strings.DateRangePickerScrollToShowPreviousMonth to "Өмнөх сарыг харуулахын тулд гүйлгэнэ үү", + Strings.DateRangePickerDayInRange to "Мужид байгаа", + Strings.DateRangeInputTitle to "Огноо оруулах", + Strings.DateRangeInputInvalidRangeInput to "Хугацааны интервалын оролт буруу байна", + Strings.BottomSheetPaneTitle to "Доод хүснэгт", + Strings.BottomSheetDragHandleDescription to "Чирэх бариул", + Strings.BottomSheetPartialExpandDescription to "Доод хүснэгтийг хураах", + Strings.BottomSheetDismissDescription to "Доод хүснэгтийг хаах", + Strings.BottomSheetExpandDescription to "Доод хүснэгтийг дэлгэх", + Strings.TooltipPaneDescription to "Зөвлөмж", + Strings.TooltipLongPressLabel to "Зөвлөмж харуулах", + Strings.TimePickerPM to "ҮХ", + Strings.TimePickerAM to "ҮӨ", + Strings.TimePickerPeriodToggle to "ҮӨ эсвэл ҮХ эсэхийг сонгоно уу", + Strings.TimePickerHourSelection to "Цаг сонгох", + Strings.TimePickerMinuteSelection to "Минут сонгох", + Strings.TimePickerHourSuffix to "%1\$d цаг", + Strings.TimePicker24HourSuffix to "%1\$d цаг", + Strings.TimePickerMinuteSuffix to "%1\$d минут", + Strings.TimePickerMinute to "Минут", + Strings.TimePickerHour to "Цаг", + Strings.TimePickerMinuteTextField to "минутын турш", + Strings.TimePickerHourTextField to "цагийн турш", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mr.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mr.kt new file mode 100644 index 0000000000000..1db00ca60b816 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Mr.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mr() = mapOf( + Strings.NavigationMenu to "नेव्हिगेशन मेनू", + Strings.ExposedDropdownMenu to "ड्रॉपडाउन मेनू", + Strings.CloseDrawer to "नेव्हिगेशन मेनू बंद करा", + Strings.CloseSheet to "शीट बंद करा", + Strings.DefaultErrorMessage to "इनपुट चुकीचे आहे", + Strings.SliderRangeStart to "रेंजची सुरुवात", + Strings.SliderRangeEnd to "रेंजचा शेवट", + Strings.Dialog to "डायलॉग", + Strings.MenuExpanded to "विस्तारित केला आहे", + Strings.MenuCollapsed to "कोलॅप्स केला आहे", + Strings.SnackbarDismiss to "डिसमिस करा", + Strings.SearchBarSearch to "शोधा", + Strings.SuggestionsAvailable to "सूचना खाली आहेत", + Strings.DatePickerTitle to "तारीख निवडा", + Strings.DatePickerHeadline to "निवडलेली तारीख", + Strings.DatePickerSwitchToYearSelection to "वर्ष निवडणे यावर स्विच करा", + Strings.DatePickerSwitchToDaySelection to "वर्ष निवडण्यासाठी स्‍वाइप करा किंवा दिवस निवडण्यावर परत स्विच करण्यासाठी टॅप करा", + Strings.DatePickerSwitchToNextMonth to "पुढील महिन्यावर बदला", + Strings.DatePickerSwitchToPreviousMonth to "मागील महिन्यावर बदला", + Strings.DatePickerNavigateToYearDescription to "%1\$s वर्षावर नेव्हिगेट करा", + Strings.DatePickerHeadlineDescription to "सध्याची निवड: %1\$s", + Strings.DatePickerNoSelectionDescription to "काहीही नाही", + Strings.DatePickerTodayDescription to "आज", + Strings.DatePickerYearPickerPaneTitle to "वर्ष पिकर दृश्यमान आहे", + Strings.DateInputTitle to "तारीख निवडा", + Strings.DateInputHeadline to "एंटर केलेली तारीख", + Strings.DateInputLabel to "तारीख", + Strings.DateInputHeadlineDescription to "एंटर केली तारीख: %1\$s", + Strings.DateInputNoInputDescription to "काहीही नाही", + Strings.DateInputInvalidNotAllowed to "अशा तारखेला अनुमती नाही: %1\$s", + Strings.DateInputInvalidForPattern to "तारीख ही अपेक्षित पॅटर्नशी जुळत नाही: %1\$s", + Strings.DateInputInvalidYearRange to "तारीख ही %1\$s - %2\$s या अपेक्षित रेंजच्या बाहेरची आहे", + Strings.DatePickerSwitchToCalendarMode to "कॅलेंडर इनपुट मोडवर स्विच करा", + Strings.DatePickerSwitchToInputMode to "टेक्स्ट इनपुट मोडवर स्विच करा", + Strings.DatePickerScrollToShowLaterYears to "नंतरची वर्षे दाखवण्यासाठी स्क्रोल करा", + Strings.DatePickerScrollToShowEarlierYears to "मागील वर्षे दाखवण्यासाठी स्क्रोल करा", + Strings.DateRangePickerTitle to "तारखा निवडा", + Strings.DateRangePickerStartHeadline to "सुरू होण्याची तारीख", + Strings.DateRangePickerEndHeadline to "संपण्याची तारीख", + Strings.DateRangePickerScrollToShowNextMonth to "पुढील महिना दाखवण्यासाठी स्क्रोल करा", + Strings.DateRangePickerScrollToShowPreviousMonth to "मागील महिना दाखवण्यासाठी स्क्रोल करा", + Strings.DateRangePickerDayInRange to "रेंजमध्ये", + Strings.DateRangeInputTitle to "तारखा एंटर करा", + Strings.DateRangeInputInvalidRangeInput to "तारीख रेंजचे इनपुट चुकीचे आहे", + Strings.BottomSheetPaneTitle to "तळाशी असलेली शीट", + Strings.BottomSheetDragHandleDescription to "ड्रॅग हॅंडल", + Strings.BottomSheetPartialExpandDescription to "तळाशी असलेली शीट कोलॅप्स करा", + Strings.BottomSheetDismissDescription to "तळाशी असलेली शीट डिसमिस करा", + Strings.BottomSheetExpandDescription to "तळाशी असलेली शीट विस्तारीत करा", + Strings.TooltipPaneDescription to "टूलटिप", + Strings.TooltipLongPressLabel to "टूलटिप दाखवा", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM किंवा PM निवडा", + Strings.TimePickerHourSelection to "तास निवडा", + Strings.TimePickerMinuteSelection to "मिनिटे निवडा", + Strings.TimePickerHourSuffix to "%1\$d वाजता", + Strings.TimePicker24HourSuffix to "%1\$d तास", + Strings.TimePickerMinuteSuffix to "%1\$d मिनिटे", + Strings.TimePickerMinute to "मिनिट", + Strings.TimePickerHour to "तास", + Strings.TimePickerMinuteTextField to "मिनिटांसाठी", + Strings.TimePickerHourTextField to "तासासाठी", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ms.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ms.kt new file mode 100644 index 0000000000000..fa5795a3a4cc2 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ms.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ms() = mapOf( + Strings.NavigationMenu to "Menu navigasi", + Strings.ExposedDropdownMenu to "Menu lungsur", + Strings.CloseDrawer to "Tutup menu navigasi", + Strings.CloseSheet to "Tutup helaian", + Strings.DefaultErrorMessage to "Input tidak sah", + Strings.SliderRangeStart to "Permulaan julat", + Strings.SliderRangeEnd to "Penghujung julat", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Dikembangkan", + Strings.MenuCollapsed to "Dikuncupkan", + Strings.SnackbarDismiss to "Ketepikan", + Strings.SearchBarSearch to "Carian", + Strings.SuggestionsAvailable to "Cadangan di bawah", + Strings.DatePickerTitle to "Pilih tarikh", + Strings.DatePickerHeadline to "Tarikh dipilih", + Strings.DatePickerSwitchToYearSelection to "Beralih kepada pemilihan tahun", + Strings.DatePickerSwitchToDaySelection to "Leret untuk memilih tahun atau ketik untuk bertukar kembali kepada pemilihan hari", + Strings.DatePickerSwitchToNextMonth to "Tukar kepada bulan seterusnya", + Strings.DatePickerSwitchToPreviousMonth to "Tukar kepada bulan sebelumnya", + Strings.DatePickerNavigateToYearDescription to "Navigasi ke tahun %1\$s", + Strings.DatePickerHeadlineDescription to "Pilihan semasa: %1\$s", + Strings.DatePickerNoSelectionDescription to "Tiada", + Strings.DatePickerTodayDescription to "Hari ini", + Strings.DatePickerYearPickerPaneTitle to "Pemilih tahun kelihatan", + Strings.DateInputTitle to "Pilih tarikh", + Strings.DateInputHeadline to "Tarikh yang dimasukkan", + Strings.DateInputLabel to "Tarikh", + Strings.DateInputHeadlineDescription to "Tarikh yang dimasukkan: %1\$s", + Strings.DateInputNoInputDescription to "Tiada", + Strings.DateInputInvalidNotAllowed to "Tarikh yang tidak dibenarkan: %1\$s", + Strings.DateInputInvalidForPattern to "Tarikh tidak sepadan dengan corak yang dijangkakan: %1\$s", + Strings.DateInputInvalidYearRange to "Tarikh di luar julat tahun yang dijangkakan %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Beralih kepada mod input kalendar", + Strings.DatePickerSwitchToInputMode to "Beralih kepada mod input teks", + Strings.DatePickerScrollToShowLaterYears to "Tatal untuk menunjukkan tahun kemudian", + Strings.DatePickerScrollToShowEarlierYears to "Tatal untuk menunjukkan tahun terdahulu", + Strings.DateRangePickerTitle to "Pilih tarikh", + Strings.DateRangePickerStartHeadline to "Tarikh mula", + Strings.DateRangePickerEndHeadline to "Tarikh tamat", + Strings.DateRangePickerScrollToShowNextMonth to "Tatal untuk menunjukkan bulan seterusnya", + Strings.DateRangePickerScrollToShowPreviousMonth to "Tatal untuk menunjukkan bulan sebelumnya", + Strings.DateRangePickerDayInRange to "Dalam liputan", + Strings.DateRangeInputTitle to "Masukkan tarikh", + Strings.DateRangeInputInvalidRangeInput to "Input julat tarikh tidak sah", + Strings.BottomSheetPaneTitle to "Helaian Bawah", + Strings.BottomSheetDragHandleDescription to "Pemegang seret", + Strings.BottomSheetPartialExpandDescription to "Kuncupkan helaian bawah", + Strings.BottomSheetDismissDescription to "Ketepikan helaian bawah", + Strings.BottomSheetExpandDescription to "Kembangkan helaian bawah", + Strings.TooltipPaneDescription to "Tip alat", + Strings.TooltipLongPressLabel to "Tunjukkan tip alat", + Strings.TimePickerPM to "P/M", + Strings.TimePickerAM to "PG", + Strings.TimePickerPeriodToggle to "Pilih PG atau PTG/MLM", + Strings.TimePickerHourSelection to "Pilih jam", + Strings.TimePickerMinuteSelection to "Pilih minit", + Strings.TimePickerHourSuffix to "Pukul %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d jam", + Strings.TimePickerMinuteSuffix to "%1\$d minit", + Strings.TimePickerMinute to "Minit", + Strings.TimePickerHour to "Jam", + Strings.TimePickerMinuteTextField to "selama # minit", + Strings.TimePickerHourTextField to "selama # jam", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/My.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/My.kt new file mode 100644 index 0000000000000..8ad8142538e97 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/My.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.my() = mapOf( + Strings.NavigationMenu to "လမ်းညွှန် မီနူး", + Strings.ExposedDropdownMenu to "ဆွဲချမီနူး", + Strings.CloseDrawer to "လမ်းညွှန် မီနူး ပိတ်ရန်", + Strings.CloseSheet to "စာမျက်နှာ ပိတ်ရန်", + Strings.DefaultErrorMessage to "ထည့်သွင်းမှု မမှန်ကန်ပါ", + Strings.SliderRangeStart to "အပိုင်းအခြား အစ", + Strings.SliderRangeEnd to "အပိုင်းအခြား အဆုံး", + Strings.Dialog to "ဒိုင်ယာလော့", + Strings.MenuExpanded to "ချဲ့ထားသည်", + Strings.MenuCollapsed to "ချုံ့ထားသည်", + Strings.SnackbarDismiss to "ပယ်ရန်", + Strings.SearchBarSearch to "ရှာရန်", + Strings.SuggestionsAvailable to "အကြံပြုချက်များသည် အောက်တွင်ရှိသည်", + Strings.DatePickerTitle to "ရက်စွဲရွေးရန်", + Strings.DatePickerHeadline to "ရွေးထားသည့် ရက်စွဲ", + Strings.DatePickerSwitchToYearSelection to "နှစ်ရွေးခြင်းသို့ ပြောင်းရန်", + Strings.DatePickerSwitchToDaySelection to "ခုနှစ်ရွေးချယ်ရန် ပွတ်ဆွဲပါ (သို့) ရက်ရွေးချယ်ခြင်းသို့ ပြန်ရန် တို့ပါ", + Strings.DatePickerSwitchToNextMonth to "နောက်လသို့ ပြောင်းရန်", + Strings.DatePickerSwitchToPreviousMonth to "ယခင်လသို့ ပြောင်းရန်", + Strings.DatePickerNavigateToYearDescription to "%1\$s ခုနှစ်သို့ သွားရန်", + Strings.DatePickerHeadlineDescription to "လက်ရှိ ရွေးချယ်မှု- %1\$s", + Strings.DatePickerNoSelectionDescription to "မရှိ", + Strings.DatePickerTodayDescription to "ယနေ့", + Strings.DatePickerYearPickerPaneTitle to "ခုနှစ်ရွေးချယ်ရေးစနစ်ကို မြင်ရသည်", + Strings.DateInputTitle to "ရက်စွဲရွေးရန်", + Strings.DateInputHeadline to "ထည့်ထားသော ရက်စွဲ", + Strings.DateInputLabel to "ရက်စွဲ", + Strings.DateInputHeadlineDescription to "ထည့်ထားသော ရက်စွဲ- %1\$s", + Strings.DateInputNoInputDescription to "မရှိ", + Strings.DateInputInvalidNotAllowed to "ရက်စွဲကို ခွင့်ပြုမထားပါ- %1\$s", + Strings.DateInputInvalidForPattern to "ရက်စွဲသည် မျှော်မှန်းထားသော ပုံစံနှင့် မကိုက်ညီပါ- %1\$s", + Strings.DateInputInvalidYearRange to "ရက်စွဲသည် မျှော်မှန်းထားသော နှစ်အပိုင်းအခြား %1\$s - %2\$s တွင် မပါဝင်ပါ", + Strings.DatePickerSwitchToCalendarMode to "ပြက္ခဒိန် လက်ကွက်ထည့်သွင်းနည်းသို့ ပြောင်းရန်", + Strings.DatePickerSwitchToInputMode to "စာရိုက်နည်းသို့ ပြောင်းရန်", + Strings.DatePickerScrollToShowLaterYears to "နောက်ပိုင်းနှစ်များ ပြရန် လှိမ့်ပါ", + Strings.DatePickerScrollToShowEarlierYears to "ယခင်နှစ်များ ပြရန် လှိမ့်ပါ", + Strings.DateRangePickerTitle to "ရက်စွဲများရွေးပါ", + Strings.DateRangePickerStartHeadline to "စတင်ရက်", + Strings.DateRangePickerEndHeadline to "ပြီးဆုံးရက်", + Strings.DateRangePickerScrollToShowNextMonth to "လာမည့်လကို ပြရန် လှိမ့်ပါ", + Strings.DateRangePickerScrollToShowPreviousMonth to "ယခင်လကို ပြရန် လှိမ့်ပါ", + Strings.DateRangePickerDayInRange to "အပိုင်းအခြားအတွင်း", + Strings.DateRangeInputTitle to "ရက်စွဲများထည့်ပါ", + Strings.DateRangeInputInvalidRangeInput to "ဒေတာအပိုင်းအခြား ထည့်သွင်းမှု မမှန်ပါ", + Strings.BottomSheetPaneTitle to "အောက်ခြေအပိုဆောင်း စာမျက်နှာ", + Strings.BottomSheetDragHandleDescription to "ဖိဆွဲအထိန်း", + Strings.BottomSheetPartialExpandDescription to "အောက်ခြေအပိုဆောင်း စာမျက်နှာကို ချုံ့သည်", + Strings.BottomSheetDismissDescription to "အောက်ခြေအပိုဆောင်း စာမျက်နှာကို ပယ်သည်", + Strings.BottomSheetExpandDescription to "အောက်ခြေအပိုဆောင်း စာမျက်နှာကို ချဲ့သည်", + Strings.TooltipPaneDescription to "အကြံပြုချက်ပြ ပေါ့အပ် ဝင်းဒိုး", + Strings.TooltipLongPressLabel to "အကြံပြုချက်ပြ ပေါ့အပ်ဝင်းဒိုး ပြရန်", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM (သို့) PM ရွေးရန်", + Strings.TimePickerHourSelection to "နာရီ ရွေးရန်", + Strings.TimePickerMinuteSelection to "မိနစ်များရွေးပါ", + Strings.TimePickerHourSuffix to "%1\$d နာရီ", + Strings.TimePicker24HourSuffix to "%1\$d နာရီ", + Strings.TimePickerMinuteSuffix to "%1\$d မိနစ်", + Strings.TimePickerMinute to "မိနစ်", + Strings.TimePickerHour to "နာရီ", + Strings.TimePickerMinuteTextField to "မိနစ်ကြာ", + Strings.TimePickerHourTextField to "နာရီကြာ", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nb.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nb.kt new file mode 100644 index 0000000000000..162d9959e2190 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nb.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.nb() = mapOf( + Strings.NavigationMenu to "Navigasjonsmeny", + Strings.ExposedDropdownMenu to "Rullegardinmeny", + Strings.CloseDrawer to "Lukk navigasjonsmenyen", + Strings.CloseSheet to "Lukk arket", + Strings.DefaultErrorMessage to "Ugyldige inndata", + Strings.SliderRangeStart to "Områdestart", + Strings.SliderRangeEnd to "Områdeslutt", + Strings.Dialog to "Dialogboks", + Strings.MenuExpanded to "Vises", + Strings.MenuCollapsed to "Skjules", + Strings.SnackbarDismiss to "Lukk", + Strings.SearchBarSearch to "Søk", + Strings.SuggestionsAvailable to "Du finner forslag nedenfor", + Strings.DatePickerTitle to "Velg dato", + Strings.DatePickerHeadline to "Valgt dato", + Strings.DatePickerSwitchToYearSelection to "Bytt til å velge et år", + Strings.DatePickerSwitchToDaySelection to "Sveip for å velge år, eller trykk for å bytte tilbake til valg av dag", + Strings.DatePickerSwitchToNextMonth to "Bytt til neste måned", + Strings.DatePickerSwitchToPreviousMonth to "Bytt til forrige måned", + Strings.DatePickerNavigateToYearDescription to "Gå til år %1\$s", + Strings.DatePickerHeadlineDescription to "Valgt: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ingen", + Strings.DatePickerTodayDescription to "I dag", + Strings.DatePickerYearPickerPaneTitle to "Årsvelgeren er synlig", + Strings.DateInputTitle to "Velg dato", + Strings.DateInputHeadline to "Angitt dato", + Strings.DateInputLabel to "Dato", + Strings.DateInputHeadlineDescription to "Angitt dato: %1\$s", + Strings.DateInputNoInputDescription to "Ingen", + Strings.DateInputInvalidNotAllowed to "Datoen er ikke tillatt: %1\$s", + Strings.DateInputInvalidForPattern to "Datoen matcher ikke det forventede mønsteret: %1\$s", + Strings.DateInputInvalidYearRange to "Datoen er utenfor det forventede årsintervallet %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Bytt til kalendermodus for inndata", + Strings.DatePickerSwitchToInputMode to "Bytt til tekstmodus for inndata", + Strings.DatePickerScrollToShowLaterYears to "Rull for å vise senere år", + Strings.DatePickerScrollToShowEarlierYears to "Rull for å vise tidligere år", + Strings.DateRangePickerTitle to "Velg datoer", + Strings.DateRangePickerStartHeadline to "Startdato", + Strings.DateRangePickerEndHeadline to "Sluttdato", + Strings.DateRangePickerScrollToShowNextMonth to "Rull for å vise den neste måneden", + Strings.DateRangePickerScrollToShowPreviousMonth to "Rull for å vise den forrige måneden", + Strings.DateRangePickerDayInRange to "Innenfor området", + Strings.DateRangeInputTitle to "Legg inn datoer", + Strings.DateRangeInputInvalidRangeInput to "En ugyldig datoperiode er valgt", + Strings.BottomSheetPaneTitle to "Felt nederst", + Strings.BottomSheetDragHandleDescription to "Håndtak", + Strings.BottomSheetPartialExpandDescription to "Skjul feltet nederst", + Strings.BottomSheetDismissDescription to "Lukk feltet nederst", + Strings.BottomSheetExpandDescription to "Vis feltet nederst", + Strings.TooltipPaneDescription to "Verktøytips", + Strings.TooltipLongPressLabel to "Vis verktøytips", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Velg AM eller PM", + Strings.TimePickerHourSelection to "Velg time", + Strings.TimePickerMinuteSelection to "Velg minutter", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d timer", + Strings.TimePickerMinuteSuffix to "%1\$d minutter", + Strings.TimePickerMinute to "Minutt", + Strings.TimePickerHour to "Time", + Strings.TimePickerMinuteTextField to "for minutter", + Strings.TimePickerHourTextField to "for timer", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ne.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ne.kt new file mode 100644 index 0000000000000..03af44cf926d5 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ne.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ne() = mapOf( + Strings.NavigationMenu to "नेभिगेसन मेनु", + Strings.ExposedDropdownMenu to "ड्रपडाउन मेनु", + Strings.CloseDrawer to "नेभिगेसन मेनु बन्द गर्नुहोस्", + Strings.CloseSheet to "पाना बन्द गर्नुहोस्", + Strings.DefaultErrorMessage to "अवैद्य इन्पुट", + Strings.SliderRangeStart to "दायराको सुरुवात बिन्दु", + Strings.SliderRangeEnd to "दायराको अन्तिम बिन्दु", + Strings.Dialog to "डायलग", + Strings.MenuExpanded to "एक्स्पान्ड गरिएको छ", + Strings.MenuCollapsed to "कोल्याप्स गरिएको छ", + Strings.SnackbarDismiss to "खारेज गर्नुहोस्", + Strings.SearchBarSearch to "खोज्नुहोस्", + Strings.SuggestionsAvailable to "सुझावहरू तल दिइएका छन्", + Strings.DatePickerTitle to "मिति चयन गर्नुहोस्", + Strings.DatePickerHeadline to "चयन गरिएको मिति", + Strings.DatePickerSwitchToYearSelection to "साल चयन गर्ने फिल्डमा जानुहोस्", + Strings.DatePickerSwitchToDaySelection to "कुनै साल छनौट गर्न स्वाइप गर्नुहोस् वा दिन चयन गर्न ट्याप गर्नुहोस्", + Strings.DatePickerSwitchToNextMonth to "हाल चयन गरिएको महिना परिवर्तन गरी आगामी महिना बनाउनुहोस्", + Strings.DatePickerSwitchToPreviousMonth to "हाल चयन गरिएको महिना परिवर्तन गरी अघिल्लो महिना बनाउनुहोस्", + Strings.DatePickerNavigateToYearDescription to "साल %1\$s मा जानुहोस्", + Strings.DatePickerHeadlineDescription to "हालको छनौट: %1\$s", + Strings.DatePickerNoSelectionDescription to "कुनै पनि होइन", + Strings.DatePickerTodayDescription to "आज", + Strings.DatePickerYearPickerPaneTitle to "डेट पिकर देखिएको छ", + Strings.DateInputTitle to "मिति चयन गर्नुहोस्", + Strings.DateInputHeadline to "हालिएको मिति", + Strings.DateInputLabel to "मिति", + Strings.DateInputHeadlineDescription to "हालिएको मिति: %1\$s", + Strings.DateInputNoInputDescription to "कुनै पनि होइन", + Strings.DateInputInvalidNotAllowed to "यो मिति हाल्न पाइँदैन: %1\$s", + Strings.DateInputInvalidForPattern to "हालिएको मितिको प्याटर्न अपेक्षित प्याटर्नसँग मिल्दैन: %1\$s", + Strings.DateInputInvalidYearRange to "हालिएको मिति सालको अपेक्षित दायरा (%1\$s - %2\$s) भित्र पर्दैन", + Strings.DatePickerSwitchToCalendarMode to "पात्रोको इनपुट मोड प्रयोग गर्नुहोस्", + Strings.DatePickerSwitchToInputMode to "टेक्स्ट इनपुट मोड प्रयोग गर्नुहोस्", + Strings.DatePickerScrollToShowLaterYears to "आगामी सालहरूको जानकारी हेर्न स्क्रोल गर्नुहोस्", + Strings.DatePickerScrollToShowEarlierYears to "विगतका सालहरूको जानकारी हेर्न स्क्रोल गर्नुहोस्", + Strings.DateRangePickerTitle to "मितिहरू चयन गर्नुहोस्", + Strings.DateRangePickerStartHeadline to "सुरु हुने मिति", + Strings.DateRangePickerEndHeadline to "अन्त्य हुने मिति", + Strings.DateRangePickerScrollToShowNextMonth to "अर्को महिनाको जानकारी हेर्न स्क्रोल गर्नुहोस्", + Strings.DateRangePickerScrollToShowPreviousMonth to "गत महिनाको जानकारी हेर्न स्क्रोल गर्नुहोस्", + Strings.DateRangePickerDayInRange to "चयन गरिएका दिनभित्र पर्ने", + Strings.DateRangeInputTitle to "मितिहरू हाल्नुहोस्", + Strings.DateRangeInputInvalidRangeInput to "मितिको अवैध दायरा हालियो", + Strings.BottomSheetPaneTitle to "पुछारको पाना", + Strings.BottomSheetDragHandleDescription to "ड्र्याग ह्यान्डल", + Strings.BottomSheetPartialExpandDescription to "पुछारको पाना कोल्याप्स गर्नुहोस्", + Strings.BottomSheetDismissDescription to "पुछारको पाना हटाउनुहोस्", + Strings.BottomSheetExpandDescription to "पुछारको पाना एक्स्पान्ड गर्नुहोस्", + Strings.TooltipPaneDescription to "टुलटिप", + Strings.TooltipLongPressLabel to "टुलटिप देखाइयोस्", + Strings.TimePickerPM to "अपराह्न", + Strings.TimePickerAM to "पूर्वाह्न", + Strings.TimePickerPeriodToggle to "पूर्वाह्न वा अपराह्न चयन गर्नुहोस्", + Strings.TimePickerHourSelection to "घण्टा चयन गर्नुहोस्", + Strings.TimePickerMinuteSelection to "मिनेट चयन गर्नुहोस्", + Strings.TimePickerHourSuffix to "%1\$d बजे", + Strings.TimePicker24HourSuffix to "%1\$d घण्टा", + Strings.TimePickerMinuteSuffix to "%1\$d मिनेट", + Strings.TimePickerMinute to "मिनेट", + Strings.TimePickerHour to "घण्टा", + Strings.TimePickerMinuteTextField to "मिनेटका लागि", + Strings.TimePickerHourTextField to "घण्टाका लागि", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nl.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nl.kt new file mode 100644 index 0000000000000..5d578f27df51f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Nl.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.nl() = mapOf( + Strings.NavigationMenu to "Navigatiemenu", + Strings.ExposedDropdownMenu to "Dropdownmenu", + Strings.CloseDrawer to "Navigatiemenu sluiten", + Strings.CloseSheet to "Blad sluiten", + Strings.DefaultErrorMessage to "Ongeldige invoer", + Strings.SliderRangeStart to "Start bereik", + Strings.SliderRangeEnd to "Einde bereik", + Strings.Dialog to "Dialoogvenster", + Strings.MenuExpanded to "Uitgevouwen", + Strings.MenuCollapsed to "Samengevouwen", + Strings.SnackbarDismiss to "Sluiten", + Strings.SearchBarSearch to "Zoeken", + Strings.SuggestionsAvailable to "Suggesties hieronder", + Strings.DatePickerTitle to "Datum selecteren", + Strings.DatePickerHeadline to "Geselecteerde datum", + Strings.DatePickerSwitchToYearSelection to "Schakelaar om een jaar te selecteren", + Strings.DatePickerSwitchToDaySelection to "Swipe om een jaar te selecteren of tik om terug te gaan en een dag te selecteren", + Strings.DatePickerSwitchToNextMonth to "Naar volgende maand gaan", + Strings.DatePickerSwitchToPreviousMonth to "Naar vorige maand gaan", + Strings.DatePickerNavigateToYearDescription to "Ga naar jaar %1\$s", + Strings.DatePickerHeadlineDescription to "Huidige selectie: %1\$s", + Strings.DatePickerNoSelectionDescription to "Geen", + Strings.DatePickerTodayDescription to "Vandaag", + Strings.DatePickerYearPickerPaneTitle to "Jaarselectie zichtbaar", + Strings.DateInputTitle to "Datum selecteren", + Strings.DateInputHeadline to "Ingevulde datum", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Ingevulde datum: %1\$s", + Strings.DateInputNoInputDescription to "Geen", + Strings.DateInputInvalidNotAllowed to "Datum niet toegestaan: %1\$s", + Strings.DateInputInvalidForPattern to "De datum komt niet overeen met het verwachte patroon: %1\$s", + Strings.DateInputInvalidYearRange to "Datum buiten het verwachte jaarbereik %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Overschakelen naar agenda-invoermodus", + Strings.DatePickerSwitchToInputMode to "Overschakelen naar tekstinvoermodus", + Strings.DatePickerScrollToShowLaterYears to "Scroll om latere jaren te tonen", + Strings.DatePickerScrollToShowEarlierYears to "Scroll om eerdere jaren te tonen", + Strings.DateRangePickerTitle to "Datums selecteren", + Strings.DateRangePickerStartHeadline to "Startdatum", + Strings.DateRangePickerEndHeadline to "Einddatum", + Strings.DateRangePickerScrollToShowNextMonth to "Scroll om de volgende maand te tonen", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scroll om de vorige maand te tonen", + Strings.DateRangePickerDayInRange to "Binnen bereik", + Strings.DateRangeInputTitle to "Datums opgeven", + Strings.DateRangeInputInvalidRangeInput to "Ongeldige invoer voor periode", + Strings.BottomSheetPaneTitle to "Blad onderaan", + Strings.BottomSheetDragHandleDescription to "Handgreep voor slepen", + Strings.BottomSheetPartialExpandDescription to "Blad onderaan samenvouwen", + Strings.BottomSheetDismissDescription to "Blad onderaan sluiten", + Strings.BottomSheetExpandDescription to "Blad onderaan uitvouwen", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Tooltip tonen", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM of PM selecteren", + Strings.TimePickerHourSelection to "Uur selecteren", + Strings.TimePickerMinuteSelection to "Minuten selecteren", + Strings.TimePickerHourSuffix to "%1\$d uur", + Strings.TimePicker24HourSuffix to "%1\$d uur", + Strings.TimePickerMinuteSuffix to "%1\$d minuten", + Strings.TimePickerMinute to "Minuut", + Strings.TimePickerHour to "Uur", + Strings.TimePickerMinuteTextField to "voor minuten", + Strings.TimePickerHourTextField to "voor uur", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Or.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Or.kt new file mode 100644 index 0000000000000..21183a97743bc --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Or.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.or() = mapOf( + Strings.NavigationMenu to "ନାଭିଗେସନ୍ ମେନୁ", + Strings.ExposedDropdownMenu to "ଡ୍ରପଡାଉନ ମେନୁ", + Strings.CloseDrawer to "ନାଭିଗେସନ୍ ମେନୁ ବନ୍ଦ କରନ୍ତୁ", + Strings.CloseSheet to "ସିଟ୍ ବନ୍ଦ କରନ୍ତୁ", + Strings.DefaultErrorMessage to "ଅବୈଧ ଇନପୁଟ୍", + Strings.SliderRangeStart to "ରେଞ୍ଜ ଆରମ୍ଭ", + Strings.SliderRangeEnd to "ରେଞ୍ଜ ଶେଷ", + Strings.Dialog to "ଡାଏଲଗ", + Strings.MenuExpanded to "ବିସ୍ତାର କରାଯାଇଛି", + Strings.MenuCollapsed to "ସଙ୍କୁଚିତ କରାଯାଇଛି", + Strings.SnackbarDismiss to "ଖାରଜ କରନ୍ତୁ", + Strings.SearchBarSearch to "ସର୍ଚ୍ଚ କରନ୍ତୁ", + Strings.SuggestionsAvailable to "ପରାମର୍ଶ ତଳେ ଦିଆଯାଇଛି", + Strings.DatePickerTitle to "ତାରିଖ ଚୟନ କରନ୍ତୁ", + Strings.DatePickerHeadline to "ଚୟନିତ ତାରିଖ", + Strings.DatePickerSwitchToYearSelection to "ଏକ ବର୍ଷ ଚୟନ କରିବାକୁ ସୁଇଚ କରନ୍ତୁ", + Strings.DatePickerSwitchToDaySelection to "ଏକ ବର୍ଷ ଚୟନ କରିବା ପାଇଁ ସ୍ୱାଇପ କରନ୍ତୁ କିମ୍ବା ଏକ ଦିନ ଚୟନ କରିବା ପାଇଁ ପୁଣି ସୁଇଚ କରିବାକୁ ଟାପ କରନ୍ତୁ", + Strings.DatePickerSwitchToNextMonth to "ପରବର୍ତ୍ତୀ ମାସକୁ ପରିବର୍ତ୍ତନ କରନ୍ତୁ", + Strings.DatePickerSwitchToPreviousMonth to "ପୂର୍ବବର୍ତ୍ତୀ ମାସକୁ ପରିବର୍ତ୍ତନ କରନ୍ତୁ", + Strings.DatePickerNavigateToYearDescription to "%1\$s ବର୍ଷକୁ ନାଭିଗେଟ କରନ୍ତୁ", + Strings.DatePickerHeadlineDescription to "ବର୍ତ୍ତମାନର ଚୟନ: %1\$s", + Strings.DatePickerNoSelectionDescription to "କିଛି ନାହିଁ", + Strings.DatePickerTodayDescription to "ଆଜି", + Strings.DatePickerYearPickerPaneTitle to "ବର୍ଷ ପିକର ଦେଖାଯାଉଛି", + Strings.DateInputTitle to "ତାରିଖ ଚୟନ କରନ୍ତୁ", + Strings.DateInputHeadline to "ଲେଖାଯାଇଥିବା ତାରିଖ", + Strings.DateInputLabel to "ତାରିଖ", + Strings.DateInputHeadlineDescription to "ଲେଖାଯାଇଥିବା ତାରିଖ: %1\$s", + Strings.DateInputNoInputDescription to "କିଛି ନାହିଁ", + Strings.DateInputInvalidNotAllowed to "ତାରିଖକୁ ଅନୁମତି ଦିଆଯାଇନାହିଁ: %1\$s", + Strings.DateInputInvalidForPattern to "ଆଶା କରାଯାଉଥିବା ପାଟର୍ନ ସହ ତାରିଖ ମେଳ ହେଉନାହିଁ: %1\$s", + Strings.DateInputInvalidYearRange to "ତାରିଖଟି ଆଶା କରାଯାଉଥିବା ବର୍ଷ ରେଞ୍ଜ %1\$s - %2\$sରୁ ବାହାରେ ଅଛି", + Strings.DatePickerSwitchToCalendarMode to "କେଲେଣ୍ଡର ଇନପୁଟ ମୋଡକୁ ସୁଇଚ କରନ୍ତୁ", + Strings.DatePickerSwitchToInputMode to "ଟେକ୍ସଟ ଇନପୁଟ ମୋଡକୁ ସୁଇଚ କରନ୍ତୁ", + Strings.DatePickerScrollToShowLaterYears to "ପର ବର୍ଷଗୁଡ଼ିକ ଦେଖାଇବା ପାଇଁ ସ୍କ୍ରୋଲ କରନ୍ତୁ", + Strings.DatePickerScrollToShowEarlierYears to "ପୂର୍ବ ବର୍ଷଗୁଡ଼ିକ ଦେଖାଇବା ପାଇଁ ସ୍କ୍ରୋଲ କରନ୍ତୁ", + Strings.DateRangePickerTitle to "ତାରିଖଗୁଡ଼ିକ ଚୟନ କରନ୍ତୁ", + Strings.DateRangePickerStartHeadline to "ଆରମ୍ଭ ତାରିଖ", + Strings.DateRangePickerEndHeadline to "ଶେଷ ତାରିଖ", + Strings.DateRangePickerScrollToShowNextMonth to "ପରବର୍ତ୍ତୀ ମାସ ଦେଖାଇବା ପାଇଁ ସ୍କ୍ରୋଲ କରନ୍ତୁ", + Strings.DateRangePickerScrollToShowPreviousMonth to "ପୂର୍ବବର୍ତ୍ତୀ ମାସ ଦେଖାଇବା ପାଇଁ ସ୍କ୍ରୋଲ କରନ୍ତୁ", + Strings.DateRangePickerDayInRange to "ରେଞ୍ଜରେ ଅଛି", + Strings.DateRangeInputTitle to "ତାରିଖଗୁଡ଼ିକ ଲେଖନ୍ତୁ", + Strings.DateRangeInputInvalidRangeInput to "ଅବୈଧ ତାରିଖ ରେଞ୍ଜ ଇନପୁଟ", + Strings.BottomSheetPaneTitle to "ବଟମ ସିଟ", + Strings.BottomSheetDragHandleDescription to "ଡ୍ରାଗ ହେଣ୍ଡେଲ", + Strings.BottomSheetPartialExpandDescription to "ବଟମ ସିଟକୁ ସଙ୍କୁଚିତ କରନ୍ତୁ", + Strings.BottomSheetDismissDescription to "ବଟମ ସିଟକୁ ଖାରଜ କରନ୍ତୁ", + Strings.BottomSheetExpandDescription to "ବଟମ ସିଟକୁ ବିସ୍ତାର କରନ୍ତୁ", + Strings.TooltipPaneDescription to "ଟୁଲଟିପ", + Strings.TooltipLongPressLabel to "ଟୁଲଟିପ ଦେଖାନ୍ତୁ", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM କିମ୍ବା PM ଚୟନ କରନ୍ତୁ", + Strings.TimePickerHourSelection to "ଘଣ୍ଟା ଚୟନ କରନ୍ତୁ", + Strings.TimePickerMinuteSelection to "ମିନିଟ ଚୟନ କରନ୍ତୁ", + Strings.TimePickerHourSuffix to "%1\$dଟା", + Strings.TimePicker24HourSuffix to "%1\$d ଘଣ୍ଟା", + Strings.TimePickerMinuteSuffix to "%1\$d ମିନିଟ", + Strings.TimePickerMinute to "ମିନିଟ", + Strings.TimePickerHour to "ଘଣ୍ଟା", + Strings.TimePickerMinuteTextField to "ମିନିଟ ପାଇଁ", + Strings.TimePickerHourTextField to "ଘଣ୍ଟା ପାଇଁ", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pa.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pa.kt new file mode 100644 index 0000000000000..0844dfd063740 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pa.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pa() = mapOf( + Strings.NavigationMenu to "ਨੈਵੀਗੇਸ਼ਨ ਮੀਨੂ", + Strings.ExposedDropdownMenu to "ਡ੍ਰੌਪ-ਡਾਊਨ ਮੀਨੂ", + Strings.CloseDrawer to "ਨੈਵੀਗੇਸ਼ਨ ਮੀਨੂ ਬੰਦ ਕਰੋ", + Strings.CloseSheet to "ਸ਼ੀਟ ਬੰਦ ਕਰੋ", + Strings.DefaultErrorMessage to "ਅਵੈਧ ਇਨਪੁੱਟ", + Strings.SliderRangeStart to "ਰੇਂਜ ਸ਼ੁਰੂ", + Strings.SliderRangeEnd to "ਰੇਂਜ ਸਮਾਪਤ", + Strings.Dialog to "ਡਾਇਲੌਗ", + Strings.MenuExpanded to "ਵਿਸਤਾਰ ਕੀਤਾ ਗਿਆ", + Strings.MenuCollapsed to "ਸਮੇਟਿਆ ਗਿਆ", + Strings.SnackbarDismiss to "ਖਾਰਜ ਕਰੋ", + Strings.SearchBarSearch to "ਖੋਜੋ", + Strings.SuggestionsAvailable to "ਸੁਝਾਅ ਹੇਠਾਂ ਹਨ", + Strings.DatePickerTitle to "ਤਾਰੀਖ ਚੁਣੋ", + Strings.DatePickerHeadline to "ਚੁਣੀ ਗਈ ਤਾਰੀਖ", + Strings.DatePickerSwitchToYearSelection to "ਸਾਲ ਚੁਣਨ ਲਈ ਸਵਿੱਚ ਕਰੋ", + Strings.DatePickerSwitchToDaySelection to "ਕੋਈ ਸਾਲ ਚੁਣਨ ਲਈ ਸਵਾਈਪ ਕਰੋ ਜਾਂ ਕੋਈ ਦਿਨ ਚੁਣਨ ਲਈ ਵਾਪਸ ਜਾਣ ਵਾਸਤੇ ਟੈਪ ਕਰੋ", + Strings.DatePickerSwitchToNextMonth to "ਅਗਲੇ ਮਹੀਨੇ \'ਤੇ ਜਾਓ", + Strings.DatePickerSwitchToPreviousMonth to "ਪਿਛਲੇ ਮਹੀਨੇ \'ਤੇ ਜਾਓ", + Strings.DatePickerNavigateToYearDescription to "ਸਾਲ %1\$s \'ਤੇ ਜਾਓ", + Strings.DatePickerHeadlineDescription to "ਮੌਜੂਦਾ ਚੋਣ: %1\$s", + Strings.DatePickerNoSelectionDescription to "ਕੋਈ ਨਹੀਂ", + Strings.DatePickerTodayDescription to "ਅੱਜ", + Strings.DatePickerYearPickerPaneTitle to "ਸਾਲ ਚੋਣਕਾਰ ਦਿਖਣਯੋਗ ਹੈ", + Strings.DateInputTitle to "ਤਾਰੀਖ ਚੁਣੋ", + Strings.DateInputHeadline to "ਦਾਖਲ ਕੀਤੀ ਗਈ ਤਾਰੀਖ", + Strings.DateInputLabel to "ਤਾਰੀਖ", + Strings.DateInputHeadlineDescription to "ਦਾਖਲ ਕੀਤੀ ਗਈ ਤਾਰੀਖ: %1\$s", + Strings.DateInputNoInputDescription to "ਕੋਈ ਨਹੀਂ", + Strings.DateInputInvalidNotAllowed to "ਇਸ ਤਾਰੀਖ ਦੀ ਆਗਿਆ ਨਹੀਂ ਹੈ: %1\$s", + Strings.DateInputInvalidForPattern to "ਤਾਰੀਖ ਸੰਭਾਵਿਤ ਪੈਟਰਨ ਨਾਲ ਮੇਲ ਨਹੀਂ ਖਾਂਦੀ: %1\$s", + Strings.DateInputInvalidYearRange to "ਤਾਰੀਖ ਸੰਭਾਵਿਤ ਸਾਲ ਦੀ ਰੇਂਜ, %1\$s - %2\$s ਤੋਂ ਬਾਹਰ ਹੈ", + Strings.DatePickerSwitchToCalendarMode to "ਕੈਲੰਡਰ ਇਨਪੁੱਟ ਮੋਡ \'ਤੇ ਸਵਿੱਚ ਕਰੋ", + Strings.DatePickerSwitchToInputMode to "ਲਿਖਤ ਇਨਪੁੱਟ ਮੋਡ \'ਤੇ ਸਵਿੱਚ ਕਰੋ", + Strings.DatePickerScrollToShowLaterYears to "ਬਾਅਦ ਵਾਲੇ ਸਾਲਾਂ ਨੂੰ ਦਿਖਾਉਣ ਲਈ ਸਕ੍ਰੋਲ ਕਰੋ", + Strings.DatePickerScrollToShowEarlierYears to "ਪਿਛਲੇ ਸਾਲਾਂ ਨੂੰ ਦਿਖਾਉਣ ਲਈ ਸਕ੍ਰੋਲ ਕਰੋ", + Strings.DateRangePickerTitle to "ਤਾਰੀਖਾਂ ਚੁਣੋ", + Strings.DateRangePickerStartHeadline to "ਸ਼ੁੁਰੂਆਤੀ ਤਾਰੀਖ", + Strings.DateRangePickerEndHeadline to "ਸਮਾਪਤੀ ਤਾਰੀਖ", + Strings.DateRangePickerScrollToShowNextMonth to "ਅਗਲਾ ਮਹੀਨਾ ਦਿਖਾਉਣ ਲਈ ਸਕ੍ਰੋਲ ਕਰੋ", + Strings.DateRangePickerScrollToShowPreviousMonth to "ਪਿਛਲਾ ਮਹੀਨਾ ਦਿਖਾਉਣ ਲਈ ਸਕ੍ਰੋਲ ਕਰੋ", + Strings.DateRangePickerDayInRange to "ਰੇਂਜ ਵਿੱਚ", + Strings.DateRangeInputTitle to "ਤਾਰੀਖਾਂ ਦਾਖਲ ਕਰੋ", + Strings.DateRangeInputInvalidRangeInput to "ਇਨਪੁੱਟ ਕੀਤੀ ਗਈ ਤਾਰੀਖ ਦੀ ਰੇਂਜ ਅਵੈਧ ਹੈ", + Strings.BottomSheetPaneTitle to "ਹੇਠਲੀ ਸ਼ੀਟ", + Strings.BottomSheetDragHandleDescription to "ਘਸੀਟਣ ਵਾਲਾ ਹੈਂਡਲ", + Strings.BottomSheetPartialExpandDescription to "ਹੇਠਲੀ ਸ਼ੀਟ ਨੂੰ ਸਮੇਟੋ", + Strings.BottomSheetDismissDescription to "ਹੇਠਲੀ ਸ਼ੀਟ ਨੂੰ ਖਾਰਜ ਕਰੋ", + Strings.BottomSheetExpandDescription to "ਹੇਠਲੀ ਸ਼ੀਟ ਦਾ ਵਿਸਤਾਰ ਕਰੋ", + Strings.TooltipPaneDescription to "ਟੂਲ-ਟਿੱਪ", + Strings.TooltipLongPressLabel to "ਟੂਲ-ਟਿੱਪ ਦਿਖਾਓ", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM ਜਾਂ PM ਚੁਣੋ", + Strings.TimePickerHourSelection to "ਘੰਟਾ ਚੁਣੋ", + Strings.TimePickerMinuteSelection to "ਮਿੰਟ ਚੁਣੋ", + Strings.TimePickerHourSuffix to "%1\$d ਵਜੇ", + Strings.TimePicker24HourSuffix to "%1\$d ਘੰਟੇ", + Strings.TimePickerMinuteSuffix to "%1\$d ਮਿੰਟ", + Strings.TimePickerMinute to "ਮਿੰਟ", + Strings.TimePickerHour to "ਘੰਟਾ", + Strings.TimePickerMinuteTextField to "ਮਿੰਟਾਂ ਲਈ", + Strings.TimePickerHourTextField to "ਘੰਟੇ ਲਈ", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pl.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pl.kt new file mode 100644 index 0000000000000..85eef9242e3e6 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pl.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pl() = mapOf( + Strings.NavigationMenu to "Menu nawigacyjne", + Strings.ExposedDropdownMenu to "Menu", + Strings.CloseDrawer to "Zamknij menu nawigacyjne", + Strings.CloseSheet to "Zamknij arkusz", + Strings.DefaultErrorMessage to "Nieprawidłowe dane wejściowe", + Strings.SliderRangeStart to "Początek zakresu", + Strings.SliderRangeEnd to "Koniec zakresu", + Strings.Dialog to "Okno", + Strings.MenuExpanded to "Rozwinięte", + Strings.MenuCollapsed to "Zwinięte", + Strings.SnackbarDismiss to "Zamknij", + Strings.SearchBarSearch to "Szukaj", + Strings.SuggestionsAvailable to "Sugestie znajdziesz poniżej", + Strings.DatePickerTitle to "Wybierz datę", + Strings.DatePickerHeadline to "Wybrana data", + Strings.DatePickerSwitchToYearSelection to "Przełącz na wybór roku", + Strings.DatePickerSwitchToDaySelection to "Przesuń, aby wybrać rok, lub kliknij, aby wrócić do wyboru dnia", + Strings.DatePickerSwitchToNextMonth to "Zmień na następny miesiąc", + Strings.DatePickerSwitchToPreviousMonth to "Zmień na poprzedni miesiąc", + Strings.DatePickerNavigateToYearDescription to "Przejdź do roku %1\$s", + Strings.DatePickerHeadlineDescription to "Obecnie wybrane: %1\$s", + Strings.DatePickerNoSelectionDescription to "Brak", + Strings.DatePickerTodayDescription to "Dzisiaj", + Strings.DatePickerYearPickerPaneTitle to "Widoczny selektor roku", + Strings.DateInputTitle to "Wybierz datę", + Strings.DateInputHeadline to "Wprowadzono datę", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Wprowadzono datę: %1\$s", + Strings.DateInputNoInputDescription to "Brak", + Strings.DateInputInvalidNotAllowed to "Data jest niedozwolona: %1\$s", + Strings.DateInputInvalidForPattern to "Data nie pasuje do oczekiwanego wzorca: %1\$s", + Strings.DateInputInvalidYearRange to "Data jest poza oczekiwanym zakresem lat %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Włącz tryb wprowadzania danych kalendarzowych", + Strings.DatePickerSwitchToInputMode to "Przełącz na tryb wprowadzania tekstu", + Strings.DatePickerScrollToShowLaterYears to "Przewiń, aby wyświetlić późniejsze lata", + Strings.DatePickerScrollToShowEarlierYears to "Przewiń, aby wyświetlić wcześniejsze lata", + Strings.DateRangePickerTitle to "Wybierz daty", + Strings.DateRangePickerStartHeadline to "Data początkowa", + Strings.DateRangePickerEndHeadline to "Data końcowa", + Strings.DateRangePickerScrollToShowNextMonth to "Przewiń, aby wyświetlić następny miesiąc", + Strings.DateRangePickerScrollToShowPreviousMonth to "Przewiń, aby wyświetlić poprzedni miesiąc", + Strings.DateRangePickerDayInRange to "W zakresie", + Strings.DateRangeInputTitle to "Wprowadź daty", + Strings.DateRangeInputInvalidRangeInput to "Nieprawidłowy zakres dat", + Strings.BottomSheetPaneTitle to "Plansza dolna", + Strings.BottomSheetDragHandleDescription to "Uchwyt do przeciągania", + Strings.BottomSheetPartialExpandDescription to "Zwiń planszę dolną", + Strings.BottomSheetDismissDescription to "Zamknij planszę dolną", + Strings.BottomSheetExpandDescription to "Rozwiń planszę dolną", + Strings.TooltipPaneDescription to "Etykietka", + Strings.TooltipLongPressLabel to "Pokaż etykietkę", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Wybierz AM lub PM", + Strings.TimePickerHourSelection to "Wybierz godzinę", + Strings.TimePickerMinuteSelection to "Wybierz minuty", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d", + Strings.TimePickerMinuteSuffix to "Minuty: %1\$d", + Strings.TimePickerMinute to "Minuta", + Strings.TimePickerHour to "Godzina", + Strings.TimePickerMinuteTextField to "aby wpisać minuty", + Strings.TimePickerHourTextField to "aby wpisać godzinę", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pt.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pt.kt new file mode 100644 index 0000000000000..192f97dd2cde8 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Pt.kt @@ -0,0 +1,221 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pt() = mapOf( + Strings.NavigationMenu to "Menu de navegação", + Strings.ExposedDropdownMenu to "Menu suspenso", + Strings.CloseDrawer to "Fechar menu de navegação", + Strings.CloseSheet to "Fechar planilha", + Strings.DefaultErrorMessage to "Entrada inválida", + Strings.SliderRangeStart to "Início do intervalo", + Strings.SliderRangeEnd to "Fim do intervalo", + Strings.Dialog to "Caixa de diálogo", + Strings.MenuExpanded to "Aberto", + Strings.MenuCollapsed to "Fechado", + Strings.SnackbarDismiss to "Dispensar", + Strings.SearchBarSearch to "Pesquisar", + Strings.SuggestionsAvailable to "Sugestões abaixo", + Strings.DatePickerTitle to "Selecionar data", + Strings.DatePickerHeadline to "Data selecionada", + Strings.DatePickerSwitchToYearSelection to "Usar a seleção de ano", + Strings.DatePickerSwitchToDaySelection to "Deslize para selecionar um ano ou toque para voltar à seleção de dia", + Strings.DatePickerSwitchToNextMonth to "Mudar para o próximo mês", + Strings.DatePickerSwitchToPreviousMonth to "Mudar para o mês anterior", + Strings.DatePickerNavigateToYearDescription to "Navegar para o ano de %1\$s", + Strings.DatePickerHeadlineDescription to "Seleção atual: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nenhum", + Strings.DatePickerTodayDescription to "Hoje", + Strings.DatePickerYearPickerPaneTitle to "Seletor de ano visível", + Strings.DateInputTitle to "Selecionar data", + Strings.DateInputHeadline to "Data informada", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data informada: %1\$s", + Strings.DateInputNoInputDescription to "Nenhum", + Strings.DateInputInvalidNotAllowed to "Data não permitida: %1\$s", + Strings.DateInputInvalidForPattern to "A data não está no padrão esperado: %1\$s", + Strings.DateInputInvalidYearRange to "A data está fora do intervalo de anos esperado: %1\$s a %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Usar o modo de entrada na agenda", + Strings.DatePickerSwitchToInputMode to "Usar o modo de entrada de texto", + Strings.DatePickerScrollToShowLaterYears to "Role a tela para mostrar anos seguintes", + Strings.DatePickerScrollToShowEarlierYears to "Role a tela para mostrar anos anteriores", + Strings.DateRangePickerTitle to "Selecionar datas", + Strings.DateRangePickerStartHeadline to "Data de início", + Strings.DateRangePickerEndHeadline to "Data de término", + Strings.DateRangePickerScrollToShowNextMonth to "Role a tela para mostrar o mês seguinte", + Strings.DateRangePickerScrollToShowPreviousMonth to "Role a tela para mostrar o mês anterior", + Strings.DateRangePickerDayInRange to "Dentro do período", + Strings.DateRangeInputTitle to "Informar datas", + Strings.DateRangeInputInvalidRangeInput to "Período inválido", + Strings.BottomSheetPaneTitle to "Página inferior", + Strings.BottomSheetDragHandleDescription to "Alça de arrastar", + Strings.BottomSheetPartialExpandDescription to "Fechar página inferior", + Strings.BottomSheetDismissDescription to "Dispensar página inferior", + Strings.BottomSheetExpandDescription to "Abrir página inferior", + Strings.TooltipPaneDescription to "Dica", + Strings.TooltipLongPressLabel to "Mostrar dica", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Selecione AM ou PM", + Strings.TimePickerHourSelection to "Selecione a hora", + Strings.TimePickerMinuteSelection to "Selecione os minutos", + Strings.TimePickerHourSuffix to "%1\$dh", + Strings.TimePicker24HourSuffix to "%1\$d horas", + Strings.TimePickerMinuteSuffix to "%1\$d minutos", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "por minutos", + Strings.TimePickerHourTextField to "por hora", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ptBR() = mapOf( + Strings.NavigationMenu to "Menu de navegação", + Strings.ExposedDropdownMenu to "Menu suspenso", + Strings.CloseDrawer to "Fechar menu de navegação", + Strings.CloseSheet to "Fechar planilha", + Strings.DefaultErrorMessage to "Entrada inválida", + Strings.SliderRangeStart to "Início do intervalo", + Strings.SliderRangeEnd to "Fim do intervalo", + Strings.Dialog to "Caixa de diálogo", + Strings.MenuExpanded to "Aberto", + Strings.MenuCollapsed to "Fechado", + Strings.SnackbarDismiss to "Dispensar", + Strings.SearchBarSearch to "Pesquisar", + Strings.SuggestionsAvailable to "Sugestões abaixo", + Strings.DatePickerTitle to "Selecionar data", + Strings.DatePickerHeadline to "Data selecionada", + Strings.DatePickerSwitchToYearSelection to "Usar a seleção de ano", + Strings.DatePickerSwitchToDaySelection to "Deslize para selecionar um ano ou toque para voltar à seleção de dia", + Strings.DatePickerSwitchToNextMonth to "Mudar para o próximo mês", + Strings.DatePickerSwitchToPreviousMonth to "Mudar para o mês anterior", + Strings.DatePickerNavigateToYearDescription to "Navegar para o ano de %1\$s", + Strings.DatePickerHeadlineDescription to "Seleção atual: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nenhum", + Strings.DatePickerTodayDescription to "Hoje", + Strings.DatePickerYearPickerPaneTitle to "Seletor de ano visível", + Strings.DateInputTitle to "Selecionar data", + Strings.DateInputHeadline to "Data informada", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data informada: %1\$s", + Strings.DateInputNoInputDescription to "Nenhum", + Strings.DateInputInvalidNotAllowed to "Data não permitida: %1\$s", + Strings.DateInputInvalidForPattern to "A data não está no padrão esperado: %1\$s", + Strings.DateInputInvalidYearRange to "A data está fora do intervalo de anos esperado: %1\$s a %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Usar o modo de entrada na agenda", + Strings.DatePickerSwitchToInputMode to "Usar o modo de entrada de texto", + Strings.DatePickerScrollToShowLaterYears to "Role a tela para mostrar anos seguintes", + Strings.DatePickerScrollToShowEarlierYears to "Role a tela para mostrar anos anteriores", + Strings.DateRangePickerTitle to "Selecionar datas", + Strings.DateRangePickerStartHeadline to "Data de início", + Strings.DateRangePickerEndHeadline to "Data de término", + Strings.DateRangePickerScrollToShowNextMonth to "Role a tela para mostrar o mês seguinte", + Strings.DateRangePickerScrollToShowPreviousMonth to "Role a tela para mostrar o mês anterior", + Strings.DateRangePickerDayInRange to "Dentro do período", + Strings.DateRangeInputTitle to "Informar datas", + Strings.DateRangeInputInvalidRangeInput to "Período inválido", + Strings.BottomSheetPaneTitle to "Página inferior", + Strings.BottomSheetDragHandleDescription to "Alça de arrastar", + Strings.BottomSheetPartialExpandDescription to "Fechar página inferior", + Strings.BottomSheetDismissDescription to "Dispensar página inferior", + Strings.BottomSheetExpandDescription to "Abrir página inferior", + Strings.TooltipPaneDescription to "Dica", + Strings.TooltipLongPressLabel to "Mostrar dica", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Selecione AM ou PM", + Strings.TimePickerHourSelection to "Selecione a hora", + Strings.TimePickerMinuteSelection to "Selecione os minutos", + Strings.TimePickerHourSuffix to "%1\$dh", + Strings.TimePicker24HourSuffix to "%1\$d horas", + Strings.TimePickerMinuteSuffix to "%1\$d minutos", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "por minutos", + Strings.TimePickerHourTextField to "por hora", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ptPT() = mapOf( + Strings.NavigationMenu to "Menu de navegação", + Strings.ExposedDropdownMenu to "Menu pendente", + Strings.CloseDrawer to "Fechar menu de navegação", + Strings.CloseSheet to "Fechar folha", + Strings.DefaultErrorMessage to "Entrada inválida", + Strings.SliderRangeStart to "Início do intervalo", + Strings.SliderRangeEnd to "Fim do intervalo", + Strings.Dialog to "Caixa de diálogo", + Strings.MenuExpanded to "Expandido", + Strings.MenuCollapsed to "Reduzido", + Strings.SnackbarDismiss to "Ignorar", + Strings.SearchBarSearch to "Pesquisar", + Strings.SuggestionsAvailable to "Sugestões abaixo", + Strings.DatePickerTitle to "Selecione uma data", + Strings.DatePickerHeadline to "Data selecionada", + Strings.DatePickerSwitchToYearSelection to "Mudar para a seleção do ano", + Strings.DatePickerSwitchToDaySelection to "Deslize rapidamente para selecionar um ano ou toque para mudar novamente para a seleção do dia", + Strings.DatePickerSwitchToNextMonth to "Mudar para o mês seguinte", + Strings.DatePickerSwitchToPreviousMonth to "Mudar para o mês anterior", + Strings.DatePickerNavigateToYearDescription to "Navegar para o ano %1\$s", + Strings.DatePickerHeadlineDescription to "Seleção atual: %1\$s", + Strings.DatePickerNoSelectionDescription to "Nenhuma", + Strings.DatePickerTodayDescription to "Hoje", + Strings.DatePickerYearPickerPaneTitle to "Selecionador de ano visível", + Strings.DateInputTitle to "Selecione uma data", + Strings.DateInputHeadline to "Data introduzida", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data introduzida: %1\$s", + Strings.DateInputNoInputDescription to "Nenhuma", + Strings.DateInputInvalidNotAllowed to "Data não permitida: %1\$s", + Strings.DateInputInvalidForPattern to "A data não corresponde ao padrão esperado: %1\$s", + Strings.DateInputInvalidYearRange to "Data fora do intervalo de anos esperado: %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Mudar para o método de introdução de calendário", + Strings.DatePickerSwitchToInputMode to "Mudar para o método de introdução de texto", + Strings.DatePickerScrollToShowLaterYears to "Desloque a página para mostrar anos posteriores", + Strings.DatePickerScrollToShowEarlierYears to "Desloque a página para mostrar anos anteriores", + Strings.DateRangePickerTitle to "Selecione as datas", + Strings.DateRangePickerStartHeadline to "Data de início", + Strings.DateRangePickerEndHeadline to "Data de fim", + Strings.DateRangePickerScrollToShowNextMonth to "Desloque a página para mostrar o mês seguinte", + Strings.DateRangePickerScrollToShowPreviousMonth to "Desloque a página para mostrar o mês anterior", + Strings.DateRangePickerDayInRange to "Dentro do intervalo", + Strings.DateRangeInputTitle to "Introduza as datas", + Strings.DateRangeInputInvalidRangeInput to "Entrada do intervalo de datas inválida", + Strings.BottomSheetPaneTitle to "Secção inferior", + Strings.BottomSheetDragHandleDescription to "Indicador para arrastar", + Strings.BottomSheetPartialExpandDescription to "Reduza a secção inferior", + Strings.BottomSheetDismissDescription to "Ignore a secção inferior", + Strings.BottomSheetExpandDescription to "Expanda a secção inferior", + Strings.TooltipPaneDescription to "Sugestão", + Strings.TooltipLongPressLabel to "Mostrar sugestão", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Selecione AM ou PM", + Strings.TimePickerHourSelection to "Selecionar hora", + Strings.TimePickerMinuteSelection to "Selecionar minutos", + Strings.TimePickerHourSuffix to "%1\$d h", + Strings.TimePicker24HourSuffix to "%1\$d horas", + Strings.TimePickerMinuteSuffix to "%1\$d minutos", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Hora", + Strings.TimePickerMinuteTextField to "para minutos", + Strings.TimePickerHourTextField to "para hora", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ro.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ro.kt new file mode 100644 index 0000000000000..4c8e7b754d3c8 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ro.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ro() = mapOf( + Strings.NavigationMenu to "Meniu de navigare", + Strings.ExposedDropdownMenu to "Meniu drop-down", + Strings.CloseDrawer to "Închide meniul de navigare", + Strings.CloseSheet to "Închide foaia", + Strings.DefaultErrorMessage to "Intrare nevalidă", + Strings.SliderRangeStart to "Început de interval", + Strings.SliderRangeEnd to "Sfârșit de interval", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Extins", + Strings.MenuCollapsed to "Restrâns", + Strings.SnackbarDismiss to "Închide", + Strings.SearchBarSearch to "Caută", + Strings.SuggestionsAvailable to "Sugestii mai jos", + Strings.DatePickerTitle to "Selectează data", + Strings.DatePickerHeadline to "Data selectată", + Strings.DatePickerSwitchToYearSelection to "Comută la selectarea anului", + Strings.DatePickerSwitchToDaySelection to "Glisează pentru a selecta un an sau atinge pentru a reveni la selectarea zilei", + Strings.DatePickerSwitchToNextMonth to "Treci la luna următoare", + Strings.DatePickerSwitchToPreviousMonth to "Treci la luna anterioară", + Strings.DatePickerNavigateToYearDescription to "Navighează la anul %1\$s", + Strings.DatePickerHeadlineDescription to "Opțiunea selectată: %1\$s", + Strings.DatePickerNoSelectionDescription to "Niciuna", + Strings.DatePickerTodayDescription to "Azi", + Strings.DatePickerYearPickerPaneTitle to "Selectorul de an este vizibil", + Strings.DateInputTitle to "Selectează data", + Strings.DateInputHeadline to "Data introdusă", + Strings.DateInputLabel to "Dată", + Strings.DateInputHeadlineDescription to "Data introdusă: %1\$s", + Strings.DateInputNoInputDescription to "Niciuna", + Strings.DateInputInvalidNotAllowed to "Data nu este permisă: %1\$s", + Strings.DateInputInvalidForPattern to "Data nu corespunde modelului așteptat: %1\$s", + Strings.DateInputInvalidYearRange to "Data este în afara intervalului de ani %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Comută la modul de introducere în calendar", + Strings.DatePickerSwitchToInputMode to "Comută la modul de introducere a textului", + Strings.DatePickerScrollToShowLaterYears to "Derulează pentru a afișa anii ulteriori", + Strings.DatePickerScrollToShowEarlierYears to "Derulează pentru a afișa anii anteriori", + Strings.DateRangePickerTitle to "Selectează datele", + Strings.DateRangePickerStartHeadline to "Data de începere", + Strings.DateRangePickerEndHeadline to "Data de încheiere", + Strings.DateRangePickerScrollToShowNextMonth to "Derulează pentru a afișa luna următoare", + Strings.DateRangePickerScrollToShowPreviousMonth to "Derulează pentru a afișa luna anterioară", + Strings.DateRangePickerDayInRange to "În interval", + Strings.DateRangeInputTitle to "Introdu datele", + Strings.DateRangeInputInvalidRangeInput to "Intervalul de date introdus nu este valid", + Strings.BottomSheetPaneTitle to "Foaia din partea de jos", + Strings.BottomSheetDragHandleDescription to "Ghidaj de tragere", + Strings.BottomSheetPartialExpandDescription to "Restrânge foaia din partea de jos", + Strings.BottomSheetDismissDescription to "Închide foaia din partea de jos", + Strings.BottomSheetExpandDescription to "Extinde foaia din partea de jos", + Strings.TooltipPaneDescription to "Balon explicativ", + Strings.TooltipLongPressLabel to "Afișează balonul explicativ", + Strings.TimePickerPM to "p.m.", + Strings.TimePickerAM to "a.m.", + Strings.TimePickerPeriodToggle to "Selectează AM sau PM", + Strings.TimePickerHourSelection to "Selectează ora", + Strings.TimePickerMinuteSelection to "Selectează minutele", + Strings.TimePickerHourSuffix to "Ora %1\$d", + Strings.TimePicker24HourSuffix to "Ora %1\$d", + Strings.TimePickerMinuteSuffix to "%1\$d minute", + Strings.TimePickerMinute to "Minut", + Strings.TimePickerHour to "Oră", + Strings.TimePickerMinuteTextField to "pentru minute", + Strings.TimePickerHourTextField to "pentru oră", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ru.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ru.kt new file mode 100644 index 0000000000000..177149e017638 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ru.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ru() = mapOf( + Strings.NavigationMenu to "Меню навигации", + Strings.ExposedDropdownMenu to "Раскрывающееся меню", + Strings.CloseDrawer to "Закрыть меню навигации", + Strings.CloseSheet to "Закрыть лист", + Strings.DefaultErrorMessage to "Неправильный ввод", + Strings.SliderRangeStart to "Начало диапазона", + Strings.SliderRangeEnd to "Конец диапазона", + Strings.Dialog to "Диалоговое окно", + Strings.MenuExpanded to "Развернуто", + Strings.MenuCollapsed to "Свернуто", + Strings.SnackbarDismiss to "Закрыть", + Strings.SearchBarSearch to "Строка поиска", + Strings.SuggestionsAvailable to "Подсказки показаны ниже", + Strings.DatePickerTitle to "Выберите дату", + Strings.DatePickerHeadline to "Выбранная дата", + Strings.DatePickerSwitchToYearSelection to "Перейти к выбору года", + Strings.DatePickerSwitchToDaySelection to "Проведите по экрану, чтобы выбрать год, или нажмите, чтобы вернуться к выбору дня.", + Strings.DatePickerSwitchToNextMonth to "Перейти к следующему месяцу", + Strings.DatePickerSwitchToPreviousMonth to "Перейти к предыдущему месяцу", + Strings.DatePickerNavigateToYearDescription to "Переход к %1\$s году", + Strings.DatePickerHeadlineDescription to "Текущий выбор: %1\$s", + Strings.DatePickerNoSelectionDescription to "Нет", + Strings.DatePickerTodayDescription to "Сегодня", + Strings.DatePickerYearPickerPaneTitle to "Отображаемый выбор года", + Strings.DateInputTitle to "Выберите дату", + Strings.DateInputHeadline to "Введенная дата", + Strings.DateInputLabel to "Дата", + Strings.DateInputHeadlineDescription to "Введенная дата: %1\$s", + Strings.DateInputNoInputDescription to "Нет", + Strings.DateInputInvalidNotAllowed to "Недопустимая дата: %1\$s", + Strings.DateInputInvalidForPattern to "Дата не соответствует допустимому шаблону: %1\$s", + Strings.DateInputInvalidYearRange to "Дата не входит в допустимый диапазон: %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Перейти в режим выбора даты", + Strings.DatePickerSwitchToInputMode to "Перейти в режим ввода текста", + Strings.DatePickerScrollToShowLaterYears to "Прокрутите до более поздних лет", + Strings.DatePickerScrollToShowEarlierYears to "Прокрутите до более ранних лет", + Strings.DateRangePickerTitle to "Выберите даты", + Strings.DateRangePickerStartHeadline to "Начальная дата", + Strings.DateRangePickerEndHeadline to "Конечная дата", + Strings.DateRangePickerScrollToShowNextMonth to "Прокрутите до следующего месяца", + Strings.DateRangePickerScrollToShowPreviousMonth to "Прокрутите до предыдущего месяца", + Strings.DateRangePickerDayInRange to "День в диапазоне дат", + Strings.DateRangeInputTitle to "Введите даты", + Strings.DateRangeInputInvalidRangeInput to "Указан недопустимый диапазон дат.", + Strings.BottomSheetPaneTitle to "Нижний экран", + Strings.BottomSheetDragHandleDescription to "Маркер перемещения", + Strings.BottomSheetPartialExpandDescription to "Свернуть нижний экран", + Strings.BottomSheetDismissDescription to "Закрыть нижний экран", + Strings.BottomSheetExpandDescription to "Развернуть нижний экран", + Strings.TooltipPaneDescription to "Подсказка", + Strings.TooltipLongPressLabel to "Показать подсказку", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Выбрать AM (до полудня) или PM (после полудня)", + Strings.TimePickerHourSelection to "Выбрать час", + Strings.TimePickerMinuteSelection to "Выберите минуты", + Strings.TimePickerHourSuffix to "%1\$d ч.", + Strings.TimePicker24HourSuffix to "%1\$d ч.", + Strings.TimePickerMinuteSuffix to "%1\$d мин.", + Strings.TimePickerMinute to "Минуты", + Strings.TimePickerHour to "Часы", + Strings.TimePickerMinuteTextField to "минуты", + Strings.TimePickerHourTextField to "часы", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Si.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Si.kt new file mode 100644 index 0000000000000..02fc7e1c45700 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Si.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.si() = mapOf( + Strings.NavigationMenu to "සංචාලන මෙනුව", + Strings.ExposedDropdownMenu to "පතන මෙනුව", + Strings.CloseDrawer to "සංචාලන මෙනුව වසන්න", + Strings.CloseSheet to "පත්‍රය වසන්න", + Strings.DefaultErrorMessage to "වලංගු නොවන ආදානයකි", + Strings.SliderRangeStart to "පරාස ආරම්භය", + Strings.SliderRangeEnd to "පරාස අන්තය", + Strings.Dialog to "සංවාදය", + Strings.MenuExpanded to "දිග හරින ලදි", + Strings.MenuCollapsed to "හකුළන ලදි", + Strings.SnackbarDismiss to "අස් කරන්න", + Strings.SearchBarSearch to "සෙවීම", + Strings.SuggestionsAvailable to "පහත යෝජනා", + Strings.DatePickerTitle to "දිනය තෝරන්න", + Strings.DatePickerHeadline to "තෝරා ගත් දිනය", + Strings.DatePickerSwitchToYearSelection to "වසරක් තේරීමට මාරු වන්න", + Strings.DatePickerSwitchToDaySelection to "වසරක් තේරීමට ස්වයිප් කරන්න, නැතහොත් දිනක් තේරීමට ආපසු මාරු වීමට තට්ටු කරන්න", + Strings.DatePickerSwitchToNextMonth to "ඊළඟ මාසයට වෙනස් කරන්න", + Strings.DatePickerSwitchToPreviousMonth to "පෙර මාසයට වෙනස් කරන්න", + Strings.DatePickerNavigateToYearDescription to "%1\$s වසර වෙත සංචලන කරන්න", + Strings.DatePickerHeadlineDescription to "වත්මන් තේරීම: %1\$s", + Strings.DatePickerNoSelectionDescription to "කිසිවක් නැත", + Strings.DatePickerTodayDescription to "අද", + Strings.DatePickerYearPickerPaneTitle to "වසර තෝරකය දෘශ්‍යමානයි", + Strings.DateInputTitle to "දිනය තෝරන්න", + Strings.DateInputHeadline to "ඇතුළත් කළ දිනය", + Strings.DateInputLabel to "දිනය", + Strings.DateInputHeadlineDescription to "ඇතුළත් කළ දිනය: %1\$s", + Strings.DateInputNoInputDescription to "කිසිවක් නැත", + Strings.DateInputInvalidNotAllowed to "දිනයට ඉඩ දෙනු නොලැබේ: %1\$s", + Strings.DateInputInvalidForPattern to "දිනය අපේක්ෂිත රටාවට නොගැළපෙයි: %1\$s", + Strings.DateInputInvalidYearRange to "දිනය %1\$s - %2\$s අපේක්ෂිත වසර පරාසයෙන් පිටත වේ", + Strings.DatePickerSwitchToCalendarMode to "දිනදර්ශන ආදාන ප්‍රකාරයට මාරු වන්න", + Strings.DatePickerSwitchToInputMode to "පාඨ ආදාන ප්‍රකාරයට මාරු වන්න", + Strings.DatePickerScrollToShowLaterYears to "පසු වසර පෙන්වීමට අනුචලන කරන්න", + Strings.DatePickerScrollToShowEarlierYears to "පෙර වසර පෙන්වීමට අනුචලන කරන්න", + Strings.DateRangePickerTitle to "දින තෝරන්න", + Strings.DateRangePickerStartHeadline to "ආරම්භක දිනය", + Strings.DateRangePickerEndHeadline to "අවසාන දිනය", + Strings.DateRangePickerScrollToShowNextMonth to "ඊළඟ මාසය පෙන්වීමට අනුචලන කරන්න", + Strings.DateRangePickerScrollToShowPreviousMonth to "පෙර මාසය පෙන්වීමට අනුචලන කරන්න", + Strings.DateRangePickerDayInRange to "පරාසය තුළ", + Strings.DateRangeInputTitle to "දින ඇතුළු කරන්න", + Strings.DateRangeInputInvalidRangeInput to "අවලංගු දින පරාස ආදානය", + Strings.BottomSheetPaneTitle to "පහළම පත්‍රය", + Strings.BottomSheetDragHandleDescription to "ඇදීම් හැඬලය", + Strings.BottomSheetPartialExpandDescription to "පහළම පත්‍රය හකුළන්න", + Strings.BottomSheetDismissDescription to "පහළම පත්‍රය අස් කරන්න", + Strings.BottomSheetExpandDescription to "පහළම පත්‍රය දිග හරින්න", + Strings.TooltipPaneDescription to "මෙවලම් ඉඟිය", + Strings.TooltipLongPressLabel to "මෙවලම් ඉඟිය පෙන්වන්න", + Strings.TimePickerPM to "ප.ව.", + Strings.TimePickerAM to "පෙ.ව.", + Strings.TimePickerPeriodToggle to "පෙ.ව. හෝ ප.ව. තෝරන්න", + Strings.TimePickerHourSelection to "පැය තෝරන්න", + Strings.TimePickerMinuteSelection to "මිනිත්තු ගණන තෝරන්න", + Strings.TimePickerHourSuffix to "%1\$dට", + Strings.TimePicker24HourSuffix to "පැය %1\$d", + Strings.TimePickerMinuteSuffix to "මිනිත්තු %1\$d", + Strings.TimePickerMinute to "විනාඩි", + Strings.TimePickerHour to "පැය", + Strings.TimePickerMinuteTextField to "මිනිත්තු ගණනක් සඳහා", + Strings.TimePickerHourTextField to "පැයක් සඳහා", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sk.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sk.kt new file mode 100644 index 0000000000000..db3ef0f64ec0f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sk.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sk() = mapOf( + Strings.NavigationMenu to "Navigačná ponuka", + Strings.ExposedDropdownMenu to "Rozbaľovacia ponuka", + Strings.CloseDrawer to "Zavrieť navigačnú ponuku", + Strings.CloseSheet to "Zavrieť hárok", + Strings.DefaultErrorMessage to "Neplatný vstup", + Strings.SliderRangeStart to "Začiatok rozsahu", + Strings.SliderRangeEnd to "Koniec rozsahu", + Strings.Dialog to "Dialógové okno", + Strings.MenuExpanded to "Rozbalené", + Strings.MenuCollapsed to "Zbalené", + Strings.SnackbarDismiss to "Zavrieť", + Strings.SearchBarSearch to "Hľadať", + Strings.SuggestionsAvailable to "Návrhy sú nižšie", + Strings.DatePickerTitle to "Vybrať dátum", + Strings.DatePickerHeadline to "Vybraný dátum", + Strings.DatePickerSwitchToYearSelection to "Prepnúť na výber roka", + Strings.DatePickerSwitchToDaySelection to "Potiahnutím vyberte rok alebo klepnutím prepnite späť na výber dňa", + Strings.DatePickerSwitchToNextMonth to "Zmeniť na nasledujúci mesiac", + Strings.DatePickerSwitchToPreviousMonth to "Zmeniť na predchádzajúci mesiac", + Strings.DatePickerNavigateToYearDescription to "Prejsť na rok %1\$s", + Strings.DatePickerHeadlineDescription to "Aktuálny výber: %1\$s", + Strings.DatePickerNoSelectionDescription to "Žiadne", + Strings.DatePickerTodayDescription to "Dnes", + Strings.DatePickerYearPickerPaneTitle to "Výber roka je viditeľný", + Strings.DateInputTitle to "Vybrať dátum", + Strings.DateInputHeadline to "Zadaný dátum", + Strings.DateInputLabel to "Dátum", + Strings.DateInputHeadlineDescription to "Zadaný dátum: %1\$s", + Strings.DateInputNoInputDescription to "Žiadne", + Strings.DateInputInvalidNotAllowed to "Nepovolený dátum: %1\$s", + Strings.DateInputInvalidForPattern to "Dátum nezodpovedá očakávanému vzoru: %1\$s", + Strings.DateInputInvalidYearRange to "Dátum sa nenachádza v očakávanom rozsahu rokov: %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Prepnúť na kalendárový režim vstupu", + Strings.DatePickerSwitchToInputMode to "Prepnúť na režim zadávania textu", + Strings.DatePickerScrollToShowLaterYears to "Posunutím si zobrazte neskoršie roky", + Strings.DatePickerScrollToShowEarlierYears to "Posunutím si zobrazte skoršie roky", + Strings.DateRangePickerTitle to "Vybrať dátumy", + Strings.DateRangePickerStartHeadline to "Dátum začatia", + Strings.DateRangePickerEndHeadline to "Dátum ukončenia", + Strings.DateRangePickerScrollToShowNextMonth to "Posunutím si zobrazte nasledujúci mesiac", + Strings.DateRangePickerScrollToShowPreviousMonth to "Posunutím si zobrazte predchádzajúci mesiac", + Strings.DateRangePickerDayInRange to "V rozsahu", + Strings.DateRangeInputTitle to "Zadať dátumy", + Strings.DateRangeInputInvalidRangeInput to "Neplatné zadané obdobie", + Strings.BottomSheetPaneTitle to "Dolný hárok", + Strings.BottomSheetDragHandleDescription to "Presúvadlo", + Strings.BottomSheetPartialExpandDescription to "Zbaliť dolný hárok", + Strings.BottomSheetDismissDescription to "Zavrieť dolný hárok", + Strings.BottomSheetExpandDescription to "Rozbaliť dolný hárok", + Strings.TooltipPaneDescription to "Popis", + Strings.TooltipLongPressLabel to "Zobraziť popis", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Vyberte AM alebo PM", + Strings.TimePickerHourSelection to "Vybrať hodinu", + Strings.TimePickerMinuteSelection to "Vybrať minúty", + Strings.TimePickerHourSuffix to "%1\$d h", + Strings.TimePicker24HourSuffix to "%1\$d h", + Strings.TimePickerMinuteSuffix to "%1\$d min", + Strings.TimePickerMinute to "Minúty", + Strings.TimePickerHour to "Hodina", + Strings.TimePickerMinuteTextField to "minúty", + Strings.TimePickerHourTextField to "hodiny", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sl.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sl.kt new file mode 100644 index 0000000000000..a30019438d115 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sl.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sl() = mapOf( + Strings.NavigationMenu to "Meni za krmarjenje", + Strings.ExposedDropdownMenu to "Spustni meni", + Strings.CloseDrawer to "Zapri meni za krmarjenje", + Strings.CloseSheet to "Zapri list", + Strings.DefaultErrorMessage to "Neveljaven vnos", + Strings.SliderRangeStart to "Začetek razpona", + Strings.SliderRangeEnd to "Konec razpona", + Strings.Dialog to "Pogovorno okno", + Strings.MenuExpanded to "Razširjeno", + Strings.MenuCollapsed to "Strnjeno", + Strings.SnackbarDismiss to "Opusti", + Strings.SearchBarSearch to "Iskanje", + Strings.SuggestionsAvailable to "Predlogi so spodaj", + Strings.DatePickerTitle to "Izbira datuma", + Strings.DatePickerHeadline to "Izbrani datum", + Strings.DatePickerSwitchToYearSelection to "Preklopi na izbiro leta", + Strings.DatePickerSwitchToDaySelection to "Povlecite, da izberete leto, ali se dotaknite, da preklopite nazaj na izbiranje dneva.", + Strings.DatePickerSwitchToNextMonth to "Spremeni na naslednji mesec", + Strings.DatePickerSwitchToPreviousMonth to "Spremeni na prejšnji mesec", + Strings.DatePickerNavigateToYearDescription to "Pomik na leto %1\$s", + Strings.DatePickerHeadlineDescription to "Trenutna izbira: %1\$s", + Strings.DatePickerNoSelectionDescription to "Brez", + Strings.DatePickerTodayDescription to "Danes", + Strings.DatePickerYearPickerPaneTitle to "Izbirnik leta je viden", + Strings.DateInputTitle to "Izbira datuma", + Strings.DateInputHeadline to "Vneseni datum", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Vneseni datum: %1\$s", + Strings.DateInputNoInputDescription to "Brez", + Strings.DateInputInvalidNotAllowed to "Oblika datuma ni dovoljena: %1\$s", + Strings.DateInputInvalidForPattern to "Datum se ne ujema s pričakovanim vzorcem: %1\$s", + Strings.DateInputInvalidYearRange to "Datum je zunaj pričakovanega razpona let %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Preklop na način vnosa v koledar", + Strings.DatePickerSwitchToInputMode to "Preklop na način vnosa besedila", + Strings.DatePickerScrollToShowLaterYears to "Pomaknite se za prikaz poznejših let.", + Strings.DatePickerScrollToShowEarlierYears to "Pomaknite se za prikaz zgodnejših let.", + Strings.DateRangePickerTitle to "Izberite datume", + Strings.DateRangePickerStartHeadline to "Začetni datum", + Strings.DateRangePickerEndHeadline to "Končni datum", + Strings.DateRangePickerScrollToShowNextMonth to "Pomaknite se za prikaz naslednjega meseca.", + Strings.DateRangePickerScrollToShowPreviousMonth to "Pomaknite se za prikaz prejšnjega meseca.", + Strings.DateRangePickerDayInRange to "Znotraj obdobja", + Strings.DateRangeInputTitle to "Vnesite datume", + Strings.DateRangeInputInvalidRangeInput to "Neveljaven vnos obdobja.", + Strings.BottomSheetPaneTitle to "Razdelek na dnu zaslona", + Strings.BottomSheetDragHandleDescription to "Ročica za vlečenje", + Strings.BottomSheetPartialExpandDescription to "Strnitev razdelka na dnu zaslona", + Strings.BottomSheetDismissDescription to "Opustitev razdelka na dnu zaslona", + Strings.BottomSheetExpandDescription to "Razširitev razdelka na dnu zaslona", + Strings.TooltipPaneDescription to "Opis orodja", + Strings.TooltipLongPressLabel to "Pokaži opis orodja", + Strings.TimePickerPM to "pop.", + Strings.TimePickerAM to "dop.", + Strings.TimePickerPeriodToggle to "Izberite dopoldanski ali popoldanski čas.", + Strings.TimePickerHourSelection to "Izbira ure", + Strings.TimePickerMinuteSelection to "Izbira minut", + Strings.TimePickerHourSuffix to "%1\$d", + Strings.TimePicker24HourSuffix to "%1\$d", + Strings.TimePickerMinuteSuffix to "%1\$d min", + Strings.TimePickerMinute to "Minuta", + Strings.TimePickerHour to "Ura", + Strings.TimePickerMinuteTextField to "za minute", + Strings.TimePickerHourTextField to "za uro", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sq.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sq.kt new file mode 100644 index 0000000000000..a72e3699534eb --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sq.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sq() = mapOf( + Strings.NavigationMenu to "Menyja e navigimit", + Strings.ExposedDropdownMenu to "Menyja me lëshim poshtë", + Strings.CloseDrawer to "Mbyll menynë e navigimit", + Strings.CloseSheet to "Mbyll fletën", + Strings.DefaultErrorMessage to "Hyrje e pavlefshme", + Strings.SliderRangeStart to "Fillimi i diapazonit", + Strings.SliderRangeEnd to "Fundi i diapazonit", + Strings.Dialog to "Dialogu", + Strings.MenuExpanded to "Zgjeruar", + Strings.MenuCollapsed to "Palosur", + Strings.SnackbarDismiss to "Hiq", + Strings.SearchBarSearch to "Kërkimi", + Strings.SuggestionsAvailable to "Sugjerimet më poshtë", + Strings.DatePickerTitle to "Zgjidh datën", + Strings.DatePickerHeadline to "Data e zgjedhur", + Strings.DatePickerSwitchToYearSelection to "Kalo te zgjedhja e një viti", + Strings.DatePickerSwitchToDaySelection to "Rrëshqit shpejt për të zgjedhur një vit ose trokit për të kaluar sërish te zgjedhja e ditës", + Strings.DatePickerSwitchToNextMonth to "Ndrysho te muaji i ardhshëm", + Strings.DatePickerSwitchToPreviousMonth to "Ndrysho te muaji i kaluar", + Strings.DatePickerNavigateToYearDescription to "Navigo në vitin %1\$s", + Strings.DatePickerHeadlineDescription to "Zgjedhja aktuale: %1\$s", + Strings.DatePickerNoSelectionDescription to "Asnjë", + Strings.DatePickerTodayDescription to "Sot", + Strings.DatePickerYearPickerPaneTitle to "Zgjedhësi i vitit i dukshëm", + Strings.DateInputTitle to "Zgjidh datën", + Strings.DateInputHeadline to "Data e futur", + Strings.DateInputLabel to "Data", + Strings.DateInputHeadlineDescription to "Data e futur: %1\$s", + Strings.DateInputNoInputDescription to "Asnjë", + Strings.DateInputInvalidNotAllowed to "Data nuk lejohet: %1\$s", + Strings.DateInputInvalidForPattern to "Data nuk përputhet me motivin e pritur: %1\$s", + Strings.DateInputInvalidYearRange to "Data jashtë diapazonit të pritur të vitit %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Kalo te modaliteti i \"Hyrjes së kalendarit\"", + Strings.DatePickerSwitchToInputMode to "Kalo te modaliteti i \"Hyrjes së tekstit\"", + Strings.DatePickerScrollToShowLaterYears to "Lëviz për të shfaqur vitet e ardhshme", + Strings.DatePickerScrollToShowEarlierYears to "Lëviz për të shfaqur vitet e mëparshme", + Strings.DateRangePickerTitle to "Zgjidh datat", + Strings.DateRangePickerStartHeadline to "Data e fillimit", + Strings.DateRangePickerEndHeadline to "Data e mbarimit", + Strings.DateRangePickerScrollToShowNextMonth to "Lëviz për të shfaqur muajin e ardhshëm", + Strings.DateRangePickerScrollToShowPreviousMonth to "Lëviz për të shfaqur muajin e mëparshëm", + Strings.DateRangePickerDayInRange to "Brenda intervalit", + Strings.DateRangeInputTitle to "Fut datat", + Strings.DateRangeInputInvalidRangeInput to "Hyrje e pavlefshme e diapazonit të datave", + Strings.BottomSheetPaneTitle to "Fleta e poshtme", + Strings.BottomSheetDragHandleDescription to "Doreza e zvarritjes", + Strings.BottomSheetPartialExpandDescription to "Palos fletën e poshtme", + Strings.BottomSheetDismissDescription to "Hiq fletën e poshtme", + Strings.BottomSheetExpandDescription to "Zgjero fletën e poshtme", + Strings.TooltipPaneDescription to "Këshilla për veglën", + Strings.TooltipLongPressLabel to "Shfaq këshillat për veglën", + Strings.TimePickerPM to "pasdite", + Strings.TimePickerAM to "paradite", + Strings.TimePickerPeriodToggle to "Zgjidh paradite ose pasdite", + Strings.TimePickerHourSelection to "Zgjidh orën", + Strings.TimePickerMinuteSelection to "Zgjidh minutat", + Strings.TimePickerHourSuffix to "ora %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d orë", + Strings.TimePickerMinuteSuffix to "%1\$d minuta", + Strings.TimePickerMinute to "Minuta", + Strings.TimePickerHour to "Ora", + Strings.TimePickerMinuteTextField to "për minuta", + Strings.TimePickerHourTextField to "për orë", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sr.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sr.kt new file mode 100644 index 0000000000000..46cef826039fd --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sr.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sr() = mapOf( + Strings.NavigationMenu to "Мени за навигацију", + Strings.ExposedDropdownMenu to "Падајући мени", + Strings.CloseDrawer to "Затвори мени за навигацију", + Strings.CloseSheet to "Затворите табелу", + Strings.DefaultErrorMessage to "Унос је неважећи", + Strings.SliderRangeStart to "Почетак опсега", + Strings.SliderRangeEnd to "Крај опсега", + Strings.Dialog to "Дијалог", + Strings.MenuExpanded to "Проширено је", + Strings.MenuCollapsed to "Скупљено је", + Strings.SnackbarDismiss to "Одбаци", + Strings.SearchBarSearch to "Претрага", + Strings.SuggestionsAvailable to "Предлози су у наставку", + Strings.DatePickerTitle to "Изаберите датум", + Strings.DatePickerHeadline to "Изабрани датум", + Strings.DatePickerSwitchToYearSelection to "Пређите на избор године", + Strings.DatePickerSwitchToDaySelection to "Превуците да бисте изабрали годину или додирните да бисте се вратили на избор дана", + Strings.DatePickerSwitchToNextMonth to "Пређите на следећи месец", + Strings.DatePickerSwitchToPreviousMonth to "Пређите на претходни месец", + Strings.DatePickerNavigateToYearDescription to "Идите на годину: %1\$s", + Strings.DatePickerHeadlineDescription to "Актуелни избор: %1\$s", + Strings.DatePickerNoSelectionDescription to "Ништа", + Strings.DatePickerTodayDescription to "Данас", + Strings.DatePickerYearPickerPaneTitle to "Видљив бирач година", + Strings.DateInputTitle to "Изаберите датум", + Strings.DateInputHeadline to "Унети датум", + Strings.DateInputLabel to "Датум", + Strings.DateInputHeadlineDescription to "Унети датум: %1\$s", + Strings.DateInputNoInputDescription to "Ништа", + Strings.DateInputInvalidNotAllowed to "Датум није дозвољен: %1\$s", + Strings.DateInputInvalidForPattern to "Датум не одговара очекиваном шаблону: %1\$s", + Strings.DateInputInvalidYearRange to "Датум је изван очекиваног опсега година %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Пређите на режим уноса у Календару", + Strings.DatePickerSwitchToInputMode to "Пређите на режим уноса текста", + Strings.DatePickerScrollToShowLaterYears to "Скролујте да би се приказале касније године", + Strings.DatePickerScrollToShowEarlierYears to "Скролујте да би се приказале раније године", + Strings.DateRangePickerTitle to "Изаберите датуме", + Strings.DateRangePickerStartHeadline to "Датум почетка", + Strings.DateRangePickerEndHeadline to "Датум завршетка", + Strings.DateRangePickerScrollToShowNextMonth to "Померајте да би се приказао следећи месец", + Strings.DateRangePickerScrollToShowPreviousMonth to "Померајте да би се приказао претходни месец", + Strings.DateRangePickerDayInRange to "У опсегу", + Strings.DateRangeInputTitle to "Унесите датуме", + Strings.DateRangeInputInvalidRangeInput to "Унос опсега датума је неважећи", + Strings.BottomSheetPaneTitle to "Доња табела", + Strings.BottomSheetDragHandleDescription to "Идентификатор за превлачење", + Strings.BottomSheetPartialExpandDescription to "Скупите доњу табелу", + Strings.BottomSheetDismissDescription to "Одбаците доњу табелу", + Strings.BottomSheetExpandDescription to "Проширите доњу табелу", + Strings.TooltipPaneDescription to "Објашњење", + Strings.TooltipLongPressLabel to "Прикажите објашњење", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Изаберите пре подне или по подне", + Strings.TimePickerHourSelection to "Изаберите сат", + Strings.TimePickerMinuteSelection to "Изаберите минуте", + Strings.TimePickerHourSuffix to "%1\$d с", + Strings.TimePicker24HourSuffix to "%1\$d с", + Strings.TimePickerMinuteSuffix to "%1\$d мин", + Strings.TimePickerMinute to "Минут", + Strings.TimePickerHour to "Сат", + Strings.TimePickerMinuteTextField to "за минуте", + Strings.TimePickerHourTextField to "за сате", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sv.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sv.kt new file mode 100644 index 0000000000000..8e7bc183cbfcb --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sv.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sv() = mapOf( + Strings.NavigationMenu to "Navigeringsmeny", + Strings.ExposedDropdownMenu to "Rullgardinsmeny", + Strings.CloseDrawer to "Stäng navigeringsmenyn", + Strings.CloseSheet to "Stäng kalkylarket", + Strings.DefaultErrorMessage to "Ogiltiga indata", + Strings.SliderRangeStart to "Intervallets början", + Strings.SliderRangeEnd to "Intervallets slut", + Strings.Dialog to "Dialogruta", + Strings.MenuExpanded to "Utökad", + Strings.MenuCollapsed to "Komprimerad", + Strings.SnackbarDismiss to "Stäng", + Strings.SearchBarSearch to "Sök", + Strings.SuggestionsAvailable to "Se förslag nedan", + Strings.DatePickerTitle to "Välj datum", + Strings.DatePickerHeadline to "Valt datum", + Strings.DatePickerSwitchToYearSelection to "Byt till att välja år", + Strings.DatePickerSwitchToDaySelection to "Svep för att välja ett år eller tryck för att återgå till att välja en dag", + Strings.DatePickerSwitchToNextMonth to "Ändra till nästa månad", + Strings.DatePickerSwitchToPreviousMonth to "Ändra till föregående månad", + Strings.DatePickerNavigateToYearDescription to "Navigera till %1\$s", + Strings.DatePickerHeadlineDescription to "Aktuellt val: %1\$s", + Strings.DatePickerNoSelectionDescription to "Inga", + Strings.DatePickerTodayDescription to "I dag", + Strings.DatePickerYearPickerPaneTitle to "Årväljaren är synlig", + Strings.DateInputTitle to "Välj datum", + Strings.DateInputHeadline to "Angivet datum", + Strings.DateInputLabel to "Datum", + Strings.DateInputHeadlineDescription to "Angivet datum: %1\$s", + Strings.DateInputNoInputDescription to "Inga", + Strings.DateInputInvalidNotAllowed to "Datumet är inte tillåtet: %1\$s", + Strings.DateInputInvalidForPattern to "Datumet matchar inte det förväntade formatet: %1\$s", + Strings.DateInputInvalidYearRange to "Datumet faller utanför det förväntade årsintervallet %1\$s–%2\$s", + Strings.DatePickerSwitchToCalendarMode to "Byt till kalender som inmatningsläge", + Strings.DatePickerSwitchToInputMode to "Byt till text som inmatningsläge", + Strings.DatePickerScrollToShowLaterYears to "Scrolla för att visa senare år", + Strings.DatePickerScrollToShowEarlierYears to "Scrolla för att visa föregående år", + Strings.DateRangePickerTitle to "Välj datum", + Strings.DateRangePickerStartHeadline to "Startdatum", + Strings.DateRangePickerEndHeadline to "Slutdatum", + Strings.DateRangePickerScrollToShowNextMonth to "Scrolla för att visa nästa månad", + Strings.DateRangePickerScrollToShowPreviousMonth to "Scrolla för att visa föregående månad", + Strings.DateRangePickerDayInRange to "Inom intervall", + Strings.DateRangeInputTitle to "Ange datum", + Strings.DateRangeInputInvalidRangeInput to "Ett ogiltigt datumintervall har angetts", + Strings.BottomSheetPaneTitle to "Ark på nedre delen av skärmen", + Strings.BottomSheetDragHandleDescription to "Handtag", + Strings.BottomSheetPartialExpandDescription to "Komprimera arket på nedre delen av skärmen", + Strings.BottomSheetDismissDescription to "Stäng arket på nedre delen av skärmen", + Strings.BottomSheetExpandDescription to "Utöka arket på nedre delen av skärmen", + Strings.TooltipPaneDescription to "Beskrivning", + Strings.TooltipLongPressLabel to "Visa beskrivning", + Strings.TimePickerPM to "EM", + Strings.TimePickerAM to "FM", + Strings.TimePickerPeriodToggle to "Välj mellan FM och EM", + Strings.TimePickerHourSelection to "Ange timme", + Strings.TimePickerMinuteSelection to "Välj minuter", + Strings.TimePickerHourSuffix to "Kl. %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d tim", + Strings.TimePickerMinuteSuffix to "%1\$d minuter", + Strings.TimePickerMinute to "Minut", + Strings.TimePickerHour to "Timme", + Strings.TimePickerMinuteTextField to "för minuter", + Strings.TimePickerHourTextField to "för timme", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sw.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sw.kt new file mode 100644 index 0000000000000..f52c4dbf8ad8a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Sw.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sw() = mapOf( + Strings.NavigationMenu to "Menyu ya kusogeza", + Strings.ExposedDropdownMenu to "Menyu kunjuzi", + Strings.CloseDrawer to "Funga menyu ya kusogeza", + Strings.CloseSheet to "Funga laha", + Strings.DefaultErrorMessage to "Ulichoweka si sahihi", + Strings.SliderRangeStart to "Mwanzo wa masafa", + Strings.SliderRangeEnd to "Mwisho wa masafa", + Strings.Dialog to "Kidirisha", + Strings.MenuExpanded to "Imepanuliwa", + Strings.MenuCollapsed to "Imekunjwa", + Strings.SnackbarDismiss to "Ondoa", + Strings.SearchBarSearch to "Tafuta", + Strings.SuggestionsAvailable to "Mapendekezo yaliyo hapa chini", + Strings.DatePickerTitle to "Chagua tarehe", + Strings.DatePickerHeadline to "Tarehe uliyochagua", + Strings.DatePickerSwitchToYearSelection to "Teua mwaka", + Strings.DatePickerSwitchToDaySelection to "Telezesha kidole ili uchague mwaka au gusa ili urejee kuchagua siku", + Strings.DatePickerSwitchToNextMonth to "Nenda kwenye mwezi unaofuata", + Strings.DatePickerSwitchToPreviousMonth to "Rudi kwenye mwezi uliotangulia", + Strings.DatePickerNavigateToYearDescription to "Nenda kwenye mwaka %1\$s", + Strings.DatePickerHeadlineDescription to "Ambayo umechagua: %1\$s", + Strings.DatePickerNoSelectionDescription to "Hamna", + Strings.DatePickerTodayDescription to "Leo", + Strings.DatePickerYearPickerPaneTitle to "Kiteua mwaka kimeonyeshwa", + Strings.DateInputTitle to "Chagua tarehe", + Strings.DateInputHeadline to "Tarehe uliyoweka", + Strings.DateInputLabel to "Tarehe", + Strings.DateInputHeadlineDescription to "Tarehe uliyoweka: %1\$s", + Strings.DateInputNoInputDescription to "Hamna", + Strings.DateInputInvalidNotAllowed to "Tarehe si sahihi: %1\$s", + Strings.DateInputInvalidForPattern to "Tarehe hailingani na mpangilio unaotumika: %1\$s", + Strings.DateInputInvalidYearRange to "Tarehe uliyoweka haiambatani na kipindi husika %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Badilisha uteue tarehe kwenye kalenda", + Strings.DatePickerSwitchToInputMode to "Badilisha uandike tarehe mwenyewe", + Strings.DatePickerScrollToShowLaterYears to "Sogeza ili uone miaka ya baadaye", + Strings.DatePickerScrollToShowEarlierYears to "Sogeza ili uone miaka iliyopita", + Strings.DateRangePickerTitle to "Chagua tarehe", + Strings.DateRangePickerStartHeadline to "Tarehe ya kuanza", + Strings.DateRangePickerEndHeadline to "Tarehe ya mwisho", + Strings.DateRangePickerScrollToShowNextMonth to "Sogeza ili kuonyesha mwezi ujao", + Strings.DateRangePickerScrollToShowPreviousMonth to "Sogeza ili kuonyesha mwezi uliopita", + Strings.DateRangePickerDayInRange to "Ipo katika kipindi", + Strings.DateRangeInputTitle to "Weka tarehe", + Strings.DateRangeInputInvalidRangeInput to "Kipindi ulichoweka si sahihi", + Strings.BottomSheetPaneTitle to "Safu ya Chini", + Strings.BottomSheetDragHandleDescription to "Aikoni ya buruta", + Strings.BottomSheetPartialExpandDescription to "Kunja safu ya chini", + Strings.BottomSheetDismissDescription to "Ondoa safu ya chini", + Strings.BottomSheetExpandDescription to "Panua safu ya chini", + Strings.TooltipPaneDescription to "Kidirisha cha vidokezo", + Strings.TooltipLongPressLabel to "Onyesha kidirisha cha vidokezo", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Chagua AM au PM", + Strings.TimePickerHourSelection to "Chagua saa", + Strings.TimePickerMinuteSelection to "Chagua dakika", + Strings.TimePickerHourSuffix to "Saa %1\$d", + Strings.TimePicker24HourSuffix to "Saa %1\$d", + Strings.TimePickerMinuteSuffix to "Dakika %1\$d", + Strings.TimePickerMinute to "Dakika", + Strings.TimePickerHour to "Saa", + Strings.TimePickerMinuteTextField to "cha dakika", + Strings.TimePickerHourTextField to "cha moja", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ta.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ta.kt new file mode 100644 index 0000000000000..1ff326359e871 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ta.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ta() = mapOf( + Strings.NavigationMenu to "வழிசெலுத்தல் மெனு", + Strings.ExposedDropdownMenu to "கீழ்த்தோன்றல் மெனு", + Strings.CloseDrawer to "வழிசெலுத்தல் மெனுவை மூடும்", + Strings.CloseSheet to "ஷீட்டை மூடும்", + Strings.DefaultErrorMessage to "தவறான உள்ளீடு", + Strings.SliderRangeStart to "வரம்பு தொடக்கம்", + Strings.SliderRangeEnd to "வரம்பு முடிவு", + Strings.Dialog to "உரையாடல்", + Strings.MenuExpanded to "விரிவாக்கப்பட்டது", + Strings.MenuCollapsed to "சுருக்கப்பட்டது", + Strings.SnackbarDismiss to "நிராகரிக்கும்", + Strings.SearchBarSearch to "தேடல்", + Strings.SuggestionsAvailable to "பரிந்துரைகள் கீழே கிடைக்கும்", + Strings.DatePickerTitle to "தேதியைத் தேர்வுசெய்க", + Strings.DatePickerHeadline to "தேர்ந்தெடுக்கப்பட்ட தேதி", + Strings.DatePickerSwitchToYearSelection to "ஆண்டைத் தேர்ந்தெடுக்கும் விருப்பத்திற்கு மாற்று", + Strings.DatePickerSwitchToDaySelection to "ஆண்டைத் தேர்வுசெய்ய ஸ்வைப் செய்யுங்கள் அல்லது தேதியைத் தேர்வுசெய்யும் பக்கத்திற்கு மீண்டும் செல்ல தட்டுங்கள்", + Strings.DatePickerSwitchToNextMonth to "அடுத்த மாதத்திற்கு மாற்று", + Strings.DatePickerSwitchToPreviousMonth to "முந்தைய மாதத்திற்கு மாற்று", + Strings.DatePickerNavigateToYearDescription to "%1\$sக்குச் செல்லும்", + Strings.DatePickerHeadlineDescription to "தற்போதைய தேர்வு: %1\$s", + Strings.DatePickerNoSelectionDescription to "ஏதுமில்லை", + Strings.DatePickerTodayDescription to "இன்று", + Strings.DatePickerYearPickerPaneTitle to "ஆண்டைத் தேர்வுசெய்யும் விருப்பம் காட்டப்படுகிறது", + Strings.DateInputTitle to "தேதியைத் தேர்வுசெய்க", + Strings.DateInputHeadline to "உள்ளிட்ட தேதி", + Strings.DateInputLabel to "தேதி", + Strings.DateInputHeadlineDescription to "உள்ளிட்ட தேதி: %1\$s", + Strings.DateInputNoInputDescription to "ஏதுமில்லை", + Strings.DateInputInvalidNotAllowed to "இந்தத் தேதி அனுமதிக்கப்படவில்லை: %1\$s", + Strings.DateInputInvalidForPattern to "எதிர்பார்க்கப்படும் பேட்டர்னுடன் தேதி பொருந்தவில்லை: %1\$s", + Strings.DateInputInvalidYearRange to "இந்தத் தேதி %1\$s - %2\$s ஆண்டு வரம்பிற்குள் இல்லை", + Strings.DatePickerSwitchToCalendarMode to "கேலெண்டர் உள்ளீட்டு முறைக்கு மாற்று", + Strings.DatePickerSwitchToInputMode to "எழுத்து உள்ளீட்டு முறைக்கு மாற்று", + Strings.DatePickerScrollToShowLaterYears to "பிந்தைய ஆண்டுகளைப் பார்க்க ஸ்க்ரோல் செய்யுங்கள்", + Strings.DatePickerScrollToShowEarlierYears to "முந்தைய ஆண்டுகளைப் பார்க்க ஸ்க்ரோல் செய்யுங்கள்", + Strings.DateRangePickerTitle to "தேதிகளைத் தேர்ந்தெடுங்கள்", + Strings.DateRangePickerStartHeadline to "தொடக்கத் தேதி", + Strings.DateRangePickerEndHeadline to "முடிவுத் தேதி", + Strings.DateRangePickerScrollToShowNextMonth to "அடுத்த மாதத்தைப் பார்க்க ஸ்க்ரோல் செய்யுங்கள்", + Strings.DateRangePickerScrollToShowPreviousMonth to "முந்தைய மாதத்தைப் பார்க்க ஸ்க்ரோல் செய்யுங்கள்", + Strings.DateRangePickerDayInRange to "வரம்பிற்குள் உள்ளது", + Strings.DateRangeInputTitle to "தேதிகளை உள்ளிடுங்கள்", + Strings.DateRangeInputInvalidRangeInput to "தவறான தேதி வரம்பை உள்ளிட்டுள்ளீர்கள்", + Strings.BottomSheetPaneTitle to "கீழ்ப்புற ஷீட்", + Strings.BottomSheetDragHandleDescription to "இழுப்பதற்கான ஹேண்டில்", + Strings.BottomSheetPartialExpandDescription to "கீழ்ப்புற ஷீட்டைச் சுருக்கும்", + Strings.BottomSheetDismissDescription to "கீழ்ப்புற ஷீட்டை நிராகரிக்கும்", + Strings.BottomSheetExpandDescription to "கீழ்ப்புற ஷீட்டை விரிவாக்கும்", + Strings.TooltipPaneDescription to "உதவிக்குறிப்பு", + Strings.TooltipLongPressLabel to "உதவிக்குறிப்பைக் காட்டு", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM/PM என்பதைத் தேர்ந்தெடுக்கலாம்", + Strings.TimePickerHourSelection to "மணிநேரத்தைத் தேர்ந்தெடுக்கலாம்", + Strings.TimePickerMinuteSelection to "நிமிடங்களைத் தேர்ந்தெடுக்கலாம்", + Strings.TimePickerHourSuffix to "%1\$d மணி", + Strings.TimePicker24HourSuffix to "%1\$d மணி", + Strings.TimePickerMinuteSuffix to "%1\$d நிமிடங்கள்", + Strings.TimePickerMinute to "நிமிடம்", + Strings.TimePickerHour to "மணிநேரம்", + Strings.TimePickerMinuteTextField to "நிமிடங்களுக்கு", + Strings.TimePickerHourTextField to "மணிநேரத்திற்கு", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Te.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Te.kt new file mode 100644 index 0000000000000..9a3c75ac6874a --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Te.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.te() = mapOf( + Strings.NavigationMenu to "నావిగేషన్ మెనూ", + Strings.ExposedDropdownMenu to "డ్రాప్‌డౌన్ మెనూ", + Strings.CloseDrawer to "నావిగేషన్ మెనూను మూసివేయి", + Strings.CloseSheet to "షీట్‌ను మూసివేయి", + Strings.DefaultErrorMessage to "ఇన్‌పుట్ చెల్లదు", + Strings.SliderRangeStart to "పరిధి ప్రారంభమయింది", + Strings.SliderRangeEnd to "పరిధి ముగిసింది", + Strings.Dialog to "డైలాగ్", + Strings.MenuExpanded to "విస్తరించబడింది", + Strings.MenuCollapsed to "కుదించబడింది", + Strings.SnackbarDismiss to "విస్మరించండి", + Strings.SearchBarSearch to "సెర్చ్ చేయండి", + Strings.SuggestionsAvailable to "సూచనలు దిగువున ఉన్నాయి", + Strings.DatePickerTitle to "తేదీని ఎంచుకోండి", + Strings.DatePickerHeadline to "ఎంచుకున్న తేదీ", + Strings.DatePickerSwitchToYearSelection to "సంవత్సరాన్ని ఎంచుకునే ఆప్షన్‌కు మారండి", + Strings.DatePickerSwitchToDaySelection to "సంవత్సరాన్ని ఎంచుకోవడానికి స్వైప్ చేయండి, లేదా తిరిగి రోజును ఎంచుకునేందుకు మారడానికి ట్యాప్ చేయండి", + Strings.DatePickerSwitchToNextMonth to "వచ్చే నెలకు మార్చండి", + Strings.DatePickerSwitchToPreviousMonth to "మునుపటి నెలకు మార్చండి", + Strings.DatePickerNavigateToYearDescription to "%1\$s సంవత్సరానికి వెళ్లండి", + Strings.DatePickerHeadlineDescription to "ప్రస్తుత ఎంపిక: %1\$s", + Strings.DatePickerNoSelectionDescription to "ఏదీ లేదు", + Strings.DatePickerTodayDescription to "నేడు", + Strings.DatePickerYearPickerPaneTitle to "సంవత్సరం పికర్ కనిపిస్తుంది", + Strings.DateInputTitle to "తేదీని ఎంచుకోండి", + Strings.DateInputHeadline to "ఎంటర్ చేసిన తేదీ", + Strings.DateInputLabel to "తేదీ", + Strings.DateInputHeadlineDescription to "ఎంటర్ చేసిన తేదీ: %1\$s", + Strings.DateInputNoInputDescription to "ఏదీ లేదు", + Strings.DateInputInvalidNotAllowed to "చెల్లని తేదీ: %1\$s", + Strings.DateInputInvalidForPattern to "తేదీ, ఉండాల్సిన ఫార్మాట్‌తో మ్యాచ్ కాలేదు: %1\$s", + Strings.DateInputInvalidYearRange to "ఉండాల్సిన సంవత్సరాల పరిధి %1\$s - %2\$s‌లో తేదీ లేదు", + Strings.DatePickerSwitchToCalendarMode to "క్యాలెండర్ ఇన్‌పుట్ మోడ్‌కు మారండి", + Strings.DatePickerSwitchToInputMode to "టెక్స్ట్ ఇన్‌పుట్ మోడ్‌కు మారండి", + Strings.DatePickerScrollToShowLaterYears to "తర్వాతి సంవత్సరాల డేటాను చూడటానికి స్క్రోల్ చేయండి", + Strings.DatePickerScrollToShowEarlierYears to "మునుపటి సంవత్సరాల డేటాను చూడటానికి స్క్రోల్ చేయండి", + Strings.DateRangePickerTitle to "తేదీలను ఎంచుకోండి", + Strings.DateRangePickerStartHeadline to "ప్రారంభ తేదీ", + Strings.DateRangePickerEndHeadline to "ముగింపు తేదీ", + Strings.DateRangePickerScrollToShowNextMonth to "వచ్చే నెల డేటాను చూడటానికి స్క్రోల్ చేయండి", + Strings.DateRangePickerScrollToShowPreviousMonth to "మునుపటి నెల డేటాను చూడటానికి స్క్రోల్ చేయండి", + Strings.DateRangePickerDayInRange to "పరిధిలో ఉంది", + Strings.DateRangeInputTitle to "తేదీలను ఎంటర్ చేయండి", + Strings.DateRangeInputInvalidRangeInput to "తేదీల పరిధి ఇన్‌పుట్ చెల్లదు", + Strings.BottomSheetPaneTitle to "దిగువున ఉన్న షీట్", + Strings.BottomSheetDragHandleDescription to "లాగే హ్యాండిల్", + Strings.BottomSheetPartialExpandDescription to "దిగువున ఉన్న షీట్‌ను కుదిస్తుంది", + Strings.BottomSheetDismissDescription to "దిగువున ఉన్న షీట్‌ను విస్మరిస్తుంది", + Strings.BottomSheetExpandDescription to "దిగువున ఉన్న షీట్‌ను విస్తరిస్తుంది", + Strings.TooltipPaneDescription to "టూల్‌టిప్", + Strings.TooltipLongPressLabel to "టూల్‌టిప్‌ను చూడండి", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "AM లేదా PMను ఎంచుకోండి", + Strings.TimePickerHourSelection to "గంటలను ఎంచుకోవడానికి వీలు కల్పిస్తుంది", + Strings.TimePickerMinuteSelection to "నిమిషాలను ఎంచుకోండి", + Strings.TimePickerHourSuffix to "%1\$d గం", + Strings.TimePicker24HourSuffix to "%1\$d గంటలు", + Strings.TimePickerMinuteSuffix to "%1\$d నిమిషాలు", + Strings.TimePickerMinute to "నిమిషం", + Strings.TimePickerHour to "గంట", + Strings.TimePickerMinuteTextField to "నిమిషాలను ఎంచుకోవడం కోసం", + Strings.TimePickerHourTextField to "గంటలను ఎంచుకోవడం కోసం", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Th.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Th.kt new file mode 100644 index 0000000000000..2373f75e7fa37 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Th.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.th() = mapOf( + Strings.NavigationMenu to "เมนูการนำทาง", + Strings.ExposedDropdownMenu to "เมนูแบบเลื่อนลง", + Strings.CloseDrawer to "ปิดเมนูการนำทาง", + Strings.CloseSheet to "ปิดชีต", + Strings.DefaultErrorMessage to "อินพุตไม่ถูกต้อง", + Strings.SliderRangeStart to "จุดเริ่มต้นของช่วง", + Strings.SliderRangeEnd to "จุดสิ้นสุดของช่วง", + Strings.Dialog to "กล่องโต้ตอบ", + Strings.MenuExpanded to "ขยายแล้ว", + Strings.MenuCollapsed to "ยุบแล้ว", + Strings.SnackbarDismiss to "ปิด", + Strings.SearchBarSearch to "ค้นหา", + Strings.SuggestionsAvailable to "มีคำแนะนำที่ด้านล่าง", + Strings.DatePickerTitle to "เลือกวันที่", + Strings.DatePickerHeadline to "วันที่ที่เลือก", + Strings.DatePickerSwitchToYearSelection to "เปลี่ยนไปที่การเลือกปี", + Strings.DatePickerSwitchToDaySelection to "ปัดเพื่อเลือกปีหรือแตะเพื่อเปลี่ยนกลับไปยังการเลือกวัน", + Strings.DatePickerSwitchToNextMonth to "เปลี่ยนไปที่เดือนถัดไป", + Strings.DatePickerSwitchToPreviousMonth to "เปลี่ยนไปที่เดือนก่อนหน้า", + Strings.DatePickerNavigateToYearDescription to "ไปยังปี %1\$s", + Strings.DatePickerHeadlineDescription to "การเลือกปัจจุบัน: %1\$s", + Strings.DatePickerNoSelectionDescription to "ไม่มี", + Strings.DatePickerTodayDescription to "วันนี้", + Strings.DatePickerYearPickerPaneTitle to "แสดงตัวเลือกปี", + Strings.DateInputTitle to "เลือกวันที่", + Strings.DateInputHeadline to "วันที่ป้อน", + Strings.DateInputLabel to "วันที่", + Strings.DateInputHeadlineDescription to "วันที่ป้อน: %1\$s", + Strings.DateInputNoInputDescription to "ไม่มี", + Strings.DateInputInvalidNotAllowed to "ไม่อนุญาตให้ใช้วันที่นี้: %1\$s", + Strings.DateInputInvalidForPattern to "วันที่ไม่ตรงกับรูปแบบที่คาดไว้: %1\$s", + Strings.DateInputInvalidYearRange to "วันที่อยู่นอกเหนือจากช่วงปีที่คาดไว้ %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "สลับไปใช้โหมดป้อนข้อมูลปฏิทิน", + Strings.DatePickerSwitchToInputMode to "สลับไปใช้โหมดการป้อนข้อความ", + Strings.DatePickerScrollToShowLaterYears to "เลื่อนเพื่อแสดงปีหลังจากนี้", + Strings.DatePickerScrollToShowEarlierYears to "เลื่อนเพื่อแสดงปีก่อนหน้านี้", + Strings.DateRangePickerTitle to "เลือกวันที่", + Strings.DateRangePickerStartHeadline to "วันที่เริ่มต้น", + Strings.DateRangePickerEndHeadline to "วันที่สิ้นสุด", + Strings.DateRangePickerScrollToShowNextMonth to "เลื่อนเพื่อแสดงเดือนถัดไป", + Strings.DateRangePickerScrollToShowPreviousMonth to "เลื่อนเพื่อแสดงเดือนก่อนหน้า", + Strings.DateRangePickerDayInRange to "อยู่ในช่วงวันที่ที่เลือก", + Strings.DateRangeInputTitle to "ป้อนวันที่", + Strings.DateRangeInputInvalidRangeInput to "การป้อนข้อมูลช่วงวันที่ไม่ถูกต้อง", + Strings.BottomSheetPaneTitle to "Bottom Sheet", + Strings.BottomSheetDragHandleDescription to "แฮนเดิลการลาก", + Strings.BottomSheetPartialExpandDescription to "ยุบ Bottom Sheet", + Strings.BottomSheetDismissDescription to "ปิด Bottom Sheet", + Strings.BottomSheetExpandDescription to "ขยาย Bottom Sheet", + Strings.TooltipPaneDescription to "เคล็ดลับเครื่องมือ", + Strings.TooltipLongPressLabel to "แสดงเคล็ดลับเครื่องมือ", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "เลือก AM หรือ PM", + Strings.TimePickerHourSelection to "เลือกชั่วโมง", + Strings.TimePickerMinuteSelection to "เลือกนาที", + Strings.TimePickerHourSuffix to "%1\$d น.", + Strings.TimePicker24HourSuffix to "%1\$d ชม.", + Strings.TimePickerMinuteSuffix to "%1\$d นาที", + Strings.TimePickerMinute to "นาที", + Strings.TimePickerHour to "ชั่วโมง", + Strings.TimePickerMinuteTextField to "สำหรับนาที", + Strings.TimePickerHourTextField to "สำหรับชั่วโมง", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tl.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tl.kt new file mode 100644 index 0000000000000..7be8b9ff3e70f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tl.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.tl() = mapOf( + Strings.NavigationMenu to "Menu ng navigation", + Strings.ExposedDropdownMenu to "Drop-down na menu", + Strings.CloseDrawer to "Isara ang menu ng navigation", + Strings.CloseSheet to "Isara ang sheet", + Strings.DefaultErrorMessage to "Invalid na input", + Strings.SliderRangeStart to "Simula ng range", + Strings.SliderRangeEnd to "Katapusan ng range", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Naka-expand", + Strings.MenuCollapsed to "Naka-collapse", + Strings.SnackbarDismiss to "I-dismiss", + Strings.SearchBarSearch to "Maghanap", + Strings.SuggestionsAvailable to "Mga suhestyon sa ibaba", + Strings.DatePickerTitle to "Pumili ng petsa", + Strings.DatePickerHeadline to "Piniling petsa", + Strings.DatePickerSwitchToYearSelection to "Lumipat sa pagpili ng taon", + Strings.DatePickerSwitchToDaySelection to "Mag-swipe para pumili ng taon, o mag-tap para bumalik sa pagpili ng araw", + Strings.DatePickerSwitchToNextMonth to "Lumipat sa susunod na buwan", + Strings.DatePickerSwitchToPreviousMonth to "Lumipat sa nakaraang buwan", + Strings.DatePickerNavigateToYearDescription to "Mag-navigate papunta sa taong %1\$s", + Strings.DatePickerHeadlineDescription to "Kasalukuyang napili: %1\$s", + Strings.DatePickerNoSelectionDescription to "Wala", + Strings.DatePickerTodayDescription to "Ngayon", + Strings.DatePickerYearPickerPaneTitle to "Nakikita ang picker ng taon", + Strings.DateInputTitle to "Pumili ng petsa", + Strings.DateInputHeadline to "Inilagay na petsa", + Strings.DateInputLabel to "Petsa", + Strings.DateInputHeadlineDescription to "Inilagay na petsa: %1\$s", + Strings.DateInputNoInputDescription to "Wala", + Strings.DateInputInvalidNotAllowed to "Hindi pinapayagan ang petsa: %1\$s", + Strings.DateInputInvalidForPattern to "Hindi tumutugma ang petsa sa inaasahang pattern: %1\$s", + Strings.DateInputInvalidYearRange to "Wala ang petsa sa inaasahang hanay ng taon na %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Lumipat sa pamamaraan ng pag-input ng kalendaryo", + Strings.DatePickerSwitchToInputMode to "Lumipat sa pamamaraan ng pag-input ng text", + Strings.DatePickerScrollToShowLaterYears to "Mag-scroll para makita ang mga mas kamakailang taon", + Strings.DatePickerScrollToShowEarlierYears to "Mag-scroll para ipakita ang mga mas naunang taon", + Strings.DateRangePickerTitle to "Pumili ng mga petsa", + Strings.DateRangePickerStartHeadline to "Petsa ng pagsisimula", + Strings.DateRangePickerEndHeadline to "Petsa ng pagtatapos", + Strings.DateRangePickerScrollToShowNextMonth to "Mag-scroll para ipakita ang susunod na buwan", + Strings.DateRangePickerScrollToShowPreviousMonth to "Mag-scroll para ipakita ang nakaraang buwan", + Strings.DateRangePickerDayInRange to "May signal", + Strings.DateRangeInputTitle to "Maglagay ng mga petsa", + Strings.DateRangeInputInvalidRangeInput to "Invalid ang input na hanay ng petsa", + Strings.BottomSheetPaneTitle to "Bottom Sheet", + Strings.BottomSheetDragHandleDescription to "Handle sa pag-drag", + Strings.BottomSheetPartialExpandDescription to "I-collapse ang bottom sheet", + Strings.BottomSheetDismissDescription to "I-dismiss ang bottom sheet", + Strings.BottomSheetExpandDescription to "Palawakin ang bottom sheet", + Strings.TooltipPaneDescription to "Tooltip", + Strings.TooltipLongPressLabel to "Ipakita ang tooltip", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Piliin ang AM o PM", + Strings.TimePickerHourSelection to "Pumili ng oras", + Strings.TimePickerMinuteSelection to "Pumili ng mga minuto", + Strings.TimePickerHourSuffix to "%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "%1\$d oras", + Strings.TimePickerMinuteSuffix to "%1\$d (na) minuto", + Strings.TimePickerMinute to "Minuto", + Strings.TimePickerHour to "Oras", + Strings.TimePickerMinuteTextField to "nang ilang minuto", + Strings.TimePickerHourTextField to "nang ilang oras", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tr.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tr.kt new file mode 100644 index 0000000000000..cf109af197b4e --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Tr.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.tr() = mapOf( + Strings.NavigationMenu to "Gezinme menüsü", + Strings.ExposedDropdownMenu to "Açılır menü", + Strings.CloseDrawer to "Gezinme menüsünü kapat", + Strings.CloseSheet to "Sayfayı kapat", + Strings.DefaultErrorMessage to "Geçersiz giriş", + Strings.SliderRangeStart to "Aralık başlangıcı", + Strings.SliderRangeEnd to "Aralık sonu", + Strings.Dialog to "Dialog", + Strings.MenuExpanded to "Genişletildi", + Strings.MenuCollapsed to "Daraltıldı", + Strings.SnackbarDismiss to "Kapat", + Strings.SearchBarSearch to "Arama", + Strings.SuggestionsAvailable to "Önerileri aşağıda bulabilirsiniz", + Strings.DatePickerTitle to "Tarih seç", + Strings.DatePickerHeadline to "Seçilen tarih", + Strings.DatePickerSwitchToYearSelection to "Yıl seçimine geç", + Strings.DatePickerSwitchToDaySelection to "Kaydırarak bir yıl seçin veya gün seçme bölümüne geri dönmek için dokunun", + Strings.DatePickerSwitchToNextMonth to "Sonraki aya değiştir", + Strings.DatePickerSwitchToPreviousMonth to "Önceki aya değiştir", + Strings.DatePickerNavigateToYearDescription to "%1\$s yılına gidin", + Strings.DatePickerHeadlineDescription to "Geçerli seçim: %1\$s", + Strings.DatePickerNoSelectionDescription to "Yok", + Strings.DatePickerTodayDescription to "Bugün", + Strings.DatePickerYearPickerPaneTitle to "Yıl seçici görünür durumda", + Strings.DateInputTitle to "Tarih seç", + Strings.DateInputHeadline to "Girilen tarih", + Strings.DateInputLabel to "Tarih", + Strings.DateInputHeadlineDescription to "Girilen tarih: %1\$s", + Strings.DateInputNoInputDescription to "Yok", + Strings.DateInputInvalidNotAllowed to "Tarihe izin verilmiyor: %1\$s", + Strings.DateInputInvalidForPattern to "Tarih, istenen biçimle eşleşmiyor: %1\$s", + Strings.DateInputInvalidYearRange to "Tarih, istenen %1\$s-%2\$s yıl aralığının dışında", + Strings.DatePickerSwitchToCalendarMode to "Takvim giriş moduna geç", + Strings.DatePickerSwitchToInputMode to "Metin giriş moduna geç", + Strings.DatePickerScrollToShowLaterYears to "Sonraki yılları göstermek için kaydırın", + Strings.DatePickerScrollToShowEarlierYears to "Önceki yılları göstermek için kaydırın", + Strings.DateRangePickerTitle to "Tarihleri seçin", + Strings.DateRangePickerStartHeadline to "Başlangıç tarihi", + Strings.DateRangePickerEndHeadline to "Bitiş tarihi", + Strings.DateRangePickerScrollToShowNextMonth to "Sonraki ayı göstermek için kaydırın", + Strings.DateRangePickerScrollToShowPreviousMonth to "Önceki ayı göstermek için kaydırın", + Strings.DateRangePickerDayInRange to "Aralıkta", + Strings.DateRangeInputTitle to "Tarihleri girin", + Strings.DateRangeInputInvalidRangeInput to "Geçersiz tarih aralığı girişi", + Strings.BottomSheetPaneTitle to "Alt Sayfa", + Strings.BottomSheetDragHandleDescription to "Sürükleme tutamacı", + Strings.BottomSheetPartialExpandDescription to "Alt sayfayı daralt", + Strings.BottomSheetDismissDescription to "Alt sayfayı kapat", + Strings.BottomSheetExpandDescription to "Alt sayfayı genişlet", + Strings.TooltipPaneDescription to "İpucu", + Strings.TooltipLongPressLabel to "Araç ipucunu göster", + Strings.TimePickerPM to "ÖS", + Strings.TimePickerAM to "ÖÖ", + Strings.TimePickerPeriodToggle to "ÖÖ veya ÖS\'yi seçin", + Strings.TimePickerHourSelection to "Saat seçin", + Strings.TimePickerMinuteSelection to "Dakikayı seçin", + Strings.TimePickerHourSuffix to "Saat %1\$d", + Strings.TimePicker24HourSuffix to "%1\$d saat", + Strings.TimePickerMinuteSuffix to "%1\$d dakika", + Strings.TimePickerMinute to "Dakika", + Strings.TimePickerHour to "Saat", + Strings.TimePickerMinuteTextField to "dakika", + Strings.TimePickerHourTextField to "saat", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Translations.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Translations.kt new file mode 100644 index 0000000000000..e5740ddb5bb1f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Translations.kt @@ -0,0 +1,111 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Translations + +/** + * Maps each locale tag we have a translation for to a function that creates the translation. + */ +internal val TranslationProviderByLocaleTag = mapOf( + "" to Translations::en, + "en_AU" to Translations::enAU, + "en_CA" to Translations::enCA, + "en_GB" to Translations::enGB, + "en_IN" to Translations::enIN, + "af" to Translations::af, + "am" to Translations::am, + "ar" to Translations::ar, + "as" to Translations::`as`, + "az" to Translations::az, + "be" to Translations::be, + "bg" to Translations::bg, + "bn" to Translations::bn, + "bs" to Translations::bs, + "ca" to Translations::ca, + "cs" to Translations::cs, + "da" to Translations::da, + "de" to Translations::de, + "el" to Translations::el, + "es" to Translations::es, + "es_US" to Translations::esUS, + "et" to Translations::et, + "eu" to Translations::eu, + "fa" to Translations::fa, + "fi" to Translations::fi, + "fr" to Translations::fr, + "fr_CA" to Translations::frCA, + "gl" to Translations::gl, + "gu" to Translations::gu, + "hi" to Translations::hi, + "hr" to Translations::hr, + "hu" to Translations::hu, + "hy" to Translations::hy, + "in" to Translations::`in`, + "id" to Translations::`in`, + "is" to Translations::`is`, + "it" to Translations::it, + "iw" to Translations::iw, + "he" to Translations::iw, + "ja" to Translations::ja, + "ka" to Translations::ka, + "kk" to Translations::kk, + "km" to Translations::km, + "kn" to Translations::kn, + "ko" to Translations::ko, + "ky" to Translations::ky, + "lo" to Translations::lo, + "lt" to Translations::lt, + "lv" to Translations::lv, + "mk" to Translations::mk, + "ml" to Translations::ml, + "mn" to Translations::mn, + "mr" to Translations::mr, + "ms" to Translations::ms, + "my" to Translations::my, + "nb" to Translations::nb, + "ne" to Translations::ne, + "nl" to Translations::nl, + "or" to Translations::or, + "pa" to Translations::pa, + "pl" to Translations::pl, + "pt" to Translations::pt, + "pt_BR" to Translations::ptBR, + "pt_PT" to Translations::ptPT, + "ro" to Translations::ro, + "ru" to Translations::ru, + "si" to Translations::si, + "sk" to Translations::sk, + "sl" to Translations::sl, + "sq" to Translations::sq, + "sr" to Translations::sr, + "sv" to Translations::sv, + "sw" to Translations::sw, + "ta" to Translations::ta, + "te" to Translations::te, + "th" to Translations::th, + "tl" to Translations::tl, + "tr" to Translations::tr, + "uk" to Translations::uk, + "ur" to Translations::ur, + "uz" to Translations::uz, + "vi" to Translations::vi, + "zh_CN" to Translations::zhCN, + "zh_HK" to Translations::zhHK, + "zh_TW" to Translations::zhTW, + "zu" to Translations::zu, +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uk.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uk.kt new file mode 100644 index 0000000000000..ea8958d31909f --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uk.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.uk() = mapOf( + Strings.NavigationMenu to "Меню навігації", + Strings.ExposedDropdownMenu to "Спадне меню", + Strings.CloseDrawer to "Закрити меню навігації", + Strings.CloseSheet to "Закрити аркуш", + Strings.DefaultErrorMessage to "Введено недійсні дані", + Strings.SliderRangeStart to "Початок діапазону", + Strings.SliderRangeEnd to "Кінець діапазону", + Strings.Dialog to "Вікно", + Strings.MenuExpanded to "Розгорнуто", + Strings.MenuCollapsed to "Згорнуто", + Strings.SnackbarDismiss to "Закрити", + Strings.SearchBarSearch to "Пошук", + Strings.SuggestionsAvailable to "Підказки внизу", + Strings.DatePickerTitle to "Виберіть дату", + Strings.DatePickerHeadline to "Вибрана дата", + Strings.DatePickerSwitchToYearSelection to "Перейти до вибору року", + Strings.DatePickerSwitchToDaySelection to "Проведіть пальцем по екрану, щоб вибрати рік, або торкніться, щоб повернутися до вибору дня", + Strings.DatePickerSwitchToNextMonth to "Перейти до наступного місяця", + Strings.DatePickerSwitchToPreviousMonth to "Перейти до попереднього місяця", + Strings.DatePickerNavigateToYearDescription to "Перейти до %1\$s року", + Strings.DatePickerHeadlineDescription to "Поточний вибір: %1\$s", + Strings.DatePickerNoSelectionDescription to "Немає", + Strings.DatePickerTodayDescription to "Сьогодні", + Strings.DatePickerYearPickerPaneTitle to "Показувати засіб вибору року", + Strings.DateInputTitle to "Виберіть дату", + Strings.DateInputHeadline to "Введена дата", + Strings.DateInputLabel to "Дата", + Strings.DateInputHeadlineDescription to "Введена дата: %1\$s", + Strings.DateInputNoInputDescription to "Немає", + Strings.DateInputInvalidNotAllowed to "Недопустима дата: %1\$s", + Strings.DateInputInvalidForPattern to "Дата не відповідає очікуваному шаблону: %1\$s", + Strings.DateInputInvalidYearRange to "Дата за межами очікуваного діапазону років %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Перейти в режим введення в календарі", + Strings.DatePickerSwitchToInputMode to "Перейти в режим введення тексту", + Strings.DatePickerScrollToShowLaterYears to "Прокрутіть, щоб відобразити пізніші роки", + Strings.DatePickerScrollToShowEarlierYears to "Прокрутіть, щоб відобразити попередні роки", + Strings.DateRangePickerTitle to "Виберіть дати", + Strings.DateRangePickerStartHeadline to "Дата початку", + Strings.DateRangePickerEndHeadline to "Дата завершення", + Strings.DateRangePickerScrollToShowNextMonth to "Прокрутіть, щоб відобразити наступний місяць", + Strings.DateRangePickerScrollToShowPreviousMonth to "Прокрутіть, щоб відобразити попередній місяць", + Strings.DateRangePickerDayInRange to "У діапазоні", + Strings.DateRangeInputTitle to "Введіть дати", + Strings.DateRangeInputInvalidRangeInput to "Указано недійсний діапазон дат", + Strings.BottomSheetPaneTitle to "Нижній екран", + Strings.BottomSheetDragHandleDescription to "Маркер переміщення", + Strings.BottomSheetPartialExpandDescription to "Згорнути нижній екран", + Strings.BottomSheetDismissDescription to "Закрити нижній екран", + Strings.BottomSheetExpandDescription to "Розгорнути нижній екран", + Strings.TooltipPaneDescription to "Спливаюча підказка", + Strings.TooltipLongPressLabel to "Показати спливаючу підказку", + Strings.TimePickerPM to "ПП", + Strings.TimePickerAM to "ДП", + Strings.TimePickerPeriodToggle to "Виберіть ДП чи ПП", + Strings.TimePickerHourSelection to "Вибрати годину", + Strings.TimePickerMinuteSelection to "Вибрати хвилини", + Strings.TimePickerHourSuffix to "%1\$d год", + Strings.TimePicker24HourSuffix to "%1\$d год", + Strings.TimePickerMinuteSuffix to "%1\$d хв", + Strings.TimePickerMinute to "Хвилина", + Strings.TimePickerHour to "Година", + Strings.TimePickerMinuteTextField to "для хвилин", + Strings.TimePickerHourTextField to "для годин", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ur.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ur.kt new file mode 100644 index 0000000000000..cba44fb5f8efb --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Ur.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ur() = mapOf( + Strings.NavigationMenu to "نیویگیشن مینیو", + Strings.ExposedDropdownMenu to "ڈراپ ڈاؤن مینیو", + Strings.CloseDrawer to "نیویگیشن مینیو بند کریں", + Strings.CloseSheet to "شیٹ بند کریں", + Strings.DefaultErrorMessage to "غلط ان پٹ", + Strings.SliderRangeStart to "رینج کی شروعات", + Strings.SliderRangeEnd to "رینج کا اختتام", + Strings.Dialog to "ڈائلاگ", + Strings.MenuExpanded to "پھیلایا گیا", + Strings.MenuCollapsed to "سکیڑا گیا", + Strings.SnackbarDismiss to "برخاست کریں", + Strings.SearchBarSearch to "تلاش کریں", + Strings.SuggestionsAvailable to "تلاش کی تجاویز نیچے دستیاب ہیں", + Strings.DatePickerTitle to "تاریخ منتخب کریں", + Strings.DatePickerHeadline to "منتخب کردہ تاریخ", + Strings.DatePickerSwitchToYearSelection to "ایک سال کا انتخاب کرنے کے لیے سوئچ کریں", + Strings.DatePickerSwitchToDaySelection to "ایک سال منتخب کرنے کے لیے سوائپ کریں یا ایک دن منتخب کرنے کی خاطر دوبارہ سوئچ کرنے کے لیے تھپتھپائیں", + Strings.DatePickerSwitchToNextMonth to "اگلے ماہ میں تبدیل کریں", + Strings.DatePickerSwitchToPreviousMonth to "گزشتہ ماہ میں تبدیل کریں", + Strings.DatePickerNavigateToYearDescription to "‏سال ‎%1\$s پر نیویگیٹ کریں", + Strings.DatePickerHeadlineDescription to "‏موجودہ انتخاب: ‎%1\$s", + Strings.DatePickerNoSelectionDescription to "کوئی نہیں", + Strings.DatePickerTodayDescription to "آج", + Strings.DatePickerYearPickerPaneTitle to "سال کا منتخب کنندہ مرئی ہے", + Strings.DateInputTitle to "تاریخ منتخب کریں", + Strings.DateInputHeadline to "درج کردہ تاریخ", + Strings.DateInputLabel to "تاریخ", + Strings.DateInputHeadlineDescription to "‏درج کردہ تاریخ: %1\$s", + Strings.DateInputNoInputDescription to "کوئی نہیں", + Strings.DateInputInvalidNotAllowed to "‏تاریخ کی اجازت نہیں ہے: ‎%1\$s", + Strings.DateInputInvalidForPattern to "‏تاریخ متوقع پیٹرن سے مماثل نہیں ہے: %1\$s", + Strings.DateInputInvalidYearRange to "‏متوقع سال کی حد ‎%1\$s‏ - %2\$s سے باہر کی تاریخ", + Strings.DatePickerSwitchToCalendarMode to "کیلنڈر اِن پٹ موڈ پر سوئچ کریں", + Strings.DatePickerSwitchToInputMode to "ٹیکسٹ اِن پٹ موڈ پر سوئچ کریں", + Strings.DatePickerScrollToShowLaterYears to "بعد کے سالوں کا ڈیٹا دکھانے کے لیے اسکرول کریں", + Strings.DatePickerScrollToShowEarlierYears to "پچھلے سالوں کا ڈیٹا دکھانے کے لیے اسکرول کریں", + Strings.DateRangePickerTitle to "تواریخ منتخب کریں", + Strings.DateRangePickerStartHeadline to "تاریخ آغاز", + Strings.DateRangePickerEndHeadline to "تاریخ اختتام", + Strings.DateRangePickerScrollToShowNextMonth to "اگلے ماہ کا ڈیٹا دکھانے کے لیے اسکرول کریں", + Strings.DateRangePickerScrollToShowPreviousMonth to "پچھلے ماہ کا ڈیٹا دکھانے کے لیے اسکرول کریں", + Strings.DateRangePickerDayInRange to "رینج میں ہے", + Strings.DateRangeInputTitle to "تواریخ درج کریں", + Strings.DateRangeInputInvalidRangeInput to "تاریخ کی حد کا غلط ان پٹ", + Strings.BottomSheetPaneTitle to "نیچے کی شیٹ", + Strings.BottomSheetDragHandleDescription to "گھسیٹنے کا ہینڈل", + Strings.BottomSheetPartialExpandDescription to "نیچے کی شیٹ کو سکیڑیں", + Strings.BottomSheetDismissDescription to "نیچے کی شیٹ کو برخاست کریں", + Strings.BottomSheetExpandDescription to "نیچے کی شیٹ کو پھیلائیں", + Strings.TooltipPaneDescription to "ٹول ٹپ", + Strings.TooltipLongPressLabel to "ٹول ٹپ دکھائیں", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "‏AM یا PM منتخب کریں", + Strings.TimePickerHourSelection to "گھنٹہ منتخب کریں", + Strings.TimePickerMinuteSelection to "منٹ منتخب کریں", + Strings.TimePickerHourSuffix to "‏‎%1\$d بجے", + Strings.TimePicker24HourSuffix to "‏‎%1\$d گھنٹے", + Strings.TimePickerMinuteSuffix to "‏%1\$d منٹس", + Strings.TimePickerMinute to "منٹ", + Strings.TimePickerHour to "گھنٹہ", + Strings.TimePickerMinuteTextField to "منٹ کے لیے", + Strings.TimePickerHourTextField to "گھنٹے کے لیے", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uz.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uz.kt new file mode 100644 index 0000000000000..137b951c03642 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Uz.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.uz() = mapOf( + Strings.NavigationMenu to "Navigatsiya menyusi", + Strings.ExposedDropdownMenu to "Pastga ochiluvchi menyu", + Strings.CloseDrawer to "Navigatsiya menyusini yopish", + Strings.CloseSheet to "Varaqni yopish", + Strings.DefaultErrorMessage to "Kiritilgan axborot xato", + Strings.SliderRangeStart to "Oraliq boshi", + Strings.SliderRangeEnd to "Oraliq oxiri", + Strings.Dialog to "Muloqot oynasi", + Strings.MenuExpanded to "Yoyilgan", + Strings.MenuCollapsed to "Yigʻilgan", + Strings.SnackbarDismiss to "Yopish", + Strings.SearchBarSearch to "Qidiruv", + Strings.SuggestionsAvailable to "Takliflar quyida", + Strings.DatePickerTitle to "Sanani tanlang", + Strings.DatePickerHeadline to "Tanlangan sana", + Strings.DatePickerSwitchToYearSelection to "Tanlangan yilga oʻtish", + Strings.DatePickerSwitchToDaySelection to "Yilni tanlash uchun suring yoki kunni tanlashga qaytish uchun tegining", + Strings.DatePickerSwitchToNextMonth to "Keyingi oyga oʻzgartirish", + Strings.DatePickerSwitchToPreviousMonth to "Avvalgi oyga oʻzgartirish", + Strings.DatePickerNavigateToYearDescription to "%1\$s-yilga oʻtish", + Strings.DatePickerHeadlineDescription to "Joriy tanlov: %1\$s", + Strings.DatePickerNoSelectionDescription to "Hech biri", + Strings.DatePickerTodayDescription to "Bugun", + Strings.DatePickerYearPickerPaneTitle to "Yil tanlagich ochiq", + Strings.DateInputTitle to "Sanani tanlang", + Strings.DateInputHeadline to "Kiritilgan sana", + Strings.DateInputLabel to "Sana", + Strings.DateInputHeadlineDescription to "Kiritilgan sana: %1\$s", + Strings.DateInputNoInputDescription to "Hech biri", + Strings.DateInputInvalidNotAllowed to "Sana xato: %1\$s", + Strings.DateInputInvalidForPattern to "Sana mavjud namunaga mos kelmaydi: %1\$s", + Strings.DateInputInvalidYearRange to "Sana kutilgan yillar oraligʻida emas: %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Taqvim kiritish rejimiga oʻtish", + Strings.DatePickerSwitchToInputMode to "Matn kiritish rejimiga oʻtish", + Strings.DatePickerScrollToShowLaterYears to "Keyingi yillarga varaqlang", + Strings.DatePickerScrollToShowEarlierYears to "Avvalgi yillarga varaqlang", + Strings.DateRangePickerTitle to "Sanalarni tanlang", + Strings.DateRangePickerStartHeadline to "Boshlanish sanasi", + Strings.DateRangePickerEndHeadline to "Tugash sanasi", + Strings.DateRangePickerScrollToShowNextMonth to "Keyingi oyga varaqlang", + Strings.DateRangePickerScrollToShowPreviousMonth to "Avvalgi oyga varaqlang", + Strings.DateRangePickerDayInRange to "Xizmat doirasida", + Strings.DateRangeInputTitle to "Sanalarni kiriting", + Strings.DateRangeInputInvalidRangeInput to "Kiritilgan muddat yaroqsiz", + Strings.BottomSheetPaneTitle to "Quyi ekran", + Strings.BottomSheetDragHandleDescription to "Surish dastagi", + Strings.BottomSheetPartialExpandDescription to "Quyi ekranni yigʻish", + Strings.BottomSheetDismissDescription to "Quyi ekranni yopish", + Strings.BottomSheetExpandDescription to "Quyi ekranni yoyish", + Strings.TooltipPaneDescription to "Maslahat oynasi", + Strings.TooltipLongPressLabel to "Maslahat oynasini koʻrsatish", + Strings.TimePickerPM to "TK", + Strings.TimePickerAM to "TO", + Strings.TimePickerPeriodToggle to "Tushdan oldin yoki keyinligini tanlang", + Strings.TimePickerHourSelection to "Soatni tanlang", + Strings.TimePickerMinuteSelection to "Daqiqani tanlang", + Strings.TimePickerHourSuffix to "%1\$d soat", + Strings.TimePicker24HourSuffix to "%1\$d soat", + Strings.TimePickerMinuteSuffix to "%1\$d daqiqa", + Strings.TimePickerMinute to "Daqiqa", + Strings.TimePickerHour to "Soat", + Strings.TimePickerMinuteTextField to "bir daqiqa", + Strings.TimePickerHourTextField to "bir soat", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Vi.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Vi.kt new file mode 100644 index 0000000000000..3692d08a81033 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Vi.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.vi() = mapOf( + Strings.NavigationMenu to "Trình đơn điều hướng", + Strings.ExposedDropdownMenu to "Trình đơn thả xuống", + Strings.CloseDrawer to "Đóng trình đơn điều hướng", + Strings.CloseSheet to "Đóng trang tính", + Strings.DefaultErrorMessage to "Giá trị nhập không hợp lệ", + Strings.SliderRangeStart to "Điểm bắt đầu phạm vi", + Strings.SliderRangeEnd to "Điểm kết thúc phạm vi", + Strings.Dialog to "Hộp thoại", + Strings.MenuExpanded to "Đã mở rộng", + Strings.MenuCollapsed to "Đã thu gọn", + Strings.SnackbarDismiss to "Đóng", + Strings.SearchBarSearch to "Tìm kiếm", + Strings.SuggestionsAvailable to "Các đề xuất ở bên dưới", + Strings.DatePickerTitle to "Chọn ngày", + Strings.DatePickerHeadline to "Ngày đã chọn", + Strings.DatePickerSwitchToYearSelection to "Chuyển sang chọn năm", + Strings.DatePickerSwitchToDaySelection to "Vuốt để chọn một năm hoặc nhấn để chuyển lại về chọn một ngày", + Strings.DatePickerSwitchToNextMonth to "Chuyển sang tháng tiếp theo", + Strings.DatePickerSwitchToPreviousMonth to "Chuyển về tháng trước", + Strings.DatePickerNavigateToYearDescription to "Chuyển đến năm %1\$s", + Strings.DatePickerHeadlineDescription to "Lựa chọn hiện tại: %1\$s", + Strings.DatePickerNoSelectionDescription to "Không có", + Strings.DatePickerTodayDescription to "Hôm nay", + Strings.DatePickerYearPickerPaneTitle to "Bộ chọn năm hiển thị", + Strings.DateInputTitle to "Chọn ngày", + Strings.DateInputHeadline to "Ngày đã nhập", + Strings.DateInputLabel to "Ngày", + Strings.DateInputHeadlineDescription to "Ngày đã nhập: %1\$s", + Strings.DateInputNoInputDescription to "Không có", + Strings.DateInputInvalidNotAllowed to "Ngày không được phép: %1\$s", + Strings.DateInputInvalidForPattern to "Ngày không khớp với định dạng dự kiến: %1\$s", + Strings.DateInputInvalidYearRange to "Ngày không thuộc phạm vi năm dự kiến %1\$s – %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Chuyển sang chế độ nhập lịch", + Strings.DatePickerSwitchToInputMode to "Chuyển sang chế độ nhập văn bản", + Strings.DatePickerScrollToShowLaterYears to "Cuộn để hiện những năm sau", + Strings.DatePickerScrollToShowEarlierYears to "Cuộn để hiện những năm trước", + Strings.DateRangePickerTitle to "Chọn ngày", + Strings.DateRangePickerStartHeadline to "Ngày bắt đầu", + Strings.DateRangePickerEndHeadline to "Ngày kết thúc", + Strings.DateRangePickerScrollToShowNextMonth to "Cuộn để hiện tháng sau", + Strings.DateRangePickerScrollToShowPreviousMonth to "Cuộn để hiện tháng trước", + Strings.DateRangePickerDayInRange to "Trong khoảng", + Strings.DateRangeInputTitle to "Nhập ngày", + Strings.DateRangeInputInvalidRangeInput to "Phạm vi ngày đã nhập không hợp lệ", + Strings.BottomSheetPaneTitle to "Bảng dưới cùng", + Strings.BottomSheetDragHandleDescription to "Nút kéo", + Strings.BottomSheetPartialExpandDescription to "Thu gọn bảng dưới cùng", + Strings.BottomSheetDismissDescription to "Đóng bảng dưới cùng", + Strings.BottomSheetExpandDescription to "Mở rộng bảng dưới cùng", + Strings.TooltipPaneDescription to "Chú giải công cụ", + Strings.TooltipLongPressLabel to "Hiện chú giải công cụ", + Strings.TimePickerPM to "CH", + Strings.TimePickerAM to "SA", + Strings.TimePickerPeriodToggle to "Chọn SA hoặc CH", + Strings.TimePickerHourSelection to "Chọn giờ", + Strings.TimePickerMinuteSelection to "Chọn phút", + Strings.TimePickerHourSuffix to "%1\$d giờ", + Strings.TimePicker24HourSuffix to "%1\$d giờ", + Strings.TimePickerMinuteSuffix to "%1\$d phút", + Strings.TimePickerMinute to "Phút", + Strings.TimePickerHour to "Giờ", + Strings.TimePickerMinuteTextField to "nhập phút", + Strings.TimePickerHourTextField to "nhập giờ", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zh.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zh.kt new file mode 100644 index 0000000000000..61e192b2ed6a4 --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zh.kt @@ -0,0 +1,221 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhCN() = mapOf( + Strings.NavigationMenu to "导航菜单", + Strings.ExposedDropdownMenu to "下拉菜单", + Strings.CloseDrawer to "关闭导航菜单", + Strings.CloseSheet to "关闭工作表", + Strings.DefaultErrorMessage to "输入无效", + Strings.SliderRangeStart to "范围起点", + Strings.SliderRangeEnd to "范围终点", + Strings.Dialog to "对话框", + Strings.MenuExpanded to "已展开", + Strings.MenuCollapsed to "已收起", + Strings.SnackbarDismiss to "关闭", + Strings.SearchBarSearch to "搜索", + Strings.SuggestionsAvailable to "以下是搜索建议", + Strings.DatePickerTitle to "选择日期", + Strings.DatePickerHeadline to "选定的日期", + Strings.DatePickerSwitchToYearSelection to "切换为选择年份", + Strings.DatePickerSwitchToDaySelection to "滑动可选择年份,点按可切换回选择日期", + Strings.DatePickerSwitchToNextMonth to "转到下个月", + Strings.DatePickerSwitchToPreviousMonth to "转到上个月", + Strings.DatePickerNavigateToYearDescription to "切换到年份:%1\$s", + Strings.DatePickerHeadlineDescription to "当前的选择:%1\$s", + Strings.DatePickerNoSelectionDescription to "无", + Strings.DatePickerTodayDescription to "今天", + Strings.DatePickerYearPickerPaneTitle to "年份选择器可见", + Strings.DateInputTitle to "选择日期", + Strings.DateInputHeadline to "输入的日期", + Strings.DateInputLabel to "日期", + Strings.DateInputHeadlineDescription to "输入的日期:%1\$s", + Strings.DateInputNoInputDescription to "无", + Strings.DateInputInvalidNotAllowed to "日期无效:%1\$s", + Strings.DateInputInvalidForPattern to "日期不符合格式要求:%1\$s", + Strings.DateInputInvalidYearRange to "日期超出预期年份范围 %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "切换到日历输入模式", + Strings.DatePickerSwitchToInputMode to "切换到文本字段输入模式", + Strings.DatePickerScrollToShowLaterYears to "滚动即可显示之后的年份", + Strings.DatePickerScrollToShowEarlierYears to "滚动即可显示之前的年份", + Strings.DateRangePickerTitle to "选择日期", + Strings.DateRangePickerStartHeadline to "开始日期", + Strings.DateRangePickerEndHeadline to "结束日期", + Strings.DateRangePickerScrollToShowNextMonth to "滚动即可显示下个月", + Strings.DateRangePickerScrollToShowPreviousMonth to "滚动即可显示上个月", + Strings.DateRangePickerDayInRange to "在范围内", + Strings.DateRangeInputTitle to "输入日期", + Strings.DateRangeInputInvalidRangeInput to "输入的日期范围无效", + Strings.BottomSheetPaneTitle to "底部动作条", + Strings.BottomSheetDragHandleDescription to "拖动手柄", + Strings.BottomSheetPartialExpandDescription to "收起底部动作条", + Strings.BottomSheetDismissDescription to "关闭底部动作条", + Strings.BottomSheetExpandDescription to "展开底部动作条", + Strings.TooltipPaneDescription to "提示", + Strings.TooltipLongPressLabel to "显示提示", + Strings.TimePickerPM to "下午", + Strings.TimePickerAM to "上午", + Strings.TimePickerPeriodToggle to "选择上午或下午", + Strings.TimePickerHourSelection to "选择小时", + Strings.TimePickerMinuteSelection to "选择分钟", + Strings.TimePickerHourSuffix to "%1\$d 点", + Strings.TimePicker24HourSuffix to "%1\$d 小时", + Strings.TimePickerMinuteSuffix to "%1\$d 分钟", + Strings.TimePickerMinute to "分钟", + Strings.TimePickerHour to "小时", + Strings.TimePickerMinuteTextField to "输入分钟", + Strings.TimePickerHourTextField to "输入小时", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhHK() = mapOf( + Strings.NavigationMenu to "導覽選單", + Strings.ExposedDropdownMenu to "下拉式選單", + Strings.CloseDrawer to "閂導覽選單", + Strings.CloseSheet to "閂表單", + Strings.DefaultErrorMessage to "輸入嘅資料無效", + Strings.SliderRangeStart to "範圍開始", + Strings.SliderRangeEnd to "範圍結束", + Strings.Dialog to "對話框", + Strings.MenuExpanded to "已展開", + Strings.MenuCollapsed to "已收合", + Strings.SnackbarDismiss to "關閉", + Strings.SearchBarSearch to "搜尋", + Strings.SuggestionsAvailable to "建議如下", + Strings.DatePickerTitle to "選取日期", + Strings.DatePickerHeadline to "所選日期", + Strings.DatePickerSwitchToYearSelection to "切換為選取年份", + Strings.DatePickerSwitchToDaySelection to "滑動可選取年分,或可輕按返回選取日期", + Strings.DatePickerSwitchToNextMonth to "變更至下個月", + Strings.DatePickerSwitchToPreviousMonth to "變更至上個月", + Strings.DatePickerNavigateToYearDescription to "前往 %1\$s 年", + Strings.DatePickerHeadlineDescription to "目前選項:%1\$s", + Strings.DatePickerNoSelectionDescription to "無", + Strings.DatePickerTodayDescription to "今天", + Strings.DatePickerYearPickerPaneTitle to "顯示年分挑選器", + Strings.DateInputTitle to "選取日期", + Strings.DateInputHeadline to "已輸入的日期", + Strings.DateInputLabel to "日期", + Strings.DateInputHeadlineDescription to "已輸入的日期:%1\$s", + Strings.DateInputNoInputDescription to "無", + Strings.DateInputInvalidNotAllowed to "不允許的日期:%1\$s", + Strings.DateInputInvalidForPattern to "日期格式不符:%1\$s", + Strings.DateInputInvalidYearRange to "日期超出預期的年份範圍:%1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "切換至日曆輸入模式", + Strings.DatePickerSwitchToInputMode to "切換至文字輸入模式", + Strings.DatePickerScrollToShowLaterYears to "碌去顯示新啲嘅年份", + Strings.DatePickerScrollToShowEarlierYears to "碌去顯示舊啲嘅年份", + Strings.DateRangePickerTitle to "選取日期", + Strings.DateRangePickerStartHeadline to "開始日期", + Strings.DateRangePickerEndHeadline to "結束日期", + Strings.DateRangePickerScrollToShowNextMonth to "碌去顯示下一個月", + Strings.DateRangePickerScrollToShowPreviousMonth to "碌去顯示上一個月", + Strings.DateRangePickerDayInRange to "喺指定日期範圍內", + Strings.DateRangeInputTitle to "輸入日期", + Strings.DateRangeInputInvalidRangeInput to "輸入的日期範圍無效", + Strings.BottomSheetPaneTitle to "頁底面板", + Strings.BottomSheetDragHandleDescription to "拖曳控點", + Strings.BottomSheetPartialExpandDescription to "收合頁底面板", + Strings.BottomSheetDismissDescription to "關閉頁底面板", + Strings.BottomSheetExpandDescription to "展開頁底面板", + Strings.TooltipPaneDescription to "提示", + Strings.TooltipLongPressLabel to "顯示提示", + Strings.TimePickerPM to "下午", + Strings.TimePickerAM to "上午", + Strings.TimePickerPeriodToggle to "選取上午或下午", + Strings.TimePickerHourSelection to "選取小時", + Strings.TimePickerMinuteSelection to "選取分鐘", + Strings.TimePickerHourSuffix to "%1\$d 點", + Strings.TimePicker24HourSuffix to "%1\$d 點", + Strings.TimePickerMinuteSuffix to "%1\$d 分鐘", + Strings.TimePickerMinute to "分鐘", + Strings.TimePickerHour to "小時", + Strings.TimePickerMinuteTextField to "分鐘", + Strings.TimePickerHourTextField to "小時", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhTW() = mapOf( + Strings.NavigationMenu to "導覽選單", + Strings.ExposedDropdownMenu to "下拉式選單", + Strings.CloseDrawer to "關閉導覽選單", + Strings.CloseSheet to "關閉功能表", + Strings.DefaultErrorMessage to "輸入內容無效", + Strings.SliderRangeStart to "範圍起點", + Strings.SliderRangeEnd to "範圍終點", + Strings.Dialog to "對話方塊", + Strings.MenuExpanded to "已展開", + Strings.MenuCollapsed to "已收合", + Strings.SnackbarDismiss to "關閉", + Strings.SearchBarSearch to "搜尋", + Strings.SuggestionsAvailable to "建議如下", + Strings.DatePickerTitle to "選取日期", + Strings.DatePickerHeadline to "所選日期", + Strings.DatePickerSwitchToYearSelection to "改為選取年份", + Strings.DatePickerSwitchToDaySelection to "滑動即可選取年分,也可輕觸返回選取日期", + Strings.DatePickerSwitchToNextMonth to "改成下個月", + Strings.DatePickerSwitchToPreviousMonth to "改成上個月", + Strings.DatePickerNavigateToYearDescription to "前往 %1\$s 年", + Strings.DatePickerHeadlineDescription to "目前選項:%1\$s", + Strings.DatePickerNoSelectionDescription to "無", + Strings.DatePickerTodayDescription to "今天", + Strings.DatePickerYearPickerPaneTitle to "顯示年份挑選器", + Strings.DateInputTitle to "選取日期", + Strings.DateInputHeadline to "輸入的日期", + Strings.DateInputLabel to "日期", + Strings.DateInputHeadlineDescription to "輸入的日期:%1\$s", + Strings.DateInputNoInputDescription to "無", + Strings.DateInputInvalidNotAllowed to "不允許的日期:%1\$s", + Strings.DateInputInvalidForPattern to "日期格式不符:%1\$s", + Strings.DateInputInvalidYearRange to "日期超出預期的年份範圍:%1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "切換至日曆輸入模式", + Strings.DatePickerSwitchToInputMode to "切換至文字輸入模式", + Strings.DatePickerScrollToShowLaterYears to "捲動即可顯示之後年分", + Strings.DatePickerScrollToShowEarlierYears to "捲動即可顯示先前年分", + Strings.DateRangePickerTitle to "選取日期", + Strings.DateRangePickerStartHeadline to "開始日期", + Strings.DateRangePickerEndHeadline to "結束日期", + Strings.DateRangePickerScrollToShowNextMonth to "捲動即可顯示下一個月", + Strings.DateRangePickerScrollToShowPreviousMonth to "捲動即可顯示上一個月", + Strings.DateRangePickerDayInRange to "在有效範圍內", + Strings.DateRangeInputTitle to "輸入日期", + Strings.DateRangeInputInvalidRangeInput to "輸入的日期範圍無效", + Strings.BottomSheetPaneTitle to "底部功能表", + Strings.BottomSheetDragHandleDescription to "拖曳控點", + Strings.BottomSheetPartialExpandDescription to "收合底部功能表", + Strings.BottomSheetDismissDescription to "關閉底部功能表", + Strings.BottomSheetExpandDescription to "展開底部功能表", + Strings.TooltipPaneDescription to "工具提示", + Strings.TooltipLongPressLabel to "顯示工具提示", + Strings.TimePickerPM to "下午", + Strings.TimePickerAM to "上午", + Strings.TimePickerPeriodToggle to "選取上午或下午", + Strings.TimePickerHourSelection to "選取小時", + Strings.TimePickerMinuteSelection to "選取分鐘數", + Strings.TimePickerHourSuffix to "%1\$d 點", + Strings.TimePicker24HourSuffix to "%1\$d 時", + Strings.TimePickerMinuteSuffix to "%1\$d 分鐘", + Strings.TimePickerMinute to "分鐘", + Strings.TimePickerHour to "小時", + Strings.TimePickerMinuteTextField to "分鐘", + Strings.TimePickerHourTextField to "小時", +) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zu.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zu.kt new file mode 100644 index 0000000000000..4d722b5c250ec --- /dev/null +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Zu.kt @@ -0,0 +1,87 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.material3.l10n + +import androidx.compose.material3.Strings +import androidx.compose.material3.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zu() = mapOf( + Strings.NavigationMenu to "Imenyu yokuzulazula", + Strings.ExposedDropdownMenu to "Imenyu eya phansi", + Strings.CloseDrawer to "Vala imenyu yokuzulazula", + Strings.CloseSheet to "Vala ishidi", + Strings.DefaultErrorMessage to "Okufakwayo okungalungile", + Strings.SliderRangeStart to "Ukuqala kobubanzi", + Strings.SliderRangeEnd to "Umkhawulo wobubanzi", + Strings.Dialog to "Ibhokisi", + Strings.MenuExpanded to "Kunwetshiwe", + Strings.MenuCollapsed to "Kugoqiwe", + Strings.SnackbarDismiss to "Chitha", + Strings.SearchBarSearch to "Sesha", + Strings.SuggestionsAvailable to "Iziphakamiso ngezansi", + Strings.DatePickerTitle to "Khetha usuku", + Strings.DatePickerHeadline to "Usuku olukhethiwe", + Strings.DatePickerSwitchToYearSelection to "Shintshela ekukhetheni unyaka", + Strings.DatePickerSwitchToDaySelection to "Swayipha ukuze ukhethe unyaka, noma thepha ukuze ubuyele ekukhetheni usuku", + Strings.DatePickerSwitchToNextMonth to "Shintshela kunyanga elandelayo", + Strings.DatePickerSwitchToPreviousMonth to "Shintshela kunyanga edlule", + Strings.DatePickerNavigateToYearDescription to "Funa onyakeni %1\$s", + Strings.DatePickerHeadlineDescription to "Ukukhetha kwamanje: %1\$s", + Strings.DatePickerNoSelectionDescription to "Lutho", + Strings.DatePickerTodayDescription to "Namuhla", + Strings.DatePickerYearPickerPaneTitle to "Isikhethi sonyaka siyabonakala", + Strings.DateInputTitle to "Khetha usuku", + Strings.DateInputHeadline to "Usuku olufakiwe", + Strings.DateInputLabel to "Usuku", + Strings.DateInputHeadlineDescription to "Usuku olufakiwe: %1\$s", + Strings.DateInputNoInputDescription to "Lutho", + Strings.DateInputInvalidNotAllowed to "Usuku aluvunyelwe: %1\$s", + Strings.DateInputInvalidForPattern to "Usuku alufani nephethini elindelekile: %1\$s", + Strings.DateInputInvalidYearRange to "Usuku lungaphandle kwebanga lonyaka elilindelekile %1\$s - %2\$s", + Strings.DatePickerSwitchToCalendarMode to "Shintshela kwimodi yokufaka yekhalenda", + Strings.DatePickerSwitchToInputMode to "Shintshela kwimodi yokufaka yombhalo", + Strings.DatePickerScrollToShowLaterYears to "Skrola ukuze ubonise iminyaka yakamuva", + Strings.DatePickerScrollToShowEarlierYears to "Skrola ukuze ubonise iminyaka yangaphambilini", + Strings.DateRangePickerTitle to "Khetha izinsuku", + Strings.DateRangePickerStartHeadline to "Usuku lokuqala", + Strings.DateRangePickerEndHeadline to "Usuku lokuphela", + Strings.DateRangePickerScrollToShowNextMonth to "Skrola ukuze ubonise inyanga elandelayo", + Strings.DateRangePickerScrollToShowPreviousMonth to "Skrola ukuze ubonise inyanga edlule", + Strings.DateRangePickerDayInRange to "Ebangeni", + Strings.DateRangeInputTitle to "Faka izinsuku", + Strings.DateRangeInputInvalidRangeInput to "Okokufaka kwebanga losuku okungavumelekile", + Strings.BottomSheetPaneTitle to "Ishidi Eliphansi", + Strings.BottomSheetDragHandleDescription to "Hudula isibambi", + Strings.BottomSheetPartialExpandDescription to "Goqa ishidi eliphansi", + Strings.BottomSheetDismissDescription to "Chitha ishidi eliphansi", + Strings.BottomSheetExpandDescription to "Nweba ishidi eliphansi", + Strings.TooltipPaneDescription to "Ithulithiphu", + Strings.TooltipLongPressLabel to "Bonisa ithulithiphu", + Strings.TimePickerPM to "PM", + Strings.TimePickerAM to "AM", + Strings.TimePickerPeriodToggle to "Khetha u-AM noma u-PM", + Strings.TimePickerHourSelection to "Khetha ihora", + Strings.TimePickerMinuteSelection to "Khetha imizuzu", + Strings.TimePickerHourSuffix to "Ngu-%1\$d o\'clock", + Strings.TimePicker24HourSuffix to "Amahora angu-%1\$d", + Strings.TimePickerMinuteSuffix to "Imizuzu engu-%1\$d", + Strings.TimePickerMinute to "Umzuzu", + Strings.TimePickerHour to "Ihora", + Strings.TimePickerMinuteTextField to "ngemizuzu", + Strings.TimePickerHourTextField to "ngehora", +) diff --git a/compose/material3/material3/src/skikoTest/kotlin/androidx/compose/material3/StringFormatTest.kt b/compose/material3/material3/src/skikoTest/kotlin/androidx/compose/material3/StringFormatTest.kt index 65ff20e42e18c..b81d7d14c2af5 100644 --- a/compose/material3/material3/src/skikoTest/kotlin/androidx/compose/material3/StringFormatTest.kt +++ b/compose/material3/material3/src/skikoTest/kotlin/androidx/compose/material3/StringFormatTest.kt @@ -28,28 +28,46 @@ class StringFormatTest { } @Test - fun one_arg() { - val result = "str %1\$".format(1) + fun one_number_arg() { + val result = "str %1\$d".format(1) assertEquals("str 1", result) } @Test - fun two_args() { - val result = "str %1\$ %2\$".format(1, 2) + fun one_string_arg() { + val result = "str %1\$s".format("1") + assertEquals("str 1", result) + } + + @Test + fun two_number_args() { + val result = "str %1\$d %2\$d".format(1, 2) + assertEquals("str 1 2", result) + } + + @Test + fun two_string_args() { + val result = "str %1\$s %2\$s".format("1", "2") + assertEquals("str 1 2", result) + } + + @Test + fun string_and_number_args() { + val result = "str %1\$s %2\$d".format("1", 2) assertEquals("str 1 2", result) } @Test fun too_many_args() { - val result = "str %1\$".format(1, 2) + val result = "str %1\$d".format(1, 2) assertEquals("str 1", result) } @Test fun not_enough_args() { // Behavior is not specified. We can consider different variants. - val result = "str %1\$".format() - assertEquals("str %1\$", result) + val result = "str %1\$d".format() + assertEquals("str %1\$d", result) } } diff --git a/compose/ui/ui/build.gradle b/compose/ui/ui/build.gradle index 51012176433a5..ecd8144704ef4 100644 --- a/compose/ui/ui/build.gradle +++ b/compose/ui/ui/build.gradle @@ -341,6 +341,38 @@ if(AndroidXComposePlugin.isMultiplatformEnabled(project)) { } } +// This task updates the translations of the localizable strings in this module. +// It obtains them from Android's base repository. +tasks.register("updateTranslations", UpdateTranslationsTask.class) { + group = "localization" + gitRepo = "https://android.googlesource.com/platform/frameworks/base" + repoResDirectories = ["core/res/res"] + targetDirectory = project.file("src/desktopMain/kotlin/androidx/compose/ui/platform/l10n") + targetPackageName = "androidx.compose.ui.platform.l10n" + kotlinStringsPackageName = "androidx.compose.ui.platform" + stringByResourceName = [ + "copy": "Copy", + "paste": "Paste", + "cut": "Cut", + "selectAll": "SelectAll" + ] + // This is all the locales translated by Compose on Android in the ui module: + // https://github.com/androidx/androidx/tree/androidx-main/compose/ui/ui/src/androidMain/res + // with the exception of + // - b+sr+Latn which doesn't appear to be supported by Java + // - en_XC which has weird invisible LRM characters, and the visible text is the same as for + // en anyway. + locales = [ + "en", "af", "am", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "da", "de", + "el", "en_AU", "en_CA", "en_GB", "en_IN", "es", "es_US", "et", "eu", "fa", + "fi", "fr", "fr_CA", "gl", "gu", "hi", "hr", "hu", "hy", "in", "is", "it", "iw", + "ja", "ka", "kk", "km", "kn", "ko", "ky", "lo", "lt", "lv", "mk", "ml", "mn", "mr", + "ms", "my", "nb", "ne", "nl", "or", "pa", "pl", "pt", "pt_BR", "pt_PT", "ro", "ru", + "si", "sk", "sl", "sq", "sr", "sv", "sw", "ta", "te", "th", "tl", "tr", "uk", "ur", + "uz", "vi", "zh_CN", "zh_HK", "zh_TW", "zu" + ] +} + androidx { name = "Compose UI primitives" type = LibraryType.PUBLISHED_LIBRARY diff --git a/compose/material/material/src/desktopMain/kotlin/androidx/compose/material/Strings.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt similarity index 61% rename from compose/material/material/src/desktopMain/kotlin/androidx/compose/material/Strings.desktop.kt rename to compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt index 6873b2d7c5f64..03aad1a9eceb0 100644 --- a/compose/material/material/src/desktopMain/kotlin/androidx/compose/material/Strings.desktop.kt +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt @@ -1,5 +1,5 @@ /* - * Copyright 2021 The Android Open Source Project + * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,17 @@ * limitations under the License. */ -package androidx.compose.material +package androidx.compose.ui.platform import androidx.compose.runtime.Composable +import androidx.compose.runtime.CompositionLocalProvider @Composable -internal actual fun getString(string: Strings): String { - return when (string) { - Strings.NavigationMenu -> "Navigation menu" - Strings.CloseDrawer -> "Close navigation menu" - Strings.CloseSheet -> "Close sheet" - Strings.DefaultErrorMessage -> "Invalid input" - else -> "" - } +internal actual fun ProvidePlatformCompositionLocals( + content: @Composable () -> Unit +) { + CompositionLocalProvider( + LocalLocalization provides defaultPlatformLocalization(), + content = content + ) } \ No newline at end of file diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformLocalization.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformLocalization.desktop.kt index 1f76d964232fe..78d0446706c8f 100644 --- a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformLocalization.desktop.kt +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/PlatformLocalization.desktop.kt @@ -16,6 +16,7 @@ package androidx.compose.ui.platform +import androidx.compose.runtime.Composable import androidx.compose.runtime.ProvidableCompositionLocal import androidx.compose.runtime.staticCompositionLocalOf @@ -26,13 +27,20 @@ interface PlatformLocalization { val selectAll: String } -internal val defaultPlatformLocalization = object : PlatformLocalization { - override val copy = "Copy" - override val cut = "Cut" - override val paste = "Paste" - override val selectAll = "Select All" +@Composable +internal fun defaultPlatformLocalization(): PlatformLocalization { + val copy = getString(Strings.Copy) + val cut = getString(Strings.Cut) + val paste = getString(Strings.Paste) + val selectAll = getString(Strings.SelectAll) + return object : PlatformLocalization { + override val copy = copy + override val cut = cut + override val paste = paste + override val selectAll = selectAll + } } val LocalLocalization: ProvidableCompositionLocal = staticCompositionLocalOf { - defaultPlatformLocalization + error("CompositionLocal PlatformLocalization not present") } \ No newline at end of file diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/Strings.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/Strings.kt new file mode 100644 index 0000000000000..b9065e01136c4 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/Strings.kt @@ -0,0 +1,103 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform + +import androidx.compose.runtime.Composable +import androidx.compose.runtime.Immutable +import androidx.compose.runtime.ReadOnlyComposable +import androidx.compose.ui.platform.l10n.TranslationProviderByLocaleTag +import androidx.compose.ui.text.intl.Locale +import androidx.compose.ui.platform.l10n.en + +@Immutable +@JvmInline +internal value class Strings private constructor(@Suppress("unused") private val value: Int) { + companion object { + val Copy = Strings(0) + val Cut = Strings(1) + val Paste = Strings(2) + val SelectAll = Strings(3) + } +} + +@Composable +@ReadOnlyComposable +internal fun getString(string: Strings): String { + val locale = Locale.current + val tag = localeTag(language = locale.language, region = locale.region) + val translation = translationByLocaleTag.getOrPut(tag) { + findTranslation(locale) + } + return translation[string] ?: error("Missing translation for $string") +} + +/** + * A single translation; should contain all the [Strings]. + */ +internal typealias Translation = Map + +/** + * Translations we've already loaded, mapped by the locale tag (see [localeTag]). + */ +private val translationByLocaleTag = mutableMapOf() + +/** + * Returns the tag for the given locale. + * + * Note that this is our internal format; this isn't the same as [Locale.toLanguageTag]. + */ +private fun localeTag(language: String, region: String) = when { + language == "" -> "" + region == "" -> language + else -> "${language}_$region" +} + +/** + * Returns a sequence of locale tags to use as keys to look up the translation for the given locale. + * + * Note that we don't need to check children (e.g. use `fr_FR` if `fr` is missing) because the + * translations should never have a missing parent. + */ +private fun localeTagChain(locale: Locale) = sequence { + if (locale.region != "") { + yield(localeTag(language = locale.language, region = locale.region)) + } + if (locale.language != "") { + yield(localeTag(language = locale.language, region = "")) + } + yield(localeTag("", "")) +} + +/** + * Finds a [Translation] for the given locale. + */ +private fun findTranslation(locale: Locale): Translation { + for (tag in localeTagChain(locale)) { + // We don't need to merge translations because each one should contain all the strings. + val translation = TranslationProviderByLocaleTag[tag]?.invoke() + if (translation != null) { + return translation + } + } + error("Root translation must be present") +} + +/** + * This object is only needed to provide a namespace for the [Translation] provider functions + * (e.g. [Translations.en]), to avoid polluting the global namespace. + */ +internal object Translations \ No newline at end of file diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Af.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Af.kt new file mode 100644 index 0000000000000..c0c0956b659d7 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Af.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.af() = mapOf( + Strings.SelectAll to "Kies alles", + Strings.Cut to "Sny", + Strings.Copy to "Kopieer", + Strings.Paste to "Plak", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Am.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Am.kt new file mode 100644 index 0000000000000..515919c2e3a70 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Am.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.am() = mapOf( + Strings.SelectAll to "ሁሉንም ምረጥ", + Strings.Cut to "ቁረጥ", + Strings.Copy to "ግላባጭ", + Strings.Paste to "ለጥፍ", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ar.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ar.kt new file mode 100644 index 0000000000000..06491c9b5d1c0 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ar.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ar() = mapOf( + Strings.SelectAll to "تحديد الكل", + Strings.Cut to "قص", + Strings.Copy to "نسخ", + Strings.Paste to "لصق", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/As.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/As.kt new file mode 100644 index 0000000000000..5d5c757a87c96 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/As.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`as`() = mapOf( + Strings.SelectAll to "আটাইবোৰ বাছনি কৰক", + Strings.Cut to "কাটক", + Strings.Copy to "প্ৰতিলিপি কৰক", + Strings.Paste to "পেইষ্ট কৰক", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Az.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Az.kt new file mode 100644 index 0000000000000..d9d1be1fb667f --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Az.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.az() = mapOf( + Strings.SelectAll to "Hamısını seç", + Strings.Cut to "Kəs", + Strings.Copy to "Kopyala", + Strings.Paste to "Yerləşdir", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Be.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Be.kt new file mode 100644 index 0000000000000..3fefce60b4780 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Be.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.be() = mapOf( + Strings.SelectAll to "Вылучыць усё", + Strings.Cut to "Выразаць", + Strings.Copy to "Капіраваць", + Strings.Paste to "Уставіць", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bg.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bg.kt new file mode 100644 index 0000000000000..995b4c6399207 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bg.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bg() = mapOf( + Strings.SelectAll to "Избиране на всичко", + Strings.Cut to "Изрязване", + Strings.Copy to "Копиране", + Strings.Paste to "Поставяне", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bn.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bn.kt new file mode 100644 index 0000000000000..8cf004f858626 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bn.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bn() = mapOf( + Strings.SelectAll to "সবগুলি বেছে নিন", + Strings.Cut to "কাটুন", + Strings.Copy to "কপি করুন", + Strings.Paste to "পেস্ট করুন", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bs.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bs.kt new file mode 100644 index 0000000000000..cb74176380770 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Bs.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.bs() = mapOf( + Strings.SelectAll to "Odaberi sve", + Strings.Cut to "Izreži", + Strings.Copy to "Kopiraj", + Strings.Paste to "Zalijepi", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ca.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ca.kt new file mode 100644 index 0000000000000..f4579f58713f1 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ca.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ca() = mapOf( + Strings.SelectAll to "Selecciona-ho tot", + Strings.Cut to "Retalla", + Strings.Copy to "Copia", + Strings.Paste to "Enganxa", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Cs.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Cs.kt new file mode 100644 index 0000000000000..c03e19bf54bf0 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Cs.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.cs() = mapOf( + Strings.SelectAll to "Vybrat vše", + Strings.Cut to "Vyjmout", + Strings.Copy to "Kopírovat", + Strings.Paste to "Vložit", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Da.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Da.kt new file mode 100644 index 0000000000000..76f656317b1e3 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Da.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.da() = mapOf( + Strings.SelectAll to "Markér alt", + Strings.Cut to "Klip", + Strings.Copy to "Kopiér", + Strings.Paste to "Indsæt", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/De.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/De.kt new file mode 100644 index 0000000000000..b69e4beab5b9d --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/De.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.de() = mapOf( + Strings.SelectAll to "Alles auswählen", + Strings.Cut to "Ausschneiden", + Strings.Copy to "Kopieren", + Strings.Paste to "Einfügen", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/El.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/El.kt new file mode 100644 index 0000000000000..0c436480954a0 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/El.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.el() = mapOf( + Strings.SelectAll to "Επιλογή όλων", + Strings.Cut to "Αποκοπή", + Strings.Copy to "Αντιγραφή", + Strings.Paste to "Επικόλληση", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/En.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/En.kt new file mode 100644 index 0000000000000..b9f3ef2581550 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/En.kt @@ -0,0 +1,60 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.en() = mapOf( + Strings.SelectAll to "Select all", + Strings.Cut to "Cut", + Strings.Copy to "Copy", + Strings.Paste to "Paste", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enAU() = mapOf( + Strings.SelectAll to "Select all", + Strings.Cut to "Cut", + Strings.Copy to "Copy", + Strings.Paste to "Paste", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enCA() = mapOf( + Strings.SelectAll to "Select all", + Strings.Cut to "Cut", + Strings.Copy to "Copy", + Strings.Paste to "Paste", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enGB() = mapOf( + Strings.SelectAll to "Select all", + Strings.Cut to "Cut", + Strings.Copy to "Copy", + Strings.Paste to "Paste", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.enIN() = mapOf( + Strings.SelectAll to "Select all", + Strings.Cut to "Cut", + Strings.Copy to "Copy", + Strings.Paste to "Paste", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Es.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Es.kt new file mode 100644 index 0000000000000..768f79a623ca8 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Es.kt @@ -0,0 +1,36 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.es() = mapOf( + Strings.SelectAll to "Seleccionar todo", + Strings.Cut to "Cortar", + Strings.Copy to "Copiar", + Strings.Paste to "Pegar", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.esUS() = mapOf( + Strings.SelectAll to "Seleccionar todo", + Strings.Cut to "Cortar", + Strings.Copy to "Copiar", + Strings.Paste to "Pegar", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Et.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Et.kt new file mode 100644 index 0000000000000..85283942d33b8 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Et.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.et() = mapOf( + Strings.SelectAll to "Vali kõik", + Strings.Cut to "Lõika", + Strings.Copy to "Kopeeri", + Strings.Paste to "Kleebi", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Eu.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Eu.kt new file mode 100644 index 0000000000000..f6b6314a62a4e --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Eu.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.eu() = mapOf( + Strings.SelectAll to "Hautatu dena", + Strings.Cut to "Ebaki", + Strings.Copy to "Kopiatu", + Strings.Paste to "Itsatsi", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fa.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fa.kt new file mode 100644 index 0000000000000..e0a5843a2e86e --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fa.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fa() = mapOf( + Strings.SelectAll to "انتخاب همه", + Strings.Cut to "برش", + Strings.Copy to "کپی", + Strings.Paste to "جای‌گذاری", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fi.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fi.kt new file mode 100644 index 0000000000000..f9b1cecc99ce1 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fi.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fi() = mapOf( + Strings.SelectAll to "Valitse kaikki", + Strings.Cut to "Leikkaa", + Strings.Copy to "Kopioi", + Strings.Paste to "Liitä", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fr.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fr.kt new file mode 100644 index 0000000000000..86905b2e9fa0b --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Fr.kt @@ -0,0 +1,36 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.fr() = mapOf( + Strings.SelectAll to "Tout sélectionner", + Strings.Cut to "Couper", + Strings.Copy to "Copier", + Strings.Paste to "Coller", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.frCA() = mapOf( + Strings.SelectAll to "Tout sélectionner", + Strings.Cut to "Couper", + Strings.Copy to "Copier", + Strings.Paste to "Coller", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gl.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gl.kt new file mode 100644 index 0000000000000..8403b3b05e85a --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gl.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.gl() = mapOf( + Strings.SelectAll to "Seleccionar todo", + Strings.Cut to "Cortar", + Strings.Copy to "Copiar", + Strings.Paste to "Pegar", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gu.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gu.kt new file mode 100644 index 0000000000000..d586e5a37a7de --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Gu.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.gu() = mapOf( + Strings.SelectAll to "બધા પસંદ કરો", + Strings.Cut to "કાપો", + Strings.Copy to "કૉપિ કરો", + Strings.Paste to "પેસ્ટ કરો", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hi.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hi.kt new file mode 100644 index 0000000000000..60bfc08811678 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hi.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hi() = mapOf( + Strings.SelectAll to "सभी को चुनें", + Strings.Cut to "काटें", + Strings.Copy to "कॉपी करें", + Strings.Paste to "चिपकाएं", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hr.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hr.kt new file mode 100644 index 0000000000000..0c5d0aa210ac8 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hr.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hr() = mapOf( + Strings.SelectAll to "Odaberi sve", + Strings.Cut to "Izreži", + Strings.Copy to "Kopiraj", + Strings.Paste to "Zalijepi", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hu.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hu.kt new file mode 100644 index 0000000000000..d6ec362e80a6a --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hu.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hu() = mapOf( + Strings.SelectAll to "Összes kijelölése", + Strings.Cut to "Kivágás", + Strings.Copy to "Másolás", + Strings.Paste to "Beillesztés", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hy.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hy.kt new file mode 100644 index 0000000000000..5c99953384a8c --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Hy.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.hy() = mapOf( + Strings.SelectAll to "Ընտրել բոլորը", + Strings.Cut to "Կտրել", + Strings.Copy to "Պատճենել", + Strings.Paste to "Տեղադրել", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/In.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/In.kt new file mode 100644 index 0000000000000..cb9571b58f24e --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/In.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`in`() = mapOf( + Strings.SelectAll to "Pilih semua", + Strings.Cut to "Potong", + Strings.Copy to "Salin", + Strings.Paste to "Tempel", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Is.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Is.kt new file mode 100644 index 0000000000000..07430fe9bad47 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Is.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.`is`() = mapOf( + Strings.SelectAll to "Velja allt", + Strings.Cut to "Klippa", + Strings.Copy to "Afrita", + Strings.Paste to "Líma", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/It.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/It.kt new file mode 100644 index 0000000000000..1c3002f00126a --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/It.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.it() = mapOf( + Strings.SelectAll to "Seleziona tutto", + Strings.Cut to "Taglia", + Strings.Copy to "Copia", + Strings.Paste to "Incolla", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Iw.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Iw.kt new file mode 100644 index 0000000000000..0342a300fc923 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Iw.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.iw() = mapOf( + Strings.SelectAll to "בחירת הכול", + Strings.Cut to "חיתוך", + Strings.Copy to "העתקה", + Strings.Paste to "הדבקה", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ja.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ja.kt new file mode 100644 index 0000000000000..587ce63c22c3b --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ja.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ja() = mapOf( + Strings.SelectAll to "すべて選択", + Strings.Cut to "切り取り", + Strings.Copy to "コピー", + Strings.Paste to "貼り付け", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ka.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ka.kt new file mode 100644 index 0000000000000..285f5bfd3bdbe --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ka.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ka() = mapOf( + Strings.SelectAll to "ყველას არჩევა", + Strings.Cut to "ამოჭრა", + Strings.Copy to "კოპირება", + Strings.Paste to "ჩასმა", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kk.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kk.kt new file mode 100644 index 0000000000000..39930c6746402 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kk.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.kk() = mapOf( + Strings.SelectAll to "Барлығын таңдау", + Strings.Cut to "Қиып алу", + Strings.Copy to "Көшіру", + Strings.Paste to "Қою", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Km.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Km.kt new file mode 100644 index 0000000000000..04f4d381744a4 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Km.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.km() = mapOf( + Strings.SelectAll to "ជ្រើសរើស​ទាំងអស់", + Strings.Cut to "កាត់", + Strings.Copy to "ចម្លង", + Strings.Paste to "ដាក់ចូល", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kn.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kn.kt new file mode 100644 index 0000000000000..8c0ea24bcce52 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Kn.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.kn() = mapOf( + Strings.SelectAll to "ಎಲ್ಲವನ್ನೂ ಆಯ್ಕೆ ಮಾಡಿ", + Strings.Cut to "ಕತ್ತರಿಸು", + Strings.Copy to "ನಕಲಿಸಿ", + Strings.Paste to "ಅಂಟಿಸಿ", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ko.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ko.kt new file mode 100644 index 0000000000000..6727f4dbea50b --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ko.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ko() = mapOf( + Strings.SelectAll to "모두 선택", + Strings.Cut to "잘라내기", + Strings.Copy to "복사", + Strings.Paste to "붙여넣기", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ky.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ky.kt new file mode 100644 index 0000000000000..a35a83702bfa9 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ky.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ky() = mapOf( + Strings.SelectAll to "Баарын тандоо", + Strings.Cut to "Кесүү", + Strings.Copy to "Көчүрүү", + Strings.Paste to "Чаптоо", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lo.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lo.kt new file mode 100644 index 0000000000000..c2b2d57a2dba6 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lo.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lo() = mapOf( + Strings.SelectAll to "ເລືອກທັງໝົດ", + Strings.Cut to "ຕັດ", + Strings.Copy to "ສຳເນົາ", + Strings.Paste to "ວາງ", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lt.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lt.kt new file mode 100644 index 0000000000000..686655f08f768 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lt.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lt() = mapOf( + Strings.SelectAll to "Pasirinkti visus", + Strings.Cut to "Iškirpti", + Strings.Copy to "Kopijuoti", + Strings.Paste to "Įklijuoti", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lv.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lv.kt new file mode 100644 index 0000000000000..59e72b9961ec1 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Lv.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.lv() = mapOf( + Strings.SelectAll to "Atlasīt visu", + Strings.Cut to "Izgriezt", + Strings.Copy to "Kopēt", + Strings.Paste to "Ielīmēt", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mk.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mk.kt new file mode 100644 index 0000000000000..015ac13c1d043 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mk.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mk() = mapOf( + Strings.SelectAll to "Избери ги сите", + Strings.Cut to "Исечи", + Strings.Copy to "Копирај", + Strings.Paste to "Залепи", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ml.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ml.kt new file mode 100644 index 0000000000000..b0b475737de54 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ml.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ml() = mapOf( + Strings.SelectAll to "എല്ലാം തിരഞ്ഞെടുക്കുക", + Strings.Cut to "മുറിക്കുക", + Strings.Copy to "പകര്‍ത്തുക", + Strings.Paste to "ഒട്ടിക്കുക", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mn.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mn.kt new file mode 100644 index 0000000000000..0c05764b2c497 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mn.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mn() = mapOf( + Strings.SelectAll to "Бүгдийг сонгох", + Strings.Cut to "Таслах", + Strings.Copy to "Хуулах", + Strings.Paste to "Буулгах", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mr.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mr.kt new file mode 100644 index 0000000000000..766c917d5da8f --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Mr.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.mr() = mapOf( + Strings.SelectAll to "सर्व निवडा", + Strings.Cut to "कट करा", + Strings.Copy to "कॉपी करा", + Strings.Paste to "पेस्ट करा", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ms.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ms.kt new file mode 100644 index 0000000000000..214e3a23499b9 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ms.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ms() = mapOf( + Strings.SelectAll to "Pilih semua", + Strings.Cut to "Potong", + Strings.Copy to "Salin", + Strings.Paste to "Tampal", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/My.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/My.kt new file mode 100644 index 0000000000000..1de2d92b03921 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/My.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.my() = mapOf( + Strings.SelectAll to "အားလုံးရွေးရန်", + Strings.Cut to "ဖြတ်ရန်", + Strings.Copy to "ကူးရန်", + Strings.Paste to "ကူးထည့်ရန်", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nb.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nb.kt new file mode 100644 index 0000000000000..291f05712d80d --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nb.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.nb() = mapOf( + Strings.SelectAll to "Merk alt", + Strings.Cut to "Klipp ut", + Strings.Copy to "Kopiér", + Strings.Paste to "Lim inn", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ne.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ne.kt new file mode 100644 index 0000000000000..452537ce81cbb --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ne.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ne() = mapOf( + Strings.SelectAll to "सबैलाई चयन गर्नुहोस्", + Strings.Cut to "काट्नुहोस्", + Strings.Copy to "कपी गर्नुहोस्", + Strings.Paste to "टाँस्नुहोस्", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nl.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nl.kt new file mode 100644 index 0000000000000..34c3f89eed89c --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Nl.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.nl() = mapOf( + Strings.SelectAll to "Alles selecteren", + Strings.Cut to "Knippen", + Strings.Copy to "Kopiëren", + Strings.Paste to "Plakken", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Or.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Or.kt new file mode 100644 index 0000000000000..24ec321a9f3c2 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Or.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.or() = mapOf( + Strings.SelectAll to "ସବୁ ଚୟନ କରନ୍ତୁ", + Strings.Cut to "କଟ୍‌", + Strings.Copy to "କପି କରନ୍ତୁ", + Strings.Paste to "ପେଷ୍ଟ କରନ୍ତୁ", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pa.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pa.kt new file mode 100644 index 0000000000000..257d27f13b021 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pa.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pa() = mapOf( + Strings.SelectAll to "ਸਭ ਚੁਣੋ", + Strings.Cut to "ਕੱਟੋ", + Strings.Copy to "ਕਾਪੀ ਕਰੋ", + Strings.Paste to "ਪੇਸਟ ਕਰੋ", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pl.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pl.kt new file mode 100644 index 0000000000000..15554efd5ed76 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pl.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pl() = mapOf( + Strings.SelectAll to "Zaznacz wszystko", + Strings.Cut to "Wytnij", + Strings.Copy to "Kopiuj", + Strings.Paste to "Wklej", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pt.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pt.kt new file mode 100644 index 0000000000000..f90196bdd288b --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Pt.kt @@ -0,0 +1,44 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.pt() = mapOf( + Strings.SelectAll to "Selecionar tudo", + Strings.Cut to "Recortar", + Strings.Copy to "Copiar", + Strings.Paste to "Colar", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ptBR() = mapOf( + Strings.SelectAll to "Selecionar tudo", + Strings.Cut to "Recortar", + Strings.Copy to "Copiar", + Strings.Paste to "Colar", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ptPT() = mapOf( + Strings.SelectAll to "Selecionar tudo", + Strings.Cut to "Cortar", + Strings.Copy to "Copiar", + Strings.Paste to "Colar", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ro.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ro.kt new file mode 100644 index 0000000000000..02219b427c451 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ro.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ro() = mapOf( + Strings.SelectAll to "Selectează-le pe toate", + Strings.Cut to "Decupează", + Strings.Copy to "Copiază", + Strings.Paste to "Inserează", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ru.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ru.kt new file mode 100644 index 0000000000000..a19f563aa609a --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ru.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ru() = mapOf( + Strings.SelectAll to "Выбрать все", + Strings.Cut to "Вырезать", + Strings.Copy to "Копировать", + Strings.Paste to "Вставить", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Si.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Si.kt new file mode 100644 index 0000000000000..4098bd0d5c84a --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Si.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.si() = mapOf( + Strings.SelectAll to "සියල්ල තෝරන්න", + Strings.Cut to "කපන්න", + Strings.Copy to "පිටපත් කරන්න", + Strings.Paste to "අලවන්න", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sk.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sk.kt new file mode 100644 index 0000000000000..4ddca9dec82b0 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sk.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sk() = mapOf( + Strings.SelectAll to "Vybrať všetko", + Strings.Cut to "Vystrihnúť", + Strings.Copy to "Kopírovať", + Strings.Paste to "Prilepiť", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sl.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sl.kt new file mode 100644 index 0000000000000..57625018dd4d8 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sl.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sl() = mapOf( + Strings.SelectAll to "Izberi vse", + Strings.Cut to "Izreži", + Strings.Copy to "Kopiraj", + Strings.Paste to "Prilepi", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sq.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sq.kt new file mode 100644 index 0000000000000..0d27395c25407 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sq.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sq() = mapOf( + Strings.SelectAll to "Përzgjidhi të gjitha", + Strings.Cut to "Pri", + Strings.Copy to "Kopjo", + Strings.Paste to "Ngjit", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sr.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sr.kt new file mode 100644 index 0000000000000..3e6d1323ab989 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sr.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sr() = mapOf( + Strings.SelectAll to "Изабери све", + Strings.Cut to "Исеци", + Strings.Copy to "Копирај", + Strings.Paste to "Налепи", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sv.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sv.kt new file mode 100644 index 0000000000000..ff12db9b1d76d --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sv.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sv() = mapOf( + Strings.SelectAll to "Markera allt", + Strings.Cut to "Klipp ut", + Strings.Copy to "Kopiera", + Strings.Paste to "Klistra in", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sw.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sw.kt new file mode 100644 index 0000000000000..900b3ebf2f37f --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Sw.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.sw() = mapOf( + Strings.SelectAll to "Chagua zote", + Strings.Cut to "Kata", + Strings.Copy to "Nakili", + Strings.Paste to "Bandika", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ta.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ta.kt new file mode 100644 index 0000000000000..307c9d71d8436 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ta.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ta() = mapOf( + Strings.SelectAll to "அனைத்தையும் தேர்ந்தெடு", + Strings.Cut to "வெட்டு", + Strings.Copy to "நகலெடு", + Strings.Paste to "ஒட்டு", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Te.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Te.kt new file mode 100644 index 0000000000000..7069cf0c5bb64 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Te.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.te() = mapOf( + Strings.SelectAll to "అన్నింటినీ ఎంచుకోండి", + Strings.Cut to "కత్తిరించండి", + Strings.Copy to "కాపీ చేయండి", + Strings.Paste to "పేస్ట్ చేయండి", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Th.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Th.kt new file mode 100644 index 0000000000000..2875ba8a8e8ba --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Th.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.th() = mapOf( + Strings.SelectAll to "เลือกทั้งหมด", + Strings.Cut to "ตัด", + Strings.Copy to "คัดลอก", + Strings.Paste to "วาง", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tl.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tl.kt new file mode 100644 index 0000000000000..a680edd49c04d --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tl.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.tl() = mapOf( + Strings.SelectAll to "Piliin lahat", + Strings.Cut to "I-cut", + Strings.Copy to "Kopyahin", + Strings.Paste to "I-paste", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tr.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tr.kt new file mode 100644 index 0000000000000..8d2b73cdb074a --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Tr.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.tr() = mapOf( + Strings.SelectAll to "Tümünü seç", + Strings.Cut to "Kes", + Strings.Copy to "Kopyala", + Strings.Paste to "Yapıştır", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Translations.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Translations.kt new file mode 100644 index 0000000000000..6357aa612d3d3 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Translations.kt @@ -0,0 +1,111 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Translations + +/** + * Maps each locale tag we have a translation for to a function that creates the translation. + */ +internal val TranslationProviderByLocaleTag = mapOf( + "" to Translations::en, + "en_AU" to Translations::enAU, + "en_CA" to Translations::enCA, + "en_GB" to Translations::enGB, + "en_IN" to Translations::enIN, + "af" to Translations::af, + "am" to Translations::am, + "ar" to Translations::ar, + "as" to Translations::`as`, + "az" to Translations::az, + "be" to Translations::be, + "bg" to Translations::bg, + "bn" to Translations::bn, + "bs" to Translations::bs, + "ca" to Translations::ca, + "cs" to Translations::cs, + "da" to Translations::da, + "de" to Translations::de, + "el" to Translations::el, + "es" to Translations::es, + "es_US" to Translations::esUS, + "et" to Translations::et, + "eu" to Translations::eu, + "fa" to Translations::fa, + "fi" to Translations::fi, + "fr" to Translations::fr, + "fr_CA" to Translations::frCA, + "gl" to Translations::gl, + "gu" to Translations::gu, + "hi" to Translations::hi, + "hr" to Translations::hr, + "hu" to Translations::hu, + "hy" to Translations::hy, + "in" to Translations::`in`, + "id" to Translations::`in`, + "is" to Translations::`is`, + "it" to Translations::it, + "iw" to Translations::iw, + "he" to Translations::iw, + "ja" to Translations::ja, + "ka" to Translations::ka, + "kk" to Translations::kk, + "km" to Translations::km, + "kn" to Translations::kn, + "ko" to Translations::ko, + "ky" to Translations::ky, + "lo" to Translations::lo, + "lt" to Translations::lt, + "lv" to Translations::lv, + "mk" to Translations::mk, + "ml" to Translations::ml, + "mn" to Translations::mn, + "mr" to Translations::mr, + "ms" to Translations::ms, + "my" to Translations::my, + "nb" to Translations::nb, + "ne" to Translations::ne, + "nl" to Translations::nl, + "or" to Translations::or, + "pa" to Translations::pa, + "pl" to Translations::pl, + "pt" to Translations::pt, + "pt_BR" to Translations::ptBR, + "pt_PT" to Translations::ptPT, + "ro" to Translations::ro, + "ru" to Translations::ru, + "si" to Translations::si, + "sk" to Translations::sk, + "sl" to Translations::sl, + "sq" to Translations::sq, + "sr" to Translations::sr, + "sv" to Translations::sv, + "sw" to Translations::sw, + "ta" to Translations::ta, + "te" to Translations::te, + "th" to Translations::th, + "tl" to Translations::tl, + "tr" to Translations::tr, + "uk" to Translations::uk, + "ur" to Translations::ur, + "uz" to Translations::uz, + "vi" to Translations::vi, + "zh_CN" to Translations::zhCN, + "zh_HK" to Translations::zhHK, + "zh_TW" to Translations::zhTW, + "zu" to Translations::zu, +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uk.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uk.kt new file mode 100644 index 0000000000000..25db4f1e4a894 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uk.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.uk() = mapOf( + Strings.SelectAll to "Вибрати все", + Strings.Cut to "Вирізати", + Strings.Copy to "Копіювати", + Strings.Paste to "Вставити", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ur.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ur.kt new file mode 100644 index 0000000000000..b62a07ec7ca54 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Ur.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.ur() = mapOf( + Strings.SelectAll to "سبھی کو منتخب کریں", + Strings.Cut to "کاٹیں", + Strings.Copy to "کاپی کریں", + Strings.Paste to "پیسٹ کریں", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uz.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uz.kt new file mode 100644 index 0000000000000..b0c95d41b84e0 --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Uz.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.uz() = mapOf( + Strings.SelectAll to "Hammasini belgilash", + Strings.Cut to "Kesib olish", + Strings.Copy to "Nusxa olish", + Strings.Paste to "Joylash", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Vi.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Vi.kt new file mode 100644 index 0000000000000..6920712b831de --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Vi.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.vi() = mapOf( + Strings.SelectAll to "Chọn tất cả", + Strings.Cut to "Cắt", + Strings.Copy to "Sao chép", + Strings.Paste to "Dán", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zh.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zh.kt new file mode 100644 index 0000000000000..b0c1adac3b32e --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zh.kt @@ -0,0 +1,44 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhCN() = mapOf( + Strings.SelectAll to "全选", + Strings.Cut to "剪切", + Strings.Copy to "复制", + Strings.Paste to "粘贴", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhHK() = mapOf( + Strings.SelectAll to "全部選取", + Strings.Cut to "剪下", + Strings.Copy to "複製", + Strings.Paste to "貼上", +) + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zhTW() = mapOf( + Strings.SelectAll to "全部選取", + Strings.Cut to "剪下", + Strings.Copy to "複製", + Strings.Paste to "貼上", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zu.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zu.kt new file mode 100644 index 0000000000000..2b2efe480945d --- /dev/null +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/l10n/Zu.kt @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform.l10n + +import androidx.compose.ui.platform.Strings +import androidx.compose.ui.platform.Translations + +@Suppress("UnusedReceiverParameter", "DuplicatedCode") +internal fun Translations.zu() = mapOf( + Strings.SelectAll to "Khetha konke", + Strings.Cut to "Nqamula", + Strings.Copy to "Kopisha", + Strings.Paste to "Namathisela", +) diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/window/Application.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/window/Application.desktop.kt index 788c04289a50f..042577267a53c 100644 --- a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/window/Application.desktop.kt +++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/window/Application.desktop.kt @@ -37,6 +37,8 @@ import androidx.compose.ui.configureSwingGlobalsForCompose import androidx.compose.ui.platform.GlobalSnapshotManager import androidx.compose.ui.platform.LocalDensity import androidx.compose.ui.platform.LocalLayoutDirection +import androidx.compose.ui.platform.LocalLocalization +import androidx.compose.ui.platform.defaultPlatformLocalization import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.launch @@ -222,7 +224,11 @@ suspend fun awaitApplication( // Resources which are defined at the application level can use // density to calculate intrinsicSize LocalDensity provides GlobalDensity, - LocalLayoutDirection provides GlobalLayoutDirection + LocalLayoutDirection provides GlobalLayoutDirection, + // This is also provided in `ProvidePlatformCompositionLocals`, but + // for backwards compatibility we need to provide it in the + // application scope too. + LocalLocalization provides defaultPlatformLocalization() ) { applicationScope.content() } @@ -245,7 +251,7 @@ suspend fun awaitApplication( interface ApplicationScope { /** * Close all windows created inside the application and cancel all launched effects - * (they launch via [LaunchedEffect] and [rememberCoroutineScope]. + * (they launch via [LaunchedEffect] and [rememberCoroutineScope]). */ fun exitApplication() } diff --git a/compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/PlatformLocalizationTest.kt b/compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/PlatformLocalizationTest.kt new file mode 100644 index 0000000000000..5e3856a644034 --- /dev/null +++ b/compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/PlatformLocalizationTest.kt @@ -0,0 +1,116 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform + +import androidx.compose.foundation.ContextMenuState +import androidx.compose.foundation.ExperimentalFoundationApi +import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.size +import androidx.compose.foundation.text.LocalTextContextMenu +import androidx.compose.foundation.text.TextContextMenu +import androidx.compose.runtime.CompositionLocalProvider +import androidx.compose.ui.Modifier +import androidx.compose.ui.geometry.Rect +import androidx.compose.ui.test.ExperimentalTestApi +import androidx.compose.ui.test.onNodeWithText +import androidx.compose.ui.test.runComposeUiTest +import androidx.compose.ui.test.ComposeUiTest +import androidx.compose.ui.text.AnnotatedString +import androidx.compose.ui.unit.dp +import androidx.compose.ui.window.ApplicationScope +import androidx.compose.ui.window.runApplicationTest +import kotlin.test.Test +import kotlin.test.assertNotNull + +@OptIn(ExperimentalTestApi::class) +class PlatformLocalizationTest { + /** + * Verify that [LocalLocalization] exists in [ApplicationScope]. + */ + @Test + fun platformLocalizationExistsByDefaultInApp() = runApplicationTest { + var localization: PlatformLocalization? = null + launchTestApplication { + localization = LocalLocalization.current + }.join() + + assertNotNull(localization) + } + + /** + * Verify that [LocalLocalization] is available to the composable passed to + * [ComposeUiTest.setContent]. + */ + @Test + fun platformLocalizationExistsByDefaultInTest() = runComposeUiTest { + var localization: PlatformLocalization? = null + setContent { + localization = LocalLocalization.current + } + + assertNotNull(localization) + } + + /** + * Verify that providing a [PlatformLocalization] in [LocalLocalization] correctly overrides the + * default one. + */ + @OptIn(ExperimentalFoundationApi::class) + @Test + fun canOverridePlatformLocalizationInContextMenuArea() = runComposeUiTest { + val customLocalization = object : PlatformLocalization { + override val copy: String + get() = "My Copy" + override val cut: String + get() = "My Cut" + override val paste: String + get() = "My Paste" + override val selectAll: String + get() = "My Select All" + } + + val textManager = object: TextContextMenu.TextManager { + override val selectedText: AnnotatedString + get() = AnnotatedString("") + override val cut = { println("Cutting") } + override val copy = { println("Copying") } + override val paste = { println("Pasting ")} + override val selectAll = { println("Selecting all") } + } + + setContent { + CompositionLocalProvider(LocalLocalization provides customLocalization) { + val state = ContextMenuState().also { + it.status = ContextMenuState.Status.Open(Rect(0f, 0f, 100f, 100f)) + } + LocalTextContextMenu.current.Area(textManager, state) { + Box(Modifier.size(200.dp)) + } + } + } + + onNodeWithText("My Copy").assertExists() + onNodeWithText("My Cut").assertExists() + onNodeWithText("My Paste").assertExists() + onNodeWithText("My Select All").assertExists() + + onNodeWithText("Copy").assertDoesNotExist() + onNodeWithText("Cut").assertDoesNotExist() + onNodeWithText("Paste").assertDoesNotExist() + onNodeWithText("Select All").assertDoesNotExist() + } +} \ No newline at end of file diff --git a/compose/material/material/src/jsWasmMain/kotlin/androidx/compose/material/Strings.js.kt b/compose/ui/ui/src/jsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt similarity index 61% rename from compose/material/material/src/jsWasmMain/kotlin/androidx/compose/material/Strings.js.kt rename to compose/ui/ui/src/jsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt index 6873b2d7c5f64..2f4f07ca67c0d 100644 --- a/compose/material/material/src/jsWasmMain/kotlin/androidx/compose/material/Strings.js.kt +++ b/compose/ui/ui/src/jsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt @@ -1,5 +1,5 @@ /* - * Copyright 2021 The Android Open Source Project + * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,13 @@ * limitations under the License. */ -package androidx.compose.material +package androidx.compose.ui.platform import androidx.compose.runtime.Composable @Composable -internal actual fun getString(string: Strings): String { - return when (string) { - Strings.NavigationMenu -> "Navigation menu" - Strings.CloseDrawer -> "Close navigation menu" - Strings.CloseSheet -> "Close sheet" - Strings.DefaultErrorMessage -> "Invalid input" - else -> "" - } +internal actual fun ProvidePlatformCompositionLocals( + content: @Composable () -> Unit +) { + content() } \ No newline at end of file diff --git a/compose/material/material/src/nativeMain/kotlin/androidx/compose/material/Strings.native.kt b/compose/ui/ui/src/nativeMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt similarity index 61% rename from compose/material/material/src/nativeMain/kotlin/androidx/compose/material/Strings.native.kt rename to compose/ui/ui/src/nativeMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt index 6873b2d7c5f64..2f4f07ca67c0d 100644 --- a/compose/material/material/src/nativeMain/kotlin/androidx/compose/material/Strings.native.kt +++ b/compose/ui/ui/src/nativeMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt @@ -1,5 +1,5 @@ /* - * Copyright 2021 The Android Open Source Project + * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,17 +14,13 @@ * limitations under the License. */ -package androidx.compose.material +package androidx.compose.ui.platform import androidx.compose.runtime.Composable @Composable -internal actual fun getString(string: Strings): String { - return when (string) { - Strings.NavigationMenu -> "Navigation menu" - Strings.CloseDrawer -> "Close navigation menu" - Strings.CloseSheet -> "Close sheet" - Strings.DefaultErrorMessage -> "Invalid input" - else -> "" - } +internal actual fun ProvidePlatformCompositionLocals( + content: @Composable () -> Unit +) { + content() } \ No newline at end of file diff --git a/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt b/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt new file mode 100644 index 0000000000000..6c96fb5eb6de8 --- /dev/null +++ b/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt @@ -0,0 +1,27 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform + +import androidx.compose.runtime.Composable + +/** + * Allows providing platform-specific composition locals. + */ +@Composable +internal expect fun ProvidePlatformCompositionLocals( + content: @Composable () -> Unit +) \ No newline at end of file diff --git a/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/Wrapper.skiko.kt b/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/Wrapper.skiko.kt index d6f02bb2bb86a..3669b39291af0 100644 --- a/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/Wrapper.skiko.kt +++ b/compose/ui/ui/src/skikoMain/kotlin/androidx/compose/ui/platform/Wrapper.skiko.kt @@ -20,12 +20,10 @@ import androidx.compose.runtime.Composition import androidx.compose.runtime.CompositionContext import androidx.compose.runtime.CompositionLocalContext import androidx.compose.runtime.CompositionLocalProvider -import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.ReusableComposition import androidx.compose.runtime.remember import androidx.compose.ui.ExperimentalComposeUiApi import androidx.compose.ui.node.LayoutNode -import androidx.compose.ui.node.Owner import androidx.compose.ui.node.RootNodeOwner /** @@ -49,8 +47,11 @@ internal fun RootNodeOwner.setContent( ProvideCommonCompositionLocals( owner = owner, uriHandler = remember { PlatformUriHandler() }, - content = content - ) + ) { + ProvidePlatformCompositionLocals( + content = content + ) + } } } return composition diff --git a/compose/ui/ui/src/wasmJsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt b/compose/ui/ui/src/wasmJsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt new file mode 100644 index 0000000000000..2f4f07ca67c0d --- /dev/null +++ b/compose/ui/ui/src/wasmJsMain/kotlin/androidx/compose/ui/platform/PlatformCompositionLocals.kt @@ -0,0 +1,26 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package androidx.compose.ui.platform + +import androidx.compose.runtime.Composable + +@Composable +internal actual fun ProvidePlatformCompositionLocals( + content: @Composable () -> Unit +) { + content() +} \ No newline at end of file