diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-02-15 20:04:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-02-15 21:03:19 +0000 |
commit | 847f9b446f6d87e9de0b438d07a3b2cc8a0ad88c (patch) | |
tree | 2e5a02359c1e1ebe96ae5dc894aeb79af7fc28b2 /test | |
parent | c8003c409f8ea307ad66b6b3607b4864f41cfd78 (diff) |
Add a rudimentary test for localized properties
Change-Id: I9abe06e6f1f2b6b39cbbf07043dd9c5062ff0460
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147108
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/user-template/registry-common/modifications.xcd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/user-template/registry-common/modifications.xcd b/test/user-template/registry-common/modifications.xcd index b5e3ad6f9fd1..1d31141bb04b 100644 --- a/test/user-template/registry-common/modifications.xcd +++ b/test/user-template/registry-common/modifications.xcd @@ -8,6 +8,19 @@ * --> <oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oor="http://openoffice.org/2001/registry"> + <oor:component-schema oor:package="org.libreoffice" oor:name="unittest"> + <component> + <prop oor:name="localized" oor:localized="true" oor:type="xs:string"> + </prop> + </component> + </oor:component-schema> + <oor:component-data oor:package="org.libreoffice" oor:name="unittest"> + <prop oor:name="localized"> + <value>default</value> + <value xml:lang="en-US">en-US</value> + <value xml:lang="pt-PT">pt-PT</value> + </prop> + </oor:component-data> <oor:component-data xmlns:install="http://openoffice.org/2004/installation" oor:name="VCL" oor:package="org.openoffice"> <node oor:name="DefaultFonts"> <node oor:name="ar"> |