IDEIntf: Use resourcestrings for button "Add sliced" in ImageListEditor

git-svn-id: trunk@59441 -
This commit is contained in:
wp 2018-11-03 21:40:08 +00:00
parent cb566ae12d
commit f0be8cf94b
22 changed files with 246 additions and 2 deletions

View File

@ -247,6 +247,7 @@ begin
BtnAdd.Caption := sccsILEdtAdd;
BtnAddMoreResolutions.Caption := sccsILEdtAddMoreResolutions;
BtnAddSliced.Caption := sccsILEdtAddSliced;
BtnDelete.Caption := sccsILEdtDelete;
BtnReplace.Caption := sccsILEdtReplace;
BtnReplaceAll.Caption := sccsILEdtReplaceAllResolutions;
@ -882,7 +883,7 @@ begin
try
Picture.LoadFromFile(FileName);
if Picture.Graphic is TCustomIcon then begin
MessageDlg('Adding sliced icons is not supported.', mtError, [mbOK], 0);
MessageDlg(sccsILEdtAddSlicedIconError, mtError, [mbOK], 0);
exit;
end;
@ -902,7 +903,7 @@ begin
end;
ImageListbox.ItemIndex := ImageListbox.Count - 1;
end else
MessageDlg('Source image is not a multiple of ImageList.Width and .Height', mtError, [mbOK], 0);
MessageDlg(sccsILEdtCannotSlice, mtError, [mbOK], 0);
finally
DestBmp.Free;
SrcBmp.Free;

View File

@ -1373,6 +1373,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Ajustament"
@ -1386,6 +1394,10 @@ msgstr ""
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor de llista d'imatges"

View File

@ -1343,6 +1343,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Seřízení"
@ -1356,6 +1364,10 @@ msgstr "Použít"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor ImageList"

View File

@ -1326,6 +1326,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Justierung"
@ -1339,6 +1347,10 @@ msgstr "Zuweisen"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Bildlisteneditor"

View File

@ -1327,6 +1327,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Ajuste"
@ -1340,6 +1348,10 @@ msgstr "Aplicar"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor de ImageList"

View File

@ -1318,6 +1318,14 @@ msgstr "Lisää tarkkuuksia ..."
msgid "New resolution ..."
msgstr "Uusi tarkkuus ..."
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Säätö"
@ -1331,6 +1339,10 @@ msgstr "&Käytä"
msgid "Cannot delete default resolution."
msgstr "Oletustarkkuutta ei voi poistaa."
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "ImageList muokkain"

View File

@ -1326,6 +1326,14 @@ msgstr "Ajouter de nouvelles résolutions..."
msgid "New resolution ..."
msgstr "Nouvelle résolution..."
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Ajustement"
@ -1339,6 +1347,10 @@ msgstr "&Appliquer"
msgid "Cannot delete default resolution."
msgstr "Impossible de supprimer la résolution par défaut."
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Éditeur de listes d'images"

View File

@ -1384,6 +1384,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "התאמות"
@ -1399,6 +1407,10 @@ msgstr "יישם"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "עורך רשימת דמויות"

View File

@ -1325,6 +1325,14 @@ msgstr "További felbontások hozzáadása ..."
msgid "New resolution ..."
msgstr "Új felbontás ..."
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Méretezés"
@ -1338,6 +1346,10 @@ msgstr "&Alkalmazás"
msgid "Cannot delete default resolution."
msgstr "Az alapértelmezett felbontás nem törölhető."
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Képlista szerkesztő"

View File

@ -1377,6 +1377,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Penyesuaian"
@ -1390,6 +1398,10 @@ msgstr ""
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor DaftarGambar"

View File

@ -1328,6 +1328,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Aggiustamento"
@ -1341,6 +1349,10 @@ msgstr "&Applica"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor ImageList"

View File

@ -1341,6 +1341,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "位置合わせ"
@ -1354,6 +1362,10 @@ msgstr "適用(&A)"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "イメージリストエディタ"

View File

@ -1326,6 +1326,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Korekcija"
@ -1339,6 +1347,10 @@ msgstr "Pri&taikyti"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "ImageList rengyklė"

View File

@ -1364,6 +1364,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Aanpassing"
@ -1377,6 +1385,10 @@ msgstr ""
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Afbeeldingenlijst editor"

View File

@ -1374,6 +1374,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Dopasowanie"
@ -1387,6 +1395,10 @@ msgstr ""
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Edytor ImageList"

View File

@ -1318,6 +1318,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr ""
@ -1331,6 +1339,10 @@ msgstr ""
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr ""

View File

@ -1325,6 +1325,14 @@ msgstr "Adicionar mais resoluções ..."
msgid "New resolution ..."
msgstr "Nova resolução ..."
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Ajuste"
@ -1338,6 +1346,10 @@ msgstr "&Aplicar"
msgid "Cannot delete default resolution."
msgstr "Incapaz de excluir a resolução padrão."
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor \"ImageList\""

View File

@ -1325,6 +1325,14 @@ msgstr "Добавить других разрешений ..."
msgid "New resolution ..."
msgstr "Новое разрешение ..."
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Выравнивание"
@ -1338,6 +1346,10 @@ msgstr "&Применить"
msgid "Cannot delete default resolution."
msgstr "Невозможно удалить разрешение по умолчанию."
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Редактор ImageList"

View File

@ -1388,6 +1388,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Doladenie"
@ -1403,6 +1411,10 @@ msgstr "Použiť"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Editor ImageList"

View File

@ -1328,6 +1328,14 @@ msgstr "Додати більше роздільностей ..."
msgid "New resolution ..."
msgstr "Нова роздільність ..."
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "Регулювання"
@ -1341,6 +1349,10 @@ msgstr "&Застосувати"
msgid "Cannot delete default resolution."
msgstr "Неможливо видалити типову роздільність."
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "Редактор ImageList"

View File

@ -1328,6 +1328,14 @@ msgstr ""
msgid "New resolution ..."
msgstr ""
#: objinspstrconsts.sccsiledtaddsliced
msgid "Add sliced..."
msgstr ""
#: objinspstrconsts.sccsiledtaddslicediconerror
msgid "Adding sliced icons is not supported."
msgstr ""
#: objinspstrconsts.sccsiledtadjustment
msgid "Adjustment"
msgstr "调整"
@ -1341,6 +1349,10 @@ msgstr "应用(&A)"
msgid "Cannot delete default resolution."
msgstr ""
#: objinspstrconsts.sccsiledtcannotslice
msgid "Source image size must be an integer multiple of the ImageList's Width and Height."
msgstr ""
#: objinspstrconsts.sccsiledtcaption
msgid "ImageList Editor"
msgstr "图片列表编辑器"

View File

@ -134,6 +134,7 @@ resourcestring
sccsILEdtGrpRCaption = 'Selected Image';
sccsILEdtAdd = '&Add ...';
sccsILEdtAddMoreResolutions = 'Add more resolutions ...';
sccsILEdtAddSliced = 'Add sliced...';
sccsILEdtReplace = '&Replace ...';
sccsILEdtReplaceAllResolutions = 'Replace all resolutions ...';
sccsILEdtDelete = '&Delete';
@ -151,6 +152,8 @@ resourcestring
sccsILEdtransparentColor = 'Transparent Color:';
sccsILEdtAdjustment = 'Adjustment';
sccsILEdtNone = 'None';
sccsILEdtAddSlicedIconError = 'Adding sliced icons is not supported.';
sccsILEdtCannotSlice = 'Source image size must be an integer multiple of the ImageList''s Width and Height.';
liisIf = 'If';
liisIfDef = 'IfDef';
liisIfNDef = 'IfNDef';