i18npool/source/localedata/data/ja_JP.xml |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

New commits:
commit a5f62d96b124564f522eac7925e9c3d22c37e503
Author: Isamu Mogi <saturda...@gmail.com>
Date:   Tue Jun 10 12:47:32 2014 +0900

    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 <er...@redhat.com>
    Tested-by: Eike Rathke <er...@redhat.com>

diff --git a/i18npool/source/localedata/data/ja_JP.xml 
b/i18npool/source/localedata/data/ja_JP.xml
index 90a78ff..5cca653 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">
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to