Extract translations from modcontent chrome

This commit is contained in:
Gustas
2024-10-04 15:37:04 +03:00
committed by Paul Chote
parent ef1390bbdf
commit 53218414f8
3 changed files with 29 additions and 16 deletions

View File

@@ -17,7 +17,7 @@ Background@CONTENT_PANEL:
Y: 14 Y: 14
Width: PARENT_WIDTH Width: PARENT_WIDTH
Height: 25 Height: 25
Text: Manage Content Text: label-content-panel-title
Align: Center Align: Center
Font: MediumBold Font: MediumBold
Label@HEADER_TEMPLATE: Label@HEADER_TEMPLATE:
@@ -51,7 +51,7 @@ Background@CONTENT_PANEL:
Align: Center Align: Center
Font: Bold Font: Bold
TextColor: CC0000 TextColor: CC0000
Text: Required Text: label-package-template-required
Image@SOURCE: Image@SOURCE:
X: 275 X: 275
Y: 2 Y: 2
@@ -67,7 +67,7 @@ Background@CONTENT_PANEL:
Width: 100 Width: 100
Height: 23 Height: 23
Background: button-highlighted-thin Background: button-highlighted-thin
Text: Download Text: button-package-template-download
Label@INSTALLED: Label@INSTALLED:
X: 304 X: 304
Width: 100 Width: 100
@@ -75,7 +75,7 @@ Background@CONTENT_PANEL:
Align: Center Align: Center
Font: Bold Font: Bold
TextColor: 00CC00 TextColor: 00CC00
Text: Installed Text: label-package-template-installed
Label@REQUIRES_SOURCE: Label@REQUIRES_SOURCE:
X: 304 X: 304
Width: 100 Width: 100
@@ -83,14 +83,14 @@ Background@CONTENT_PANEL:
Align: Center Align: Center
Font: Bold Font: Bold
TextColor: DDDDDD TextColor: DDDDDD
Text: Requires Disc Text: label-package-template-requires-source
Button@CHECK_SOURCE_BUTTON: Button@CHECK_SOURCE_BUTTON:
X: 30 X: 30
Y: PARENT_HEIGHT - 52 Y: PARENT_HEIGHT - 52
Background: button-highlighted Background: button-highlighted
Width: 200 Width: 200
Height: 32 Height: 32
Text: Detect Disc or Installation Text: button-content-panel-check-source
Font: Bold Font: Bold
Button@BACK_BUTTON: Button@BACK_BUTTON:
X: PARENT_WIDTH - 140 X: PARENT_WIDTH - 140
@@ -98,7 +98,7 @@ Background@CONTENT_PANEL:
Background: button-highlighted Background: button-highlighted
Width: 110 Width: 110
Height: 32 Height: 32
Text: Back Text: button-back
Font: Bold Font: Bold
Key: escape Key: escape
TooltipContainer@TOOLTIP_CONTAINER: TooltipContainer@TOOLTIP_CONTAINER:
@@ -112,7 +112,7 @@ Background@SOURCE_TOOLTIP:
X: 5 X: 5
Height: 23 Height: 23
Font: Bold Font: Bold
Text: Content available from: Text: label-source-tooltip-description
Container@SOURCES: Container@SOURCES:
Y: 15 Y: 15
Width: PARENT_WIDTH - 10 Width: PARENT_WIDTH - 10
@@ -179,7 +179,7 @@ Container@PACKAGE_DOWNLOAD_PANEL:
Width: 120 Width: 120
Height: 32 Height: 32
Visible: false Visible: false
Text: Retry Text: button-retry
Font: Bold Font: Bold
Key: return Key: return
Button@CANCEL_BUTTON: Button@CANCEL_BUTTON:
@@ -188,7 +188,7 @@ Container@PACKAGE_DOWNLOAD_PANEL:
Background: button-highlighted Background: button-highlighted
Width: 110 Width: 110
Height: 32 Height: 32
Text: Cancel Text: button-cancel
Font: Bold Font: Bold
Key: escape Key: escape
@@ -204,7 +204,7 @@ Background@SOURCE_INSTALL_PANEL:
X: 30 X: 30
Y: 50 Y: 50
Width: 440 Width: 440
Height:150 Height: 150
Background: panel-rule Background: panel-rule
Label@TITLE: Label@TITLE:
Y: 12 Y: 12
@@ -340,7 +340,7 @@ Background@CONTENT_PROMPT_PANEL:
Y: 12 Y: 12
Width: PARENT_WIDTH Width: PARENT_WIDTH
Height: 25 Height: 25
Text: Install Content Text: label-content-prompt-panel-title
Align: Center Align: Center
Font: MediumBold Font: MediumBold
Label@HEADER_TEMPLATE: Label@HEADER_TEMPLATE:
@@ -356,7 +356,7 @@ Background@CONTENT_PROMPT_PANEL:
Background: button-highlighted Background: button-highlighted
Width: 140 Width: 140
Height: 32 Height: 32
Text: Advanced Install Text: button-content-prompt-panel-advanced
Font: Bold Font: Bold
Button@QUICK_BUTTON: Button@QUICK_BUTTON:
X: 185 X: 185
@@ -364,7 +364,7 @@ Background@CONTENT_PROMPT_PANEL:
Background: button-highlighted Background: button-highlighted
Width: 110 Width: 110
Height: 32 Height: 32
Text: Quick Install Text: button-content-prompt-panel-quick
Font: Bold Font: Bold
Button@QUIT_BUTTON: Button@QUIT_BUTTON:
X: PARENT_WIDTH - WIDTH - 30 X: PARENT_WIDTH - WIDTH - 30
@@ -372,7 +372,7 @@ Background@CONTENT_PROMPT_PANEL:
Background: button-highlighted Background: button-highlighted
Width: 110 Width: 110
Height: 32 Height: 32
Text: Quit Text: button-quit
Font: Bold Font: Bold
Key: escape Key: escape

View File

@@ -0,0 +1,12 @@
## modcontent|content.yaml
label-content-panel-title = Manage Content
label-package-template-required = Required
button-package-template-download = Download
label-package-template-installed = Installed
label-package-template-requires-source = Requires Disc
button-content-panel-check-source = Detect Disc or Installation
label-source-tooltip-description = Content available from:
button-package-download-panel-retry = Retry
label-content-prompt-panel-title = Install Content
button-content-prompt-panel-advanced = Advanced Install
button-content-prompt-panel-quick = Quick Install

View File

@@ -4,7 +4,7 @@ Metadata:
Hidden: true Hidden: true
FileSystem: DefaultFileSystem FileSystem: DefaultFileSystem
Packages: Packages:
^EngineDir ^EngineDir
^EngineDir|mods/modcontent: modcontent ^EngineDir|mods/modcontent: modcontent
^EngineDir|mods/common: common ^EngineDir|mods/common: common
@@ -38,6 +38,7 @@ ChromeMetrics:
Translations: Translations:
common|languages/en.ftl common|languages/en.ftl
modcontent|languages/en.ftl modcontent|languages/en.ftl
modcontent|languages/chrome/en.ftl
Fonts: Fonts:
Tiny: Tiny: