mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-31 21:21:08 +00:00
Removed hard-coded strings for image conversion
This commit is contained in:
parent
3ca29b37be
commit
48a12604cb
@ -1138,6 +1138,8 @@ BEGIN
|
||||
IDS_SELECTED_CELLS_CAPTION "Selected Cells"
|
||||
IDS_SELECTED_ROW_CAPTION "Selected Cells in Row"
|
||||
IDS_SELECTED_COLUMN_CAPTION "Selected Cells in Column"
|
||||
IDS_BUILT_IN " (Built-in)"
|
||||
IDS_PLUGIN " (Plugin)"
|
||||
END
|
||||
|
||||
#endif // English (U.S.) resources
|
||||
|
@ -141,6 +141,7 @@ BOOL CImageConversionDialog::InitDialog()
|
||||
if(!t_wnd)
|
||||
return FALSE;
|
||||
CString t_string;
|
||||
CString t_append;
|
||||
for (DWORD i=0;i<m_Doptionarraycount;i++)
|
||||
{
|
||||
t_string=m_Doptionarray[i].m_pencodername;
|
||||
@ -148,9 +149,11 @@ BOOL CImageConversionDialog::InitDialog()
|
||||
t_string+=m_Doptionarray[i].m_pfileextention;
|
||||
t_string+=')';
|
||||
if (m_Doptionarray[i].m_builtin)
|
||||
t_string+=" (Built-in)";
|
||||
t_append.LoadString(g_instance, IDS_BUILT_IN);
|
||||
else
|
||||
t_string+=" (Plug-in)";
|
||||
t_append.LoadString(g_instance, IDS_PLUGIN);
|
||||
|
||||
t_string+=t_append;
|
||||
ListBox_AddString(t_wnd,t_string);
|
||||
}
|
||||
ListBox_SetCurSel(t_wnd,m_Doutputimagetype);
|
||||
|
@ -371,6 +371,8 @@
|
||||
#define IDS_SELECTED_CELLS_CAPTION 42321
|
||||
#define IDS_SELECTED_ROW_CAPTION 42322
|
||||
#define IDS_SELECTED_COLUMN_CAPTION 42323
|
||||
#define IDS_BUILT_IN 42324
|
||||
#define IDS_PLUGIN 42325
|
||||
#define IDC_ABOVE 42338
|
||||
#define IDC_BEFORE 42338
|
||||
#define IDC_TABLE_ALIGN 42339
|
||||
|
Loading…
Reference in New Issue
Block a user