Skip to content

Commit

Permalink
Fix #241
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Jul 20, 2024
1 parent 85251d6 commit 2e7d29f
Show file tree
Hide file tree
Showing 21 changed files with 72 additions and 25 deletions.
1 change: 1 addition & 0 deletions HISTORY-ID.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,3 +309,4 @@
- Added ES_AUTOHSCROLL style to some text boxes.
- Fixed loading failure of Win2k3 ieframe.dll BITMAP 214.
- Centering "Edit Dialog" window.
- Supported exporting RES file.
1 change: 1 addition & 0 deletions HISTORY-ITA.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,3 +309,4 @@
- Aggiunto lo stile ES_AUTOHSCROLL ad alcune caselle di testo.
- Fixed loading failure of Win2k3 ieframe.dll BITMAP 214.
- Centering "Edit Dialog" window.
- Supported exporting RES file.
1 change: 1 addition & 0 deletions HISTORY-JPN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -653,3 +653,4 @@
- Added ES_AUTOHSCROLL style to some text boxes.
- Fixed loading failure of Win2k3 ieframe.dll BITMAP 214.
- Centering "Edit Dialog" window.
- Supported exporting RES file.
1 change: 1 addition & 0 deletions HISTORY-KOR.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,4 @@
- Added ES_AUTOHSCROLL style to some text boxes.
- Fixed loading failure of Win2k3 ieframe.dll BITMAP 214.
- Centering "Edit Dialog" window.
- Supported exporting RES file.
1 change: 1 addition & 0 deletions HISTORY-PTB.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,3 +309,4 @@
- Added ES_AUTOHSCROLL style to some text boxes.
- Fixed loading failure of Win2k3 ieframe.dll BITMAP 214.
- Centering "Edit Dialog" window.
- Supported exporting RES file.
1 change: 1 addition & 0 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,3 +309,4 @@
- Added ES_AUTOHSCROLL style to some text boxes.
- Fixed loading failure of Win2k3 ieframe.dll BITMAP 214.
- Centering "Edit Dialog" window.
- Supported exporting RES file.
63 changes: 45 additions & 18 deletions src/RisohEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2370,8 +2370,9 @@ class MMainWnd : public MWindowBase
BOOL DoLoadFile(HWND hwnd, LPCWSTR pszFileName, DWORD nFilterIndex = 0, BOOL bForceDecompress = FALSE);
BOOL DoLoadRC(HWND hwnd, LPCWSTR szRCFile, EntrySet& res);
BOOL DoExtract(const EntryBase *entry, BOOL bExporting);
BOOL DoExport(LPCWSTR pszRCFile, LPWSTR pszResHFile = NULL);
BOOL DoExport(LPCWSTR pszRCFile, LPWSTR pszResHFile, const EntrySet& found);
BOOL DoExportRC(LPCWSTR pszRCFile, LPWSTR pszResHFile = NULL);
BOOL DoExportRC(LPCWSTR pszRCFile, LPWSTR pszResHFile, const EntrySet& found);
BOOL DoExportRes(LPCWSTR pszResFile);
void DoIDStat(UINT anValues[5]);
BOOL DoBackupFile(LPCWSTR pszFileName, UINT nCount = 0);
BOOL DoBackupFolder(LPCWSTR pszFileName, UINT nCount = 0);
Expand Down Expand Up @@ -3207,7 +3208,7 @@ void MMainWnd::OnExtractRC(HWND hwnd)
if (dialog.DialogBoxDx(hwnd) != IDOK)
return;

if (!DoExport(szFile, NULL, found))
if (!DoExportRC(szFile, NULL, found))
{
ErrorBoxDx(IDS_CANTEXPORT);
}
Expand Down Expand Up @@ -3466,7 +3467,7 @@ void MMainWnd::OnExport(HWND hwnd)
// initialize OPENFILENAME structure
WCHAR file[MAX_PATH] = TEXT("");
OPENFILENAMEW ofn = { OPENFILENAME_SIZE_VERSION_400W, hwnd };
ofn.lpstrFilter = MakeFilterDx(LoadStringDx(IDS_RCFILTER));
ofn.lpstrFilter = MakeFilterDx(LoadStringDx(IDS_EXPORTFILTER));
ofn.lpstrFile = file;
ofn.nMaxFile = _countof(file);
ofn.lpstrTitle = LoadStringDx(IDS_EXPORT);
Expand All @@ -3477,15 +3478,25 @@ void MMainWnd::OnExport(HWND hwnd)
// let the user choose the path
if (GetSaveFileNameW(&ofn))
{
// show the "export options" dialog
MExportOptionsDlg dialog;
if (dialog.DialogBoxDx(hwnd) != IDOK)
return;

// do export!
if (!DoExport(file))
if (ofn.nFilterIndex == 2) // .res
{
ErrorBoxDx(IDS_CANTEXPORT);
if (!DoExportRes(file))
{
ErrorBoxDx(IDS_CANTEXPORT);
}
}
else // .rc
{
// show the "export options" dialog
MExportOptionsDlg dialog;
if (dialog.DialogBoxDx(hwnd) != IDOK)
return;

if (!DoExportRC(file))
{
ErrorBoxDx(IDS_CANTEXPORT);
}
}
}
}
Expand Down Expand Up @@ -3822,7 +3833,7 @@ BOOL MMainWnd::OnSaveAs(HWND hwnd)

// export
WCHAR szResH[MAX_PATH] = L"";
if (DoExport(szFile, szResH)) // succeeded
if (DoExportRC(szFile, szResH)) // succeeded
{
// save the resource.h path
StringCchCopyW(m_szResourceH, _countof(m_szResourceH), szResH);
Expand Down Expand Up @@ -3981,7 +3992,7 @@ BOOL MMainWnd::OnSave(HWND hwnd)

// export
WCHAR szResH[MAX_PATH] = L"";
if (DoExport(m_szFile, szResH)) // succeeded
if (DoExportRC(m_szFile, szResH)) // succeeded
{
// save the resource.h path
StringCchCopyW(m_szResourceH, _countof(m_szResourceH), szResH);
Expand Down Expand Up @@ -9273,17 +9284,33 @@ inline BOOL MMainWnd::DoExtract(const EntryBase *entry, BOOL bExporting)
}

// do export the resource data to an RC file and related files
BOOL MMainWnd::DoExport(LPCWSTR pszRCFile, LPWSTR pszResHFile)
BOOL MMainWnd::DoExportRC(LPCWSTR pszRCFile, LPWSTR pszResHFile)
{
// search the language entries
EntrySet found;
g_res.search(found, ET_LANG);

return DoExport(pszRCFile, pszResHFile, found);
return DoExportRC(pszRCFile, pszResHFile, found);
}

BOOL MMainWnd::DoExportRes(LPCWSTR pszResFile)
{
// search the language entries
EntrySet found;
g_res.search(found, ET_LANG);

if (found.empty())
{
// unable to export the empty data
ErrorBoxDx(IDS_DATAISEMPTY);
return FALSE;
}

return g_res.extract_res(pszResFile, g_res);
}

// do export the resource data to an RC file and related files
BOOL MMainWnd::DoExport(LPCWSTR pszRCFile, LPWSTR pszResHFile, const EntrySet& found)
BOOL MMainWnd::DoExportRC(LPCWSTR pszRCFile, LPWSTR pszResHFile, const EntrySet& found)
{
if (found.empty())
{
Expand Down Expand Up @@ -9415,15 +9442,15 @@ BOOL MMainWnd::DoSaveFile(HWND hwnd, LPCWSTR pszFile)
if (lstrcmpiW(pchDotExt, L".exe") == 0)
return DoSaveExeAs(pszFile);
if (lstrcmpiW(pchDotExt, L".rc") == 0)
return DoExport(pszFile, NULL);
return DoExportRC(pszFile, NULL);
if (lstrcmpiW(pchDotExt, L".res") == 0)
return DoSaveResAs(pszFile);
if (*pchDotExt == 0)
{
WCHAR szPath[MAX_PATH];
StringCbCopyW(szPath, sizeof(szPath), pszFile);
PathAddExtensionW(szPath, L".rc");
return DoExport(szPath, NULL);
return DoExportRC(szPath, NULL);
}
return FALSE;
}
Expand Down
3 changes: 2 additions & 1 deletion src/lang/de_DE.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1632,10 +1632,11 @@ STRINGTABLE
IDS_CODEPAGE65001, "65001 (UTF-8)"
IDS_EXTRACTTLB, "Extract TYPELIB data"
IDS_CANTEXTRACTTLB, "Unable to extract the TYPELIB data."
IDS_TLBRESBINFILTER, "TYPELIB data (*.tlb)|*.tlb|Binary Resources (*.res)|*.res|Text Files (*.txt)|*.txt|MIDL Files (*.idl)|*.idl|All Files (*.*)|*.*|"
IDS_TLBRESBINFILTER, "TYPELIB data (*.tlb)|*.tlb|Binäre Ressourcen (*.res)|*.res|Textdateien (*.txt)|*.txt|MIDL Files (*.idl)|*.idl|Alle Dateien (*.*)|*.*|"
IDS_USAGE, "Usage: RisohEditor [options | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "Es gibt keine Auswahl."
IDS_TRANSLATORS, "[Translators]\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\r\nKorean: VenusGirl (비너스걸)\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "RC-Dateien (*.rc)|*.rc|Binäre Ressourcen (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
1 change: 1 addition & 0 deletions src/lang/en_US.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,7 @@ STRINGTABLE
IDS_USAGE, "Usage: RisohEditor [options | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "There is no selection."
IDS_TRANSLATORS, "[Translators]\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\r\nKorean: VenusGirl (비너스걸)\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "RC Files (*.rc)|*.rc|Binary Resources (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
1 change: 1 addition & 0 deletions src/lang/fi_FI.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1636,6 +1636,7 @@ STRINGTABLE
IDS_USAGE, "Usage: RisohEditor [options | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "Ei ole valintaa."
IDS_TRANSLATORS, "[Translators]\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\r\nKorean: VenusGirl (비너스걸)\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "RC Files (*.rc)|*.rc|Binary Resources (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
3 changes: 2 additions & 1 deletion src/lang/fr_FR.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1632,10 +1632,11 @@ STRINGTABLE
IDS_CODEPAGE65001, "65001 (UTF-8)"
IDS_EXTRACTTLB, "Extract TYPELIB data"
IDS_CANTEXTRACTTLB, "Unable to extract the TYPELIB data."
IDS_TLBRESBINFILTER, "TYPELIB data (*.tlb)|*.tlb|Binary Resources (*.res)|*.res|Text Files (*.txt)|*.txt|MIDL Files (*.idl)|*.idl|All Files (*.*)|*.*|"
IDS_TLBRESBINFILTER, "TYPELIB data (*.tlb)|*.tlb|Ressources binaires (*.res)|*.res|Fichiers texte (*.txt)|*.txt|MIDL Files (*.idl)|*.idl|All Files (*.*)|*.*|"
IDS_USAGE, "Usage: RisohEditor [options | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "Il n'y a pas de sélection."
IDS_TRANSLATORS, "[Translators]\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\r\nKorean: VenusGirl (비너스걸)\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "Fichiers RC (*.rc)|*.rc|Ressources binaires (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
1 change: 1 addition & 0 deletions src/lang/id_ID.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1639,6 +1639,7 @@ STRINGTABLE
IDS_USAGE, "Penggunaan: RisohEditor [pilihan | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "Tidak ada pilihan."
IDS_TRANSLATORS, "[Translators]\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\r\nKorean: VenusGirl (비너스걸)\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "Berkas RC (*.rc)|*.rc|Sumber Daya Binary (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
1 change: 1 addition & 0 deletions src/lang/it_IT.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,7 @@ STRINGTABLE
IDS_USAGE, "Uso: RisohEditor [opzioni | ""file""]\n\nOpzioni:\n--help visualizza questo messaggio.\n--version visualizza informazioni sulla versione.\n--load ""your-file.rc"" Carica il file (senza GUI)\n--save ""your-file.res"" Salva il file (senza GUI)\n--log-file ""log-file.txt"" specifica il file registro.\n--load-options OPZIONI imposta le opzioni di caricamento.\n--save-options OPZIONI imposta le opzioni di salvataggio.\n\nOpzioni caricamento: (no-load-res-h)\nOpzioni salvataggio: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "Non c'è selezione."
IDS_TRANSLATORS, "[Translators]\r\nCinese semplificato: 林鸿湘\r\nCoreano: VenusGirl (비너스걸)\r\nGiapponese: Katayama Hirofumi MZ\r\nInglese: Katayama Hirofumi MZ\r\nFinlandese: Veikko Muurikainen\r\nIndonesiano: Mas Ahmad Muhammad\r\nItaliano: R.B.\r\nPolacco: Piotr Hetnarowicz\r\nPortoghese: JNylson\r\nRusso: Dmitry Yerokhin\r\n"
IDS_EXPORTFILTER, "File RC (*.rc)|*.rc|File risorse binarie (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
3 changes: 2 additions & 1 deletion src/lang/ja_JP.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ STRINGTABLE
IDS_ENTERLANG, "リソースの言語を入力して下さい。"
IDS_FILENOTFOUND, "ファイルが見つかりません。"
IDS_CANNOTREPLACE, "リソースの置き換えができませんでした。"
IDS_EXERESFILTER, "実行可能ファイル (*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui)|*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui|RCファイル (*.rc)|*.rc|バイナリ リソース (*.res)|*.res|すべてのファイル (*.*)|*.*|"
IDS_EXERESFILTER, "実行可能ファイル (*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui)|*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui|RC ファイル (*.rc)|*.rc|バイナリ リソース (*.res)|*.res|すべてのファイル (*.*)|*.*|"
IDS_SAVEAS, "名前を付けて保存"
IDS_CANNOTADDICON, "アイコンの追加ができませんでした。"
IDS_ADDICON, "アイコンの追加"
Expand Down Expand Up @@ -1640,6 +1640,7 @@ STRINGTABLE
IDS_USAGE, "Usage: RisohEditor [options | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "選択がありません。"
IDS_TRANSLATORS, "[翻訳者]\r\n英語: 片山博文MZ\r\nフィンランド語: Veikko Muurikainen\r\nインドネシア語: Mas Ahmad Muhammad\r\nイタリア語: R.B.\r\n日本語: 片山博文MZ\r\n韓国語: VenusGirl (비너스걸)\r\nポーランド語: Piotr Hetnarowicz\r\nポルトガル語: JNylson\r\nロシア語: Dmitry Yerokhin\r\n中国語(簡体字): 林鸿湘\r\n"
IDS_EXPORTFILTER, "RC ファイル (*.rc)|*.rc|バイナリー リソース (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
3 changes: 2 additions & 1 deletion src/lang/ko_KR.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ STRINGTABLE
IDS_ENTERLANG, "리소스 언어를 입력하십시오."
IDS_FILENOTFOUND, "파일을 찾을 수 없습니다."
IDS_CANNOTREPLACE, "교체할 수 없습니다."
IDS_EXERESFILTER, "실행 파일 (*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui)|*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui|RC Files (*.rc)|*.rc|바이러리 리소스 (*.res)|*.res|모든 파일 (*.*)|*.*|"
IDS_EXERESFILTER, "실행 파일 (*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui)|*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui|리소스 파일 (*.rc)|*.rc|바이러리 리소스 (*.res)|*.res|모든 파일 (*.*)|*.*|"
IDS_SAVEAS, "다른 이름으로 저장"
IDS_CANNOTADDICON, "아이콘을 추가할 수 없습니다."
IDS_ADDICON, "아이콘 추가"
Expand Down Expand Up @@ -1639,6 +1639,7 @@ STRINGTABLE
IDS_USAGE, "사용법: RisohEditor [options | ""파일""]\n\nOptions:\n--help 이 메시지를 표시합니다.\n--version 버전 정보를 표시합니다.\n--load ""your-file.rc"" 파일을 로드합니다 (GUI 없이)\n--save ""your-file.res"" 파일을 저장합니다 (GUI 없이)\n--log-file ""log-file.txt"" 로그 파일을 지정합니다.\n--load-options OPTIONS 로드 옵션을 설정합니다.\n--save-options OPTIONS 저장 옵션을 설정합니다.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "선택 항목이 없습니다."
IDS_TRANSLATORS, "[번역]\r\n한국어: VenusGirl-비너스걸❤\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "리소스 파일 (*.rc)|*.rc|바이너리 리소스 (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
3 changes: 2 additions & 1 deletion src/lang/pl_PL.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ STRINGTABLE
IDS_ENTERLANG, "Wprowadź język zasobu."
IDS_FILENOTFOUND, "Nie można odnaleźć pliku."
IDS_CANNOTREPLACE, "Nie można zamienić."
IDS_EXERESFILTER, "Wykonywalne (*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui)|*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui|RC Files (*.rc)|*.rc|Binary Resources (*.res)|*.res|Wszystkie pliki (*.*)|*.*|"
IDS_EXERESFILTER, "Wykonywalne (*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui)|*.exe;*.dll;*.ocx;*.cpl;*.scr;*.mui|Pliki zasobów (*.rc)|*.rc|Binary Resources (*.res)|*.res|Wszystkie pliki (*.*)|*.*|"
IDS_SAVEAS, "Zapisz jako"
IDS_CANNOTADDICON, "Nie można dodać ikony."
IDS_ADDICON, "Dodaj ikonę"
Expand Down Expand Up @@ -1636,6 +1636,7 @@ STRINGTABLE
IDS_USAGE, "Usage: RisohEditor [options | ""file""]\n\nOptions:\n--help Show this message.\n--version Show version info.\n--load ""your-file.rc"" Load the file (without GUI)\n--save ""your-file.res"" Save the file (without GUI)\n--log-file ""log-file.txt"" Specify the log file.\n--load-options OPTIONS Set load options.\n--save-options OPTIONS Set save options.\n\nLoad options: (no-load-res-h)\nSave options: (idc-static)(compress)(sep-lang)(no-res-folder)(lang-macro)(less-comments)(wrap-manifest)(begin-end)(utf-16)(backup)(ms-msgtbl)"
IDS_NOSELECTION, "Nie ma wyboru."
IDS_TRANSLATORS, "[Translators]\r\nEnglish: Katayama Hirofumi MZ\r\nFinnish: Veikko Muurikainen\r\nIndonesian: Mas Ahmad Muhammad\r\nItalian: R.B.\r\nJapanese: Katayama Hirofumi MZ\r\nKorean: VenusGirl (비너스걸)\r\nPolish: Piotr Hetnarowicz\r\nPortuguese: JNylson\r\nRussian: Dmitry Yerokhin\r\nSimplified Chinese: 林鸿湘\r\n"
IDS_EXPORTFILTER, "Pliki RC (*.rc)|*.rc|Zasoby binarne (*.res)|*.res|"
}

//////////////////////////////////////////////////////////////////////////////
Loading

0 comments on commit 2e7d29f

Please sign in to comment.