summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorIsamu Mogi <saturday6c@gmail.com>2014-06-10 12:47:32 +0900
committerEike Rathke <erack@redhat.com>2014-06-11 14:59:12 +0000
commita5f62d96b124564f522eac7925e9c3d22c37e503 (patch)
tree434c29abfab30d671ed2a370435f5231568c178e /i18npool
parent90d8b417cab85dc911fe6b69ddf6cca0679abd04 (diff)
Fix to be able to edit seconds in Japanese date/datetime cells
Currently seconds in Japanese date/datetime cells can't be edited. But i18npool/source/localedata/data/locale.dtd and offapi/com/sun/star/i18n/NumberFormatIndex.idl say that seconds in time/datetime cells should be editable. And Japanese users reported that current behavior is inconvenient. Also to retain relativity against @formatindex='40', each [@usage='TIME']/@type are shorten. For better backward compatibility, @formatindex='55' should be default format. But since there is implementation limit of SvNumberFormatter::ImpGenerateFormats, @formatindex>=50 can't be default one. These changes are discussed in Japanese ML: http://listarchives.libreoffice.org/ja/discuss/msg03044.html Change-Id: I074b8d6d5c9d69b8ba1eb14c29b661d753c003ad Reviewed-on: https://gerrit.libreoffice.org/9703 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/data/ja_JP.xml23
1 files changed, 13 insertions, 10 deletions
diff --git a/i18npool/source/localedata/data/ja_JP.xml b/i18npool/source/localedata/data/ja_JP.xml
index 90a78ff1b782..5cca653c1d75 100644
--- a/i18npool/source/localedata/data/ja_JP.xml
+++ b/i18npool/source/localedata/data/ja_JP.xml
@@ -171,37 +171,40 @@
<FormatElement msgid="DateFormatskey21" default="false" type="medium" usage="DATE" formatindex="38">
<FormatCode>WW 1</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey1" default="true" type="medium" usage="TIME" formatindex="39">
+ <FormatElement msgid="TimeFormatskey1" default="true" type="short" usage="TIME" formatindex="39">
<FormatCode>H:MM</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey2" default="true" type="long" usage="TIME" formatindex="40">
+ <FormatElement msgid="TimeFormatskey2" default="true" type="medium" usage="TIME" formatindex="40">
<FormatCode>HH:MM:SS</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey3" default="false" type="medium" usage="TIME" formatindex="41">
+ <FormatElement msgid="TimeFormatskey3" default="false" type="short" usage="TIME" formatindex="41">
<FormatCode>AM/PM H:MM</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey4" default="false" type="long" usage="TIME" formatindex="42">
+ <FormatElement msgid="TimeFormatskey4" default="false" type="medium" usage="TIME" formatindex="42">
<FormatCode>AM/PM H:MM:SS</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey5" default="false" type="long" usage="TIME" formatindex="43">
+ <FormatElement msgid="TimeFormatskey5" default="false" type="medium" usage="TIME" formatindex="43">
<FormatCode>[HH]:MM:SS</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey6" default="false" type="medium" usage="TIME" formatindex="44">
+ <FormatElement msgid="TimeFormatskey6" default="false" type="short" usage="TIME" formatindex="44">
<FormatCode>MM:SS.00</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey7" default="false" type="long" usage="TIME" formatindex="45">
+ <FormatElement msgid="TimeFormatskey7" default="false" type="medium" usage="TIME" formatindex="45">
<FormatCode>[HH]:MM:SS.00</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey8" default="false" type="medium" usage="TIME" formatindex="52">
+ <FormatElement msgid="TimeFormatskey8" default="false" type="short" usage="TIME" formatindex="52">
<FormatCode>H時MM分</FormatCode>
</FormatElement>
- <FormatElement msgid="TimeFormatskey9" default="false" type="long" usage="TIME" formatindex="53">
+ <FormatElement msgid="TimeFormatskey9" default="false" type="medium" usage="TIME" formatindex="53">
<FormatCode>H時MM分SS秒</FormatCode>
</FormatElement>
<FormatElement msgid="DateTimeFormatskey1" default="false" type="long" usage="DATE_TIME" formatindex="46">
<FormatCode>YY/MM/DD HH:MM</FormatCode>
</FormatElement>
- <FormatElement msgid="DateTimeFormatskey2" default="true" type="long" usage="DATE_TIME" formatindex="47">
+ <FormatElement msgid="DateTimeFormatskey3" default="true" type="long" usage="DATE_TIME" formatindex="47">
+ <FormatCode>YYYY/M/D H:MM:SS</FormatCode>
+ </FormatElement>
+ <FormatElement msgid="DateTimeFormatskey2" default="false" type="long" usage="DATE_TIME" formatindex="55">
<FormatCode>YYYY/M/D H:MM</FormatCode>
</FormatElement>
<FormatElement msgid="DateFormatskey22" default="false" type="medium" usage="DATE" formatindex="54">