[Libreoffice-commits] core.git: sfx2/classification
Gabor Kelemen
kelemeng at ubuntu.com
Fri Sep 16 13:13:29 UTC 2016
sfx2/classification/example.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
New commits:
commit e488d3c9527e0e7cfd3dd56479db4ed6d4035ea3
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date: Fri Sep 16 12:20:53 2016 +0200
tdf#101088 Add comments about translatable elements of classification
Make it obvious which parts are translatable to avoid overtranslation
Change-Id: Ic2772f6d4c394189b6fa089906985a7fdae75b26
Reviewed-on: https://gerrit.libreoffice.org/28945
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/sfx2/classification/example.xml b/sfx2/classification/example.xml
index 053caeb..f2647f9 100644
--- a/sfx2/classification/example.xml
+++ b/sfx2/classification/example.xml
@@ -1,11 +1,14 @@
<?xml version="1.0"?>
<baf:BusinessAuthorization xmlns:baf="urn:tscp:names:baf:1.1">
+ <!-- Translators: this string can be localized -->
<baf:PolicyAuthorityName>TSCP Example Policy Authority</baf:PolicyAuthorityName>
+ <!-- Translators: this string can be localized -->
<baf:PolicyName>TSCP Example Policy</baf:PolicyName>
<baf:AdministrativeData>
<baf:ProgramID>urn:example:tscp:1</baf:ProgramID>
</baf:AdministrativeData>
<baf:Included>
+ <!-- Translators: the Name attribute in this string can be localized -->
<baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:non-business" Name="Non-Business">
<baf:LabelingRules/>
<baf:ImpactLevel>
@@ -13,10 +16,12 @@
<baf:ConfidentalityValue>0</baf:ConfidentalityValue>
</baf:ImpactLevel>
</baf:BusinessAuthorizationCategory>
+ <!-- Translators: the Name attribute in this string can be localized -->
<baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:general-business" Name="General Business">
<baf:LabelingRules>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Header</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>Classification: General Business</baf:Value>
</baf:VisualMarkingPart>
</baf:LabelingRules>
@@ -25,18 +30,22 @@
<baf:ConfidentalityValue>1</baf:ConfidentalityValue>
</baf:ImpactLevel>
</baf:BusinessAuthorizationCategory>
+ <!-- Translators: the Name attribute in this string can be localized -->
<baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:confidential" Name="Confidential">
<baf:LabelingRules>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Header</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>Classification: Confidential</baf:Value>
</baf:VisualMarkingPart>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Footer</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>This content is marked Confidential. Do not distribute it externally without business approval.</baf:Value>
</baf:VisualMarkingPart>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Watermark</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>Confidential</baf:Value>
</baf:VisualMarkingPart>
</baf:LabelingRules>
@@ -45,18 +54,22 @@
<baf:ConfidentalityValue>2</baf:ConfidentalityValue>
</baf:ImpactLevel>
</baf:BusinessAuthorizationCategory>
+ <!-- Translators: the Name attribute in this string can be localized -->
<baf:BusinessAuthorizationCategory Identifier="urn:example:tscp:1:internal-only" Name="Internal Only">
<baf:LabelingRules>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Header</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>Classification: Internal Only</baf:Value>
</baf:VisualMarkingPart>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Footer</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>This content is marked Internal Only. Do not distribute it outside of the business.</baf:Value>
</baf:VisualMarkingPart>
<baf:VisualMarkingPart>
<baf:Identifier>Document: Watermark</baf:Identifier>
+ <!-- Translators: this string can be localized -->
<baf:Value>Internal Only</baf:Value>
</baf:VisualMarkingPart>
</baf:LabelingRules>
More information about the Libreoffice-commits
mailing list