synunihighlighter: moved all resource strings to synunistrconst.pas, merged translations accordingly

git-svn-id: trunk@63995 -
This commit is contained in:
maxim 2020-10-12 16:48:46 +00:00
parent 2ec4db75e6
commit 41e9a5bba5
24 changed files with 178 additions and 114 deletions

28
.gitattributes vendored
View File

@ -4981,19 +4981,6 @@ components/synedit/test/testwordwrap.pas svneol=native#text/pascal
components/synunihighlighter/CHANGES.txt svneol=native#text/plain
components/synunihighlighter/CREDITS.txt svneol=native#text/plain
components/synunihighlighter/README.txt svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.cs.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.de.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.fr.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.hu.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.id.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.it.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.lt.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.pot svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.pt_BR.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.ru.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.uk.po svneol=native#text/plain
components/synunihighlighter/languages/synunidesigner.zh_CN.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.cs.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.de.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.fr.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.hu.po svneol=native#text/plain
@ -5001,16 +4988,29 @@ components/synunihighlighter/languages/synunireg.id.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.it.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.lt.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.pl.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.pot svneol=native#text/plain
components/synunihighlighter/languages/synunireg.pt_BR.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.ru.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.uk.po svneol=native#text/plain
components/synunihighlighter/languages/synunireg.zh_CN.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.cs.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.de.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.fr.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.hu.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.id.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.it.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.lt.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.pl.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.pot svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.pt_BR.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.ru.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.uk.po svneol=native#text/plain
components/synunihighlighter/languages/synunistrconst.zh_CN.po svneol=native#text/plain
components/synunihighlighter/synuni.lpk svneol=native#text/pascal
components/synunihighlighter/synuni.pas svneol=native#text/pascal
components/synunihighlighter/synunidesigner.pas svneol=native#text/pascal
components/synunihighlighter/synunihighlighter.pas svneol=native#text/pascal
components/synunihighlighter/synunireg.pas svneol=native#text/pascal
components/synunihighlighter/synunistrconst.pas svneol=native#text/pascal
components/tachart/Makefile svneol=native#text/plain
components/tachart/Makefile.compiled svneol=native#text/plain
components/tachart/Makefile.fpc svneol=native#text/plain

View File

@ -1,15 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Beuselinck Vincent <vincent@beuselinck.fr>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
#: synunidesigner.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Syntaxe UniHighlighter"

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"
#: synunidesigner.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Sintassi UniHighlighter"

View File

@ -1,16 +0,0 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: synunidesigner\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"
"PO-Revision-Date: 2008-06-12 21:47+0300\n"
#: synunidesigner.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "UniHighlighter sintaksė"

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"
#: synunidesigner.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr ""

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"
#: synunireg.sedituni
msgid "Edit ..."
msgstr ""

View File

@ -10,7 +10,11 @@ msgstr ""
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Upravit..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Syntax UniZvýrazňovače"

View File

@ -2,14 +2,19 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2007-01-10 21:21+0100\n"
"Last-Translator: Joerg Braun <jb@toolbox-mag.de>\n"
"PO-Revision-Date: 2013-09-24 11:21+0100\n"
"Last-Translator: Swen Heinig <swen.heinig@freenet.de>\n"
"Language-Team: \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"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Bearbeiten ..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "UniHighlighter-Syntax"

View File

@ -0,0 +1,21 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Vasseur Gilles <gillesvasseur58@gmail.com>\n"
"Language-Team: Vasseur Gilles <gillesvasseur58@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"X-Generator: Poedit 1.7.5\n"
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Éditer..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Syntaxe UniHighlighter"

View File

@ -11,7 +11,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Szerkesztés ..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "UniHighlighter szintaxiskiemelés"

View File

@ -9,7 +9,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
#, fuzzy
#| msgid "Edit..."
msgid "Edit ..."
msgstr "Edit..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Sintaks UniHighlighter"

View File

@ -6,11 +6,14 @@ msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Václav Valíček <Valicek1994@gmail.com>\n"
"Last-Translator: Giuliano Colla <giuliano.colla@fastwebnet.it>\n"
"Language-Team: \n"
"X-Generator: Poedit 1.5.4\n"
#: synunireg.sedituni
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Upravit..."
msgstr "Modifica..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Sintassi UniHighlighter"

View File

@ -0,0 +1,21 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2012-08-06 22:13+0300\n"
"Project-Id-Version: synunireg\n"
"Language-Team: Lithuanian <kde-i18n-lt@kde.org>\n"
"X-Generator: Lokalize 1.5\n"
"MIME-Version: 1.0\n"
"Last-Translator: Valdas Jankunas <zmuogs@gmail.com>\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"
"Language: lt\n"
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Keisti…"
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "UniHighlighter sintaksė"

View File

@ -0,0 +1,22 @@
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Sławomir Niedziela <slniedz@poczta.onet.pl>\n"
"Language-Team: \n"
"Language: pl\n"
"X-Generator: Poedit 1.8.7.1\n"
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Edycja..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr ""

View File

@ -0,0 +1,11 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr ""
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr ""

View File

@ -6,10 +6,16 @@ msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Marcelo Borges de Paula\n"
"Last-Translator: Marcelo B Paula <marcelo.bp@netsite.com.br>\n"
"Language-Team: \n"
"Language: pt_BR\n"
"X-Generator: Poedit 1.8.13\n"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Editar .."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Sintaxe \"UniHighlighter\""

View File

@ -2,16 +2,18 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2019-08-30 01:14+0300\n"
"PO-Revision-Date: 2012-06-17 23:24+0400\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"
"Language: ru\n"
"X-Generator: Poedit 2.2.1\n"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Правка ..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Синтаксис UniHighlighter"

View File

@ -2,14 +2,20 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2011-06-04 22:37+0200\n"
"Last-Translator: Igor Paliychuk <mansonigor@gmail.com>\n"
"PO-Revision-Date: 2016-05-27 09:49+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"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "Змінити ..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "Синтаксис UniHighlighter"

View File

@ -12,7 +12,11 @@ msgstr ""
"Language: zh_CN\n"
"X-Generator: Poedit 1.8.7.1\n"
#: synunidesigner.sunifiledescription
#: synunistrconst.sedituni
msgid "Edit ..."
msgstr "编辑..."
#: synunistrconst.sunifiledescription
msgid "UniHighlighter Syntax"
msgstr "不高亮语法"

View File

@ -1,7 +1,8 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Package Version="4">
<Package Version="5">
<Name Value="SynUni"/>
<Type Value="RunAndDesignTime"/>
<AddToProjectUsesSection Value="True"/>
<Author Value="Vit (Vitaly Nevzorov nevzorov@yahoo.com); Fantasist (Kirill Burtsev walking_in_the_sky@yahoo.com)"/>
<CompilerOptions>
@ -18,9 +19,6 @@
<StackChecks Value="True"/>
</Checks>
</CodeGeneration>
<Other>
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
<Description Value="Conversion of the UniHighlighter to FPC/Lazarus
Source homepage is:
@ -30,7 +28,7 @@ Source homepage is:
see http://www.mozilla.org/MPL/
"/>
<Version Major="1"/>
<Files Count="3">
<Files Count="4">
<Item1>
<Filename Value="synunidesigner.pas"/>
<UnitName Value="SynUniDesigner"/>
@ -45,12 +43,16 @@ see http://www.mozilla.org/MPL/
<HasRegisterProc Value="True"/>
<UnitName Value="SynUniReg"/>
</Item3>
<Item4>
<Filename Value="synunistrconst.pas"/>
<UnitName Value="synunistrconst"/>
</Item4>
</Files>
<CompatibilityMode Value="True"/>
<i18n>
<EnableI18N Value="True"/>
<OutDir Value="languages"/>
</i18n>
<Type Value="RunAndDesignTime"/>
<RequiredPkgs Count="4">
<Item1>
<PackageName Value="FCL"/>
@ -71,7 +73,6 @@ see http://www.mozilla.org/MPL/
</UsageOptions>
<PublishOptions>
<Version Value="2"/>
<IgnoreBinaries Value="False"/>
</PublishOptions>
</Package>
</CONFIG>

View File

@ -8,7 +8,8 @@ unit SynUni;
interface
uses
SynUniDesigner, SynUniHighlighter, SynUniReg, LazarusPackageIntf;
SynUniDesigner, SynUniHighlighter, SynUniReg, synunistrconst,
LazarusPackageIntf;
implementation

View File

@ -65,7 +65,8 @@ uses
SysUtils,
SynEdit,
SynEditHighlighter,
SynUniHighlighter;
SynUniHighlighter,
synunistrconst;
type
TNodeText = String;
@ -974,10 +975,6 @@ begin
end;
end;
////TL FPC wanted this global... moved from just inside the procedure below
resourcestring
sUniFileDescription = 'UniHighlighter Syntax';
procedure TSynUniDesigner.LoadFromFileClick(Sender: TObject);
////TL resourcestring
////TL sUniFileDescription = 'UniHighlighter Syntax';

View File

@ -16,7 +16,8 @@ uses
componenteditors, ////TL added
Classes,
SynUniHighlighter,
SynUniDesigner;
SynUniDesigner,
synunistrconst;
type
////TL! TDefaultEditor doesn't appear to exist... changed to TDefaultComponentEditor
@ -51,10 +52,6 @@ begin
Edit;
end;
////TL FPC wants resources defined globally... moved from the function below
resourcestring
sEditUni = 'Edit ...';
function TSynUniEditor.GetVerb(Index: Integer): string;
////TL resourcestring
////TL sEditUni = 'Edit ...';

View File

@ -0,0 +1,14 @@
unit synunistrconst;
{$mode objfpc}{$H+}
interface
resourcestring
sUniFileDescription = 'UniHighlighter Syntax';
sEditUni = 'Edit ...';
implementation
end.