SynEdit: Converted Unix Shell Script highligter name from resource string to constant and moved it to syneditstrconst.pp for symmetry with other highlighters. Removed now obsolete synhighlighterunixshellscript.*.po files. While at this, corrected the case of SYNS_LangPo constant value (didn't seem to cause any regressions).

git-svn-id: trunk@61786 -
This commit is contained in:
maxim 2019-08-29 23:06:38 +00:00
parent b934a433bf
commit 489168d083
18 changed files with 3 additions and 253 deletions

15
.gitattributes vendored
View File

@ -4901,21 +4901,6 @@ components/synedit/languages/syneditstrconst.ru.po svneol=native#text/plain
components/synedit/languages/syneditstrconst.tr.po svneol=native#text/plain
components/synedit/languages/syneditstrconst.uk.po svneol=native#text/plain
components/synedit/languages/syneditstrconst.zh_CN.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.cs.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.de.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.es.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.fr.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.he.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.hu.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.id.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.it.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.lt.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.pot svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.pt_BR.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.ru.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.tr.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.uk.po svneol=native#text/plain
components/synedit/languages/synhighlighterunixshellscript.zh_CN.po svneol=native#text/plain
components/synedit/languages/synmacrorecorder.cs.po svneol=native#text/plain
components/synedit/languages/synmacrorecorder.de.po svneol=native#text/plain
components/synedit/languages/synmacrorecorder.es.po svneol=native#text/plain

View File

@ -1,16 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Václav Valíček <Valicek1994@gmail.com>\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Script UNIX Shellu"

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Joerg Braun <jb@toolbox-mag.de>\n"
"Language-Team: \n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Unix-Shellskript"

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"Last-Translator: Lucas Martín <codedeep@hotmail.com>\n"
"PO-Revision-Date: \n"
"Project-Id-Version: synhighlighter unix shell script\n"
"Language-Team: Español\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: \n"
"MIME-Version: 1.0\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Script de Shell de UNIX"

View File

@ -1,18 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Project-Id-Version: \n"
"POT-Creation-Date: 2015-04-12 08:27+0100\n"
"PO-Revision-Date: 2015-04-12 08:27+0100\n"
"Last-Translator: GIlles Vasseur <gillesvasseur58@gmail.com>\n"
"Language-Team: \n"
"Language: fr_FR\n"
"X-Generator: Poedit 1.7.5\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Script Shell UNIX"

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: ezik shulamy <shulamy@regba.org.il>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "מעטפת תסריטים של יוניקס"

View File

@ -1,17 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Péter Gábor <ptrg@freemail.hu>\n"
"Language-Team: Magyar (Hungarian)\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Unix Shell parancsfájl"

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: Lazarus 1.x\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2007-09-22 01:08+0700\n"
"Last-Translator: Zaenal Mutaqin <ade999@gmail.com>\n"
"Language-Team: Indonesian <ade999@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Naskah Shell UNIX"

View File

@ -1,10 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Script Terminale UNIX"

View File

@ -1,16 +0,0 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2008-06-12 21:45+0300\n"
"Project-Id-Version: synhighlighterunixshellscript\n"
"Language-Team: Lithuanian\n"
"X-Generator: KBabel 1.11.4\n"
"MIME-Version: 1.0\n"
"Last-Translator: Valdas Jankūnas <skroblas@erdves.lt>\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "UNIX apvalkalo scenarijus"

View File

@ -1,10 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr ""

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Marcelo Borges de Paula\n"
"Language-Team: \n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "UNIX Shell Script"

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2010-09-22 19:21+0300\n"
"Last-Translator: Maxim Ganetsky <maxkill@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Сценарий UNIX Shell"

View File

@ -1,17 +0,0 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Onur ERÇELEN <onur2x@gmail.com>\n"
"Language-Team: \n"
"Language: tr\n"
"X-Generator: Poedit 2.2.3\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "UNIX komut dosyası"

View File

@ -1,17 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2016-05-27 09:46+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: uk\n"
"X-Generator: Poedit 1.6.4\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "Сценарій оболонки UNIX"

View File

@ -1,18 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: X\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2017-12-01 22:55+0800\n"
"Last-Translator: 郑建平@夏宗萍 aka robsean <robsean@126.com>\n"
"Language-Team: http://www.microsystem.studio\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-SourceCharset: UTF-8\n"
"Language: zh_CN\n"
"X-Generator: Poedit 1.8.7.1\n"
#: synhighlighterunixshellscript.langname
msgid "UNIX Shell Script"
msgstr "UNIX Shell脚本"

View File

@ -395,8 +395,9 @@ const
SYNS_LangSynGenMsgfiles = 'SynGen Msg files';
SYNS_LangUnreal = 'Unreal';
SYNS_LangTeX = 'TeX';
SYNS_LangPo = 'po language files';
SYNS_LangPo = 'PO language files';
SYNS_LangPike = 'Pike';
SYNS_LangSh = 'UNIX Shell Script';
resourcestring

View File

@ -755,16 +755,9 @@ begin
Result := ['_', '0'..'9', 'a'..'z', 'A'..'Z'];
end;
/////TL 11-06-2003: Moved from below
resourcestring
LangName = 'UNIX Shell Script';
class function TSynUNIXShellScriptSyn.GetLanguageName: string;
/////TL 11-06-2003: FPC complained about local declaration... moved to the global scope
/////TL resourcestring
/////TL LangName = 'UNIX Shell Script';
begin
Result := LangName;
Result := SYNS_LangSh;
end;
initialization