mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Localize some strings
This commit is contained in:
parent
bd2e7057a3
commit
e09ba74a43
13 changed files with 90 additions and 8 deletions
|
|
@ -1249,7 +1249,7 @@ begin
|
|||
pnAltSearch.Parent:=Self;
|
||||
pnAltSearch.Height:=20;
|
||||
pnAltSearch.Width:=185;
|
||||
pnAltSearch.Caption:='Find:'; //TODO: localize
|
||||
pnAltSearch.Caption:=rsQuickSearchPanel;
|
||||
pnAltSearch.Alignment:=taLeftJustify;
|
||||
|
||||
edtSearch:=TEdit.Create(pnAltSearch);
|
||||
|
|
|
|||
|
|
@ -2891,6 +2891,10 @@ msgstr "Съществува файл %s. Да бъде ли заменен?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Презапис на файл %s"
|
||||
|
|
@ -3151,6 +3155,10 @@ msgstr "Неизвестен вид"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Да (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "&Запис на положението"
|
||||
|
|
|
|||
|
|
@ -2891,6 +2891,10 @@ msgstr "文件 %s 已存在, 是否覆盖?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "复制文件 %s"
|
||||
|
|
@ -3151,6 +3155,10 @@ msgstr "未知类型"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "是 (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "保存位置(&S)"
|
||||
|
|
|
|||
|
|
@ -2893,6 +2893,10 @@ msgstr "Soubor %s existuje, přepsat?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Kopírovat soubor %s"
|
||||
|
|
@ -3153,6 +3157,10 @@ msgstr "Neznámý typ"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Ano (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "&Uložit pozici"
|
||||
|
|
|
|||
|
|
@ -2891,6 +2891,10 @@ msgstr "Datei %s existiert bereits. Überschreiben?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr "Verzeichnis besteht bereits, überschreiben?"
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Kopiere Datei %s"
|
||||
|
|
@ -3151,6 +3155,10 @@ msgstr "Unbekannter Typ"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Ja (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "&Position speichern"
|
||||
|
|
|
|||
|
|
@ -2891,6 +2891,10 @@ msgstr "%s existe, sobreescribir?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Copiar fichero %s"
|
||||
|
|
@ -3151,6 +3155,10 @@ msgstr "Tipo desconocido"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Sí"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "&Guardar posición"
|
||||
|
|
|
|||
|
|
@ -2891,6 +2891,10 @@ msgstr "Bestand %s bestaat, overschrijven?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Kopiëer bestand %s"
|
||||
|
|
@ -3151,6 +3155,10 @@ msgstr "Onbekend type"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Ja (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "&Sla positie op"
|
||||
|
|
|
|||
|
|
@ -2891,6 +2891,10 @@ msgstr ""
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr ""
|
||||
|
|
@ -3151,6 +3155,10 @@ msgstr ""
|
|||
msgid "Yes (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr ""
|
||||
|
|
|
|||
|
|
@ -2890,6 +2890,10 @@ msgstr "Файл %s существует, переписать?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr "Каталог %s существует, переписать?"
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr "Следовать ссылке \"%s\"?"
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Копирование файла %s"
|
||||
|
|
@ -3150,6 +3154,10 @@ msgstr "Неизвестный тип"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Да (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr "Найти:"
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "Сохранить позицию"
|
||||
|
|
|
|||
|
|
@ -2890,6 +2890,10 @@ msgstr "Файл %s існує, переписати?"
|
|||
msgid "Folder %s exists, overwrite?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsgfollowsymlink
|
||||
msgid "Follow symlink \"%s\"?"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rsmsglogcopy
|
||||
msgid "Copy file %s"
|
||||
msgstr "Копиювання файла %s"
|
||||
|
|
@ -3150,6 +3154,10 @@ msgstr "Невідомий тип"
|
|||
msgid "Yes (%s)"
|
||||
msgstr "Так (%s)"
|
||||
|
||||
#: ulng.rsquicksearchpanel
|
||||
msgid "Find:"
|
||||
msgstr ""
|
||||
|
||||
#: ulng.rssaveposition
|
||||
msgid "&Save position"
|
||||
msgstr "Зберегти позицію"
|
||||
|
|
|
|||
8
uLng.rst
8
uLng.rst
|
|
@ -134,6 +134,10 @@ ulng.rsmsgentername='Enter name:'
|
|||
ulng.rsmsgenterfileext='Enter file extension:'
|
||||
|
||||
|
||||
# hash value = 32868031
|
||||
ulng.rsmsgfollowsymlink='Follow symlink "%s"?'
|
||||
|
||||
|
||||
# hash value = 128648723
|
||||
ulng.rsmnuactions='Actions'
|
||||
|
||||
|
|
@ -266,6 +270,10 @@ ulng.rsmsglogpack='Pack to file %s'
|
|||
ulng.rsmsglogextract='Extract file %s'
|
||||
|
||||
|
||||
# hash value = 5047418
|
||||
ulng.rsquicksearchpanel='Find:'
|
||||
|
||||
|
||||
# hash value = 254598078
|
||||
ulng.rssaveposition='&Save position'
|
||||
|
||||
|
|
|
|||
|
|
@ -69,12 +69,12 @@ type
|
|||
function UseForm:Boolean; virtual;
|
||||
function FreeAtEnd:Boolean; virtual;
|
||||
function DlgFileExist(const sMsg:String):Boolean; // result=true > rewrite file
|
||||
function DlgProcessSymLink(const sMsg:String):Boolean;
|
||||
function DlgFollowSymLink(const sMsg:String):Boolean;
|
||||
end;
|
||||
|
||||
const
|
||||
FMyMsgButtons : array[0..5] of TMyMsgButton = (msmbRewrite, msmbNo, msmbSkip, msmbAppend, msmbRewriteAll, msmbSkipAll); //Alexx2000
|
||||
FSymLinkBtns : array[0..3] of TMyMsgButton = (msmbYes, msmbNo, msmbRewriteAll, msmbSkipAll); //Alexx2000
|
||||
FSymLinkBtns : array[0..3] of TMyMsgButton = (msmbYes, msmbNo, msmbAll, msmbSkipAll); //Alexx2000
|
||||
|
||||
implementation
|
||||
|
||||
|
|
@ -313,7 +313,7 @@ end;
|
|||
|
||||
{ Dialog for process symlink or real file/folder }
|
||||
|
||||
function TFileOpThread.DlgProcessSymLink(const sMsg:String):Boolean; // result=true > process symlink
|
||||
function TFileOpThread.DlgFollowSymLink(const sMsg:String):Boolean; // result=true > follow symlink
|
||||
begin
|
||||
FAppend:= False;
|
||||
Result:= False;
|
||||
|
|
@ -325,15 +325,15 @@ begin
|
|||
begin
|
||||
Result:=True;
|
||||
end;
|
||||
mmrRewriteAll:
|
||||
mmrAll:
|
||||
begin
|
||||
FSymLinkAll:=True;
|
||||
FNotSymLinkAll:=True;
|
||||
Result:=True;
|
||||
end;
|
||||
|
||||
mmrSkipAll:
|
||||
begin
|
||||
FNotSymLinkAll:=True;
|
||||
FSymLinkAll:=True;
|
||||
end;
|
||||
else
|
||||
Raise Exception.Create('bad handling msg result');
|
||||
|
|
@ -353,7 +353,7 @@ begin
|
|||
Result:= True;
|
||||
// For process symlink or real file/folder
|
||||
if FPS_ISLNK(FileRecItem^.iMode) then
|
||||
if (not FSymLinkAll) and (FNotSymLinkAll or not DlgProcessSymLink('Process SymLink "' + FileRecItem^.sName +'"? Press "Yes" to copy or "No" for copy real file/folder')) then //TODO: Localize message
|
||||
if (not FSymLinkAll) and (FNotSymLinkAll or DlgFollowSymLink(Format(rsMsgFollowSymlink, [FileRecItem^.sName]))) then
|
||||
begin
|
||||
sRealName:=ReadSymLink(FileRecItem^.sName);
|
||||
|
||||
|
|
|
|||
2
ulng.pas
2
ulng.pas
|
|
@ -62,6 +62,7 @@ resourcestring
|
|||
rsMsgRestartForApplyChanges = 'Please, restart Double Commander for apply changes';
|
||||
rsMsgEnterName = 'Enter name:';
|
||||
rsMsgEnterFileExt = 'Enter file extension:';
|
||||
rsMsgFollowSymlink = 'Follow symlink "%s"?';
|
||||
// for context menu
|
||||
rsMnuActions = 'Actions';
|
||||
rsMnuMount = 'Mount';
|
||||
|
|
@ -100,6 +101,7 @@ resourcestring
|
|||
rsMsgLogPack = 'Pack to file %s';
|
||||
rsMsgLogExtract = 'Extract file %s';
|
||||
|
||||
rsQuickSearchPanel = 'Find:';
|
||||
rsSavePosition = '&Save position';
|
||||
rsPositionSaved = 'Position saved.';
|
||||
// File operations dialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue