From 28695652fb54317de568ac7adc0df9a5425730bc Mon Sep 17 00:00:00 2001 From: demmm Date: Thu, 7 May 2015 18:08:18 -0400 Subject: [PATCH] Update readme with show.qml example --- src/branding/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/branding/README.md b/src/branding/README.md index eefc7450a..59fb2fe76 100644 --- a/src/branding/README.md +++ b/src/branding/README.md @@ -5,3 +5,5 @@ Branding components go here. A branding component is a subdirectory with a branding.desc descriptor file, containing brand-specific strings in a key-value structure, plus brand-specific images or QML. Such a subdirectory, when placed here, is automatically picked up by CMake and made available to Calamares. QML files in a branding component can be translated. Translations should be placed in a subdirectory `lang` of the branding component directory. Qt translation files are supported (`.ts` sources which get compiled into `.qm`). Inside the `lang` subdirectory all translation files must be named according to the scheme `calamares-_.qm`. + +Text in your show.qml should be enclosed in this form for translations `text: qsTr("This is an example text.")`