Skip to content

Commit 4b61770

Browse files
authored
Add Language Bundles (#314)
1 parent 2023160 commit 4b61770

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#Text Types
2+
#
3+
#XACT: Text with explicit importance for accessibility.
4+
#XBUT: Button
5+
#XCKL: Checkbox
6+
#XFLD: Field label
7+
#XLNK: Hyperlink
8+
#XMIT: Menu item (Menu item, either top-level like "File" or lower-level like "Save as...")
9+
#XMSG: Message
10+
#XRBL: Radio button
11+
#XSEL: Selection (Values in a drop-down list, or a status. For example: "In Process", "Shipped" or "Open".)
12+
#XTIT: Title (or heading) of a non-actionable user interface element like a column, wizard, or screen area.
13+
#XTOL: Explanatory text for an UI element, such as a tooltip, input help.
14+
#YINS: Instruction for a user, for example, a permanent text on a screen that introduces a group of fields.
15+
#----------------------------------------------------------------------------------------------------------------------
16+
#For text elements that are not supposed to be translated, use the text type NOTR
17+
#----------------------------------------------------------------------------------------------------------------------
18+
#Recommended pattern
19+
#
20+
#<TextType>:<AdditionalContextInformation>
21+
#If there is a maximum length restriction, please indicate as shown below.
22+
#<TextType>,<MaximumLength>:<AdditionalContextInformation>
23+
24+
####################################
25+
#XFLD: Content link of the attachment
26+
attachment_content=Content
27+
#XFLD: File name of the attachment
28+
attachment_fileName=File Name
29+
#XFLD: Malware scan status of the attachment
30+
attachment_status=Status
31+
#XFLD: Mime type of the attachment
32+
attachment_mimeType=MIME Type
33+
#XFLD: Note for the attachment
34+
attachment_note=Note
35+
#XTIT: Header label for Attachment
36+
attachment=Attachment
37+
#XTIT: Header label for Attachments
38+
attachments=Attachments

translation_v2.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"comment": "Configuration for TEW translation delivery",
3+
"collections": [
4+
{
5+
"collectionName": "cds-feature-attachments",
6+
"folders": [
7+
{
8+
"startingFolderPath": "cds-feature-attachments/src/main/resources/cds/**/i18n/**",
9+
"sourceFilters": [
10+
"*.properties"
11+
]
12+
}
13+
]
14+
}
15+
],
16+
"defaultConfiguration": {
17+
"targetFolderPath": ".",
18+
"pseudoLocFolderPath": ".",
19+
"oneQFolderPath": ".",
20+
"targetFileNamingConvention": "[filename]_[langCode].[extension]"
21+
}
22+
}

0 commit comments

Comments
 (0)