summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-02-08 09:17:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-02-09 08:51:52 +0100
commitc7ab472b47023c94c06de9e3479a2e0271084dfc (patch)
tree8283ef15bcb236a8a98fbdc3ebdf060c73af6c69 /officecfg
parentbcbb3c4f5b23acd4fe73c7d8b080d20c49d664f8 (diff)
/org.openoffice.Office.Writer/Layout/Other/TabStop should be localized
...as b1b3251478926251d4d1c3e9ef864171548d85b5 "INTEGRATION: CWS os103: #i81308# default tab stop in local zh-CN changed to 0.74 cm" added a special value for xml:lang="zh-CN", but failed to take into account that the property is not localized. Until now, every installation that had the zh-CN localization installed (but regardless of whether or not it was actually using it) would always have reported the special zh-CN value (740), while any other installation would always have reported the default value (1250). Unless the value was overwritten in registrymodifications.xcu (which, it turns out, it always was, see 35140501779622194337e630b274e74abeedca4d "Add missing no-modify mode for SwMasterUsrPref::Set* functions"; but could also have been done explicitly by the user by changing the Options dialog "LibreOffice Writer - General - Settings - Tab stops" setting). In which case the zh-CN localization will now use its default value (740), while all other localizations will use whatever value had been stored (without an xml:lang attribute) in registrymodifications.xcu. This is unfortunate (as the zh-CN localization may lose any value explicitly set by the user, while non-zh-CN localizations may continue to use a wrong default value, if the zh-CN localization is or ever had been installed). It should probably be mentioned in the release notes. (Strictly speaking, changing a property from non-localized to localized, as is done here as well as in e.g. ffd8369b909c86653ef30593fddf67c9f5308583 "rhbz#1541486: Fix localized'ness of ooSetupFactoryUIName props" is an incompatible change which 3rd-party code can observe through the css.configuration UNO API. But chances are extremely low that this will have any impact, as access to any property's value is normally done in a way that makes it transparent whether or not the property is localizied.) Change-Id: I6f49ecd9ac145dfe6825e727e72fffea515490ea Reviewed-on: https://gerrit.libreoffice.org/49433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Writer.xcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
index 2b6465cdee93..1ec64444ec0e 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Writer.xcs
@@ -1506,7 +1506,7 @@
</enumeration>
</constraints>
</prop>
- <prop oor:name="TabStop" oor:type="xs:int" oor:nillable="false">
+ <prop oor:name="TabStop" oor:type="xs:int" oor:nillable="false" oor:localized="true">
<!-- OldPath: Writer/Layout -->
<!-- OldLocation: Soffice.cfg -->
<!-- UIHints: Tools - Options - Text document - Layout - [Section] Tab stops -->