From 0c70951546845acecf89323c5d08e728b7725810 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 28 Apr 2015 17:59:50 +0300 Subject: [PATCH] 0023059: [CEA 1492] AppQuickStart: invalid translation files --- src/AppQuickStart/app-quickstart.py | 2 +- src/AppQuickStart/app-template/CMakeLists.txt | 4 ++-- src/AppQuickStart/app-template/doc/README | 2 +- src/AppQuickStart/app-template/doc/conf.py.in | 2 +- src/AppQuickStart/app-template/doc/index.rst | 2 +- src/AppQuickStart/app-template/doc/intro.rst | 2 +- src/AppQuickStart/app-template/resources/SalomeApp.xml.in | 4 ++-- src/AppQuickStart/app-template/resources/doc/README | 2 +- .../app-template/src/resources/LightApp_msg_en.ts | 6 +++--- .../app-template/src/resources/LightApp_msg_fr.ts | 6 +++--- src/AppQuickStart/app-template/src/tests/README | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/AppQuickStart/app-quickstart.py b/src/AppQuickStart/app-quickstart.py index f04439da2..dce16fe6c 100755 --- a/src/AppQuickStart/app-quickstart.py +++ b/src/AppQuickStart/app-quickstart.py @@ -169,7 +169,7 @@ def profileReplaceStrings( src, dst, options ) : l = l.replace( '[VERSION]', options.version ) l = l.replace( '[SLOGAN]', options.slogan ) l = l.replace( '[NAME_OF_APPLICATION]', options.name.upper() ) - l = l.replace( '', options.name ) + l = l.replace( '[Name_of_Application]', options.name ) l = l.replace( '(name_of_application)', options.name.lower() ) fout.write( l ) diff --git a/src/AppQuickStart/app-template/CMakeLists.txt b/src/AppQuickStart/app-template/CMakeLists.txt index c857705cd..1ce9f9ef4 100644 --- a/src/AppQuickStart/app-template/CMakeLists.txt +++ b/src/AppQuickStart/app-template/CMakeLists.txt @@ -17,7 +17,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) -PROJECT(Salome__Profile C CXX) +PROJECT(Salome_[Name_of_Application]_Profile C CXX) # Ensure a proper linker behavior: CMAKE_POLICY(SET CMP0003 NEW) @@ -48,7 +48,7 @@ ENDIF(EXISTS ${KERNEL_ROOT_DIR}) # User options # ============ OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON) -OPTION(SALOME_BUILD_DOC "Generate SALOME documentation" ON) +OPTION(SALOME_BUILD_DOC "Generate SALOME [Name_of_Application] documentation" ON) IF(SALOME_BUILD_TESTS) ENABLE_TESTING() diff --git a/src/AppQuickStart/app-template/doc/README b/src/AppQuickStart/app-template/doc/README index f5406ebfa..843a1fac6 100644 --- a/src/AppQuickStart/app-template/doc/README +++ b/src/AppQuickStart/app-template/doc/README @@ -1 +1 @@ -This directory contains the sources of 's documentation +This directory contains the sources of [Name_of_Application]'s documentation diff --git a/src/AppQuickStart/app-template/doc/conf.py.in b/src/AppQuickStart/app-template/doc/conf.py.in index c222fe4fe..580bdac9c 100644 --- a/src/AppQuickStart/app-template/doc/conf.py.in +++ b/src/AppQuickStart/app-template/doc/conf.py.in @@ -166,7 +166,7 @@ latex_font_size = '10pt' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, document class [howto/manual]). latex_documents = [ - ('index', '(name_of_application).tex', ' User Documentation', 'A. Ribes', 'manual') + ('index', '(name_of_application).tex', '[Name_of_Application] User Documentation', 'A. Ribes', 'manual') ] # The name of an image file (relative to this directory) to place at the top of diff --git a/src/AppQuickStart/app-template/doc/index.rst b/src/AppQuickStart/app-template/doc/index.rst index cb2b308ac..05713b9dc 100644 --- a/src/AppQuickStart/app-template/doc/index.rst +++ b/src/AppQuickStart/app-template/doc/index.rst @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -'s documentation +[Name_of_Application]'s documentation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Outline diff --git a/src/AppQuickStart/app-template/doc/intro.rst b/src/AppQuickStart/app-template/doc/intro.rst index e2baa234e..35461a67a 100644 --- a/src/AppQuickStart/app-template/doc/intro.rst +++ b/src/AppQuickStart/app-template/doc/intro.rst @@ -1,4 +1,4 @@ Introduction ========================================== -Welcome to 's documentation! +Welcome to [Name_of_Application]'s documentation! diff --git a/src/AppQuickStart/app-template/resources/SalomeApp.xml.in b/src/AppQuickStart/app-template/resources/SalomeApp.xml.in index 3a992ce48..fdf732553 100644 --- a/src/AppQuickStart/app-template/resources/SalomeApp.xml.in +++ b/src/AppQuickStart/app-template/resources/SalomeApp.xml.in @@ -17,7 +17,7 @@
- + @@ -25,6 +25,6 @@
- +
diff --git a/src/AppQuickStart/app-template/resources/doc/README b/src/AppQuickStart/app-template/resources/doc/README index 8f54bbbb4..4a8ab2bad 100644 --- a/src/AppQuickStart/app-template/resources/doc/README +++ b/src/AppQuickStart/app-template/resources/doc/README @@ -1 +1 @@ -This directory contains binaries of 's documentation +This directory contains binaries of [Name_of_Application]'s documentation diff --git a/src/AppQuickStart/app-template/src/resources/LightApp_msg_en.ts b/src/AppQuickStart/app-template/src/resources/LightApp_msg_en.ts index 4f7dfa198..4f9253159 100755 --- a/src/AppQuickStart/app-template/src/resources/LightApp_msg_en.ts +++ b/src/AppQuickStart/app-template/src/resources/LightApp_msg_en.ts @@ -9,11 +9,11 @@ ABOUT_CAPTION - About + About [Name_of_Application] APP_NAME - [SLOGAN] + [Name_of_Application] [SLOGAN] APP_VERSION @@ -29,7 +29,7 @@ ABOUT_TITLE - + [Name_of_Application] diff --git a/src/AppQuickStart/app-template/src/resources/LightApp_msg_fr.ts b/src/AppQuickStart/app-template/src/resources/LightApp_msg_fr.ts index ca802094d..2e1275165 100755 --- a/src/AppQuickStart/app-template/src/resources/LightApp_msg_fr.ts +++ b/src/AppQuickStart/app-template/src/resources/LightApp_msg_fr.ts @@ -9,11 +9,11 @@ ABOUT_CAPTION - A propos de + A propos de [Name_of_Application] APP_NAME - [SLOGAN] + [Name_of_Application] [SLOGAN] APP_VERSION @@ -29,7 +29,7 @@ ABOUT_TITLE - + [Name_of_Application] diff --git a/src/AppQuickStart/app-template/src/tests/README b/src/AppQuickStart/app-template/src/tests/README index ef5ad8fa0..eae0f58bf 100644 --- a/src/AppQuickStart/app-template/src/tests/README +++ b/src/AppQuickStart/app-template/src/tests/README @@ -1 +1 @@ -This directory contains the tests of +This directory contains the tests of [Name_of_Application] -- 2.39.2