Kaydet (Commit) 61c713bf authored tarafından László Németh's avatar László Németh

tdf#118127 fix date format duplications in Hungarian locale

– by adding and using narrow month names "jan."–"dec." (abbreviated
month names are still Roman numbers for back-compatibility);

– by adding ortographically incorrect, but "interoperable/back-compatible"
  typewriter & Excel format "YYYY.M.D.";

– by replacing one of the "YYYY. MMM. D." by "YYYY. MM. DD.".

Other changes:

– replacing incorrect "YYYY. M. D." format with the ortographically
  correct "YYYY. MM. DD." format. We keep its long YYYY format for
  back-compatibility. (This system format is visible only on the extra
  page of the Date formatting list, so it's not an annoying duplication.)

– abbreviated eras use non-breaking narrow spaces.

Note: there is also a not so annoying duplication, the "YYYY-MM-DD HH:MM:SS",
not on the first page of the date list in the dialog window and not in the
XML file, but only on the second page of the date list. For back-compatibility,
we keep this format in the XML file.

Change-Id: I4c49d637710295395b75034aa50015a5f3719d89
Reviewed-on: https://gerrit.libreoffice.org/59171
Tested-by: Jenkins
Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
üst 05cc10da
......@@ -106,28 +106,28 @@
<FormatCode># ##0,-- [$Ft-40E];[RED]-# ##0,-- [$Ft-40E]</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey1" default="true" type="short" usage="DATE" formatindex="18">
<FormatCode>YYYY". "M". "D.</FormatCode>
<FormatCode>YYYY". "MM". "DD.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey9" default="true" type="long" usage="DATE" formatindex="19">
<FormatCode>YYYY". "MMMM D.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey8" default="false" type="medium" usage="DATE" formatindex="20">
<FormatCode>YY-MM-DD</FormatCode>
<FormatCode>YY.MM.DD.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey7" default="false" type="medium" usage="DATE" formatindex="21">
<FormatCode>YYYY-MM-DD</FormatCode>
<FormatCode>YYYY.MM.DD.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey10" default="false" type="long" usage="DATE" formatindex="22">
<FormatCode>YY". "MMM D.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey11" default="false" type="long" usage="DATE" formatindex="23">
<FormatCode>YYYY". "MMM D.</FormatCode>
<FormatCode>YYYY". "MM". "DD.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey16" default="false" type="long" usage="DATE" formatindex="24">
<FormatCode>YYYY". "MMM D.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey12" default="false" type="long" usage="DATE" formatindex="25">
<FormatCode>YYYY". "MMMM D.</FormatCode>
<FormatCode>YYYY". "MMMMM D.</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey17" default="false" type="long" usage="DATE" formatindex="26">
<FormatCode>YYYY". "MMMM D.</FormatCode>
......@@ -139,7 +139,7 @@
<FormatCode>YYYY". "MMM D., NNN</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey14" default="false" type="long" usage="DATE" formatindex="29">
<FormatCode>YYYY". "MMMM D., NN</FormatCode>
<FormatCode>YYYY". "MMMMM D., NNN</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey15" default="false" type="long" usage="DATE" formatindex="30">
<FormatCode>YYYY". "MMMM D., NNN</FormatCode>
......@@ -296,7 +296,7 @@
<FormatCode>YY-MM-DD HH:MM</FormatCode>
</FormatElement>
<FormatElement msgid="DateTimeFormatskey2" default="false" type="medium" usage="DATE_TIME" formatindex="47">
<FormatCode>YYYY-MM-DD HH:MM:SS</FormatCode>
<FormatCode>YYYY.MM.DD. HH:MM:SS</FormatCode>
</FormatElement>
</LC_FORMAT>
<LC_COLLATION>
......@@ -359,72 +359,84 @@
<MonthID>jan</MonthID>
<DefaultAbbrvName>I.</DefaultAbbrvName>
<DefaultFullName>január</DefaultFullName>
<DefaultNarrowName>jan.</DefaultNarrowName>
</Month>
<Month>
<MonthID>feb</MonthID>
<DefaultAbbrvName>II.</DefaultAbbrvName>
<DefaultFullName>február</DefaultFullName>
<DefaultNarrowName>febr.</DefaultNarrowName>
</Month>
<Month>
<MonthID>mar</MonthID>
<DefaultAbbrvName>III.</DefaultAbbrvName>
<DefaultFullName>március</DefaultFullName>
<DefaultNarrowName>márc.</DefaultNarrowName>
</Month>
<Month>
<MonthID>apr</MonthID>
<DefaultAbbrvName>IV.</DefaultAbbrvName>
<DefaultFullName>április</DefaultFullName>
<DefaultNarrowName>ápr.</DefaultNarrowName>
</Month>
<Month>
<MonthID>may</MonthID>
<DefaultAbbrvName>V.</DefaultAbbrvName>
<DefaultFullName>május</DefaultFullName>
<DefaultNarrowName>máj.</DefaultNarrowName>
</Month>
<Month>
<MonthID>jun</MonthID>
<DefaultAbbrvName>VI.</DefaultAbbrvName>
<DefaultFullName>június</DefaultFullName>
<DefaultNarrowName>jún.</DefaultNarrowName>
</Month>
<Month>
<MonthID>jul</MonthID>
<DefaultAbbrvName>VII.</DefaultAbbrvName>
<DefaultFullName>július</DefaultFullName>
<DefaultNarrowName>júl.</DefaultNarrowName>
</Month>
<Month>
<MonthID>aug</MonthID>
<DefaultAbbrvName>VIII.</DefaultAbbrvName>
<DefaultFullName>augusztus</DefaultFullName>
<DefaultNarrowName>aug.</DefaultNarrowName>
</Month>
<Month>
<MonthID>sep</MonthID>
<DefaultAbbrvName>IX.</DefaultAbbrvName>
<DefaultFullName>szeptember</DefaultFullName>
<DefaultNarrowName>szept.</DefaultNarrowName>
</Month>
<Month>
<MonthID>oct</MonthID>
<DefaultAbbrvName>X.</DefaultAbbrvName>
<DefaultFullName>október</DefaultFullName>
<DefaultNarrowName>okt.</DefaultNarrowName>
</Month>
<Month>
<MonthID>nov</MonthID>
<DefaultAbbrvName>XI.</DefaultAbbrvName>
<DefaultFullName>november</DefaultFullName>
<DefaultNarrowName>nov.</DefaultNarrowName>
</Month>
<Month>
<MonthID>dec</MonthID>
<DefaultAbbrvName>XII.</DefaultAbbrvName>
<DefaultFullName>december</DefaultFullName>
<DefaultNarrowName>dec.</DefaultNarrowName>
</Month>
</MonthsOfYear>
<Eras>
<Era>
<EraID>bc</EraID>
<DefaultAbbrvName>i. e.</DefaultAbbrvName>
<DefaultAbbrvName>i.e.</DefaultAbbrvName>
<DefaultFullName>i. e.</DefaultFullName>
</Era>
<Era>
<EraID>ad</EraID>
<DefaultAbbrvName>i. sz.</DefaultAbbrvName>
<DefaultAbbrvName>i.sz.</DefaultAbbrvName>
<DefaultFullName>i. sz.</DefaultFullName>
</Era>
</Eras>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment