i18npool/Library_localedata_euro.mk | 1 i18npool/source/localedata/data/ro_MD.xml | 96 ++++++++++++++++++++++++++++++ i18npool/source/localedata/localedata.cxx | 1 3 files changed, 98 insertions(+)
New commits: commit d5a303aa28c863cc92dddf640de83e35c9a463af Author: Xisco Fauli <[email protected]> AuthorDate: Thu Jul 10 13:43:08 2025 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Fri Jul 11 08:27:43 2025 +0200 tdf#136753: Add Moldavian locale According to https://www.localeplanet.com/icu/ro-MD/index.html the short weekdays differ from ro-RO Change-Id: Ie1b9632d2b621e57f8e1040bca4996e4c1ee46c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187629 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/i18npool/Library_localedata_euro.mk b/i18npool/Library_localedata_euro.mk index d4e962d85dee..2cb5dd0656bb 100644 --- a/i18npool/Library_localedata_euro.mk +++ b/i18npool/Library_localedata_euro.mk @@ -91,6 +91,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_euro,\ CustomTarget/i18npool/localedata/localedata_pt_BR \ CustomTarget/i18npool/localedata/localedata_pt_MZ \ CustomTarget/i18npool/localedata/localedata_pt_PT \ + CustomTarget/i18npool/localedata/localedata_ro_MD \ CustomTarget/i18npool/localedata/localedata_ro_RO \ CustomTarget/i18npool/localedata/localedata_rue_SK \ CustomTarget/i18npool/localedata/localedata_ru_RU \ diff --git a/i18npool/source/localedata/data/ro_MD.xml b/i18npool/source/localedata/data/ro_MD.xml new file mode 100644 index 000000000000..dc29a43c286b --- /dev/null +++ b/i18npool/source/localedata/data/ro_MD.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Locale SYSTEM 'locale.dtd'> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you 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 . + --> +<Locale versionDTD="2.0.3" allowUpdateFromCLDR="no" version="1.3"> + <LC_INFO> + <Language> + <LangID>ro</LangID> + <DefaultName>Romanian</DefaultName> + </Language> + <Country> + <CountryID>MD</CountryID> + <DefaultName>Moldova</DefaultName> + </Country> + </LC_INFO> + <LC_CTYPE ref="ro_RO"/> + <LC_FORMAT ref="ro_RO" replaceTo="[$L-818]"/> + <LC_COLLATION ref="ro_RO"/> + <LC_SEARCH ref="ro_RO"/> + <LC_INDEX ref="ro_RO"/> + <LC_CALENDAR> + <Calendar unoid="gregorian" default="true"> + <DaysOfWeek> + <Day> + <DayID>sun</DayID> + <DefaultAbbrvName>Dum</DefaultAbbrvName> + <DefaultFullName>duminică</DefaultFullName> + </Day> + <Day> + <DayID>mon</DayID> + <DefaultAbbrvName>Lun</DefaultAbbrvName> + <DefaultFullName>luni</DefaultFullName> + </Day> + <Day> + <DayID>tue</DayID> + <DefaultAbbrvName>Mar</DefaultAbbrvName> + <DefaultFullName>marți</DefaultFullName> + </Day> + <Day> + <DayID>wed</DayID> + <DefaultAbbrvName>Mie</DefaultAbbrvName> + <DefaultFullName>miercuri</DefaultFullName> + </Day> + <Day> + <DayID>thu</DayID> + <DefaultAbbrvName>Joi</DefaultAbbrvName> + <DefaultFullName>joi</DefaultFullName> + </Day> + <Day> + <DayID>fri</DayID> + <DefaultAbbrvName>Vin</DefaultAbbrvName> + <DefaultFullName>vineri</DefaultFullName> + </Day> + <Day> + <DayID>sat</DayID> + <DefaultAbbrvName>Sâm</DefaultAbbrvName> + <DefaultFullName>sâmbătă</DefaultFullName> + </Day> + </DaysOfWeek> + <MonthsOfYear ref="ro_RO" /> + <Eras ref="ro_RO" /> + <StartDayOfWeek> + <DayID>mon</DayID> + </StartDayOfWeek> + <MinimalDaysInFirstWeek>1</MinimalDaysInFirstWeek> + </Calendar> + </LC_CALENDAR> + <LC_CURRENCY> + <Currency default="true" usedInCompatibleFormatCodes="true"> + <CurrencyID>MDL</CurrencyID> + <CurrencySymbol>L</CurrencySymbol> + <BankSymbol>MDL</BankSymbol> + <CurrencyName>Leu</CurrencyName> + <DecimalPlaces>2</DecimalPlaces> + </Currency> + </LC_CURRENCY> + <LC_TRANSLITERATION ref="ro_RO"/> + <LC_MISC ref="ro_RO"/> + <LC_NumberingLevel ref="ro_RO"/> + <LC_OutLineNumberingLevel ref="ro_RO"/> +</Locale> diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 85fd6c7f6f53..f4b66802c906 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -180,6 +180,7 @@ constexpr struct { { "lt_LT", DataLocaleLibrary::EURO }, { "lv_LV", DataLocaleLibrary::EURO }, { "uk_UA", DataLocaleLibrary::EURO }, + { "ro_MD", DataLocaleLibrary::EURO }, { "ro_RO", DataLocaleLibrary::EURO }, { "cy_GB", DataLocaleLibrary::EURO }, { "bg_BG", DataLocaleLibrary::EURO },
