From 0e1d22b1d45a74c441a8f151a7da15749d69c7ac Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 24 Sep 2010 17:01:14 +0000 Subject: [PATCH] SynEdit: added SynDesign string constants translations and fixed typo in syndesignstringconstants.pas. While editing localize scripts also removed stale CGI component reference from them. git-svn-id: trunk@27448 - --- .gitattributes | 1 + components/synedit/languages/syndesign.po | 27 +++++++++++++++++++ .../synedit/syndesignstringconstants.pas | 2 +- localize.bat | 8 +++--- localize.sh | 2 +- 5 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 components/synedit/languages/syndesign.po diff --git a/.gitattributes b/.gitattributes index da32853213..c80b680ee8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2034,6 +2034,7 @@ components/synedit/docs/xml/synedithighlighter.xml svneol=native#text/xml components/synedit/docs/xml/synedittextbase.xml svneol=native#text/xml components/synedit/docs/xml/synedittextbuffer.xml svneol=native#text/xml components/synedit/languages/README.txt svneol=native#text/plain +components/synedit/languages/syndesign.po svneol=native#text/plain components/synedit/languages/synedit.ca.po svneol=native#text/plain components/synedit/languages/synedit.cs.po svneol=native#text/plain components/synedit/languages/synedit.de.po svneol=native#text/plain diff --git a/components/synedit/languages/syndesign.po b/components/synedit/languages/syndesign.po new file mode 100644 index 0000000000..e7c5e20e29 --- /dev/null +++ b/components/synedit/languages/syndesign.po @@ -0,0 +1,27 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +#: syndesignstringconstants.syndsbookmarks +msgid "Bookmarks" +msgstr "" + +#: syndesignstringconstants.syndschangemarker +msgid "Change Marker" +msgstr "" + +#: syndesignstringconstants.syndscodefolding +msgid "Code Folding" +msgstr "" + +#: syndesignstringconstants.syndslinenumbers +msgid "Line Numbers" +msgstr "" + +#: syndesignstringconstants.syndslineoverview +msgid "Line Overview" +msgstr "" + +#: syndesignstringconstants.syndsseparator +msgid "Separator" +msgstr "" + diff --git a/components/synedit/syndesignstringconstants.pas b/components/synedit/syndesignstringconstants.pas index daf9dd2317..96e26d11ce 100644 --- a/components/synedit/syndesignstringconstants.pas +++ b/components/synedit/syndesignstringconstants.pas @@ -9,7 +9,7 @@ uses resourcestring syndsLineNumbers = 'Line Numbers'; - syndsCodeFolding = 'Code fFolding'; + syndsCodeFolding = 'Code Folding'; syndsChangeMarker = 'Change Marker'; syndsBookmarks = 'Bookmarks'; syndsSeparator = 'Separator'; diff --git a/localize.bat b/localize.bat index fb5aee92d9..9fbdc780eb 100644 --- a/localize.bat +++ b/localize.bat @@ -56,6 +56,10 @@ tools\updatepofiles %CodeTools_RST% components\codetools\languages\codetoolsstrc @set SynEdit_RST=components\synedit\units\%ArchOS%\SynEditStrConst.rst tools\updatepofiles %SynEdit_RST% components\synedit\languages\synedit.po +@REM SynDesign +@set SynDesign_RST=components\synedit\units\%ArchOS%\syndesignstringconstants.rst +tools\updatepofiles %SynDesign_RST% components\synedit\languages\syndesign.po + @REM SynMacroRecorder @set SynMacroRec_RST=components\synedit\units\%ArchOS%\synmacrorecorder.rst tools\updatepofiles %SynMacroRec_RST% components\synedit\languages\synmacrorecorder.po @@ -68,10 +72,6 @@ tools\updatepofiles %SynUniHighLighterShellScript_RST% components\synedit\langua @set LCL_RST=lcl\units\%ArchOS%\lclstrconsts.rst tools\updatepofiles %LCL_RST% lcl\languages\lclstrconsts.po -@REM CGI -@set CGI_RST=components\cgi\lib\%ArchOSWS%\cgimodules.rst -tools\updatepofiles %CGI_RST% components\cgi\languages\cgimodules.po - @REM LazReport @set LazReport_RST=components\lazreport\source\lib\%ArchOS%\lr_const.rst tools\updatepofiles %LazReport_RST% components\lazreport\source\languages\lr_const.po diff --git a/localize.sh b/localize.sh index 053a3e4ec8..f609e298b1 100755 --- a/localize.sh +++ b/localize.sh @@ -32,12 +32,12 @@ RSTFILES=( "ideintf objinspstrconsts" "components/codetools codetoolsstrconsts" "components/synedit syneditstrconst synedit" + "components/synedit syndesignstringconstants syndesign" "components/synedit synmacrorecorder" "components/synedit synhighlighterunixshellscript" "components/tdbf registerdbf" "components/turbopower_ipro ipconst" "components/turbopower_ipro iputils" - "components/cgi cgimodules" "components/lazreport/samples/editor maincalleditor calleditorwithpkg" "components/memds frmselectdataset" "components/printers/design ideprinting"