Spreadsheet: Create .qm out of .ts files
This commit is contained in:
@@ -48,6 +48,7 @@ void loadSpreadsheetResource()
|
||||
{
|
||||
// add resources and reloads the translators
|
||||
Q_INIT_RESOURCE(Spreadsheet);
|
||||
Q_INIT_RESOURCE(Spreadsheet_translation);
|
||||
Gui::Translator::instance()->refresh();
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,11 @@ SET(SpreadsheetGui_RES_SRCS
|
||||
Resources/Spreadsheet.qrc
|
||||
)
|
||||
|
||||
qt_add_resources(SpreadsheetGui_QRC_SRCS ${SpreadsheetGui_RES_SRCS})
|
||||
set (Spreadsheet_TR_QRC ${CMAKE_CURRENT_BINARY_DIR}/Resources/Spreadsheet_translation.qrc)
|
||||
qt_find_and_add_translation(QM_SRCS "Resources/translations/*_*.ts"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Resources/translations)
|
||||
qt_create_resource_file(${Spreadsheet_TR_QRC} ${QM_SRCS})
|
||||
qt_add_resources(SpreadsheetGui_QRC_SRCS ${SpreadsheetGui_RES_SRCS} ${Spreadsheet_TR_QRC})
|
||||
|
||||
set(SpreadsheetGui_UIC_SRCS
|
||||
Sheet.ui
|
||||
|
||||
@@ -17,48 +17,6 @@
|
||||
<file>icons/SpreadsheetStyleItalic.svg</file>
|
||||
<file>icons/SpreadsheetStyleBold.svg</file>
|
||||
<file>icons/SpreadsheetWorkbench.svg</file>
|
||||
<file>translations/Spreadsheet_de.qm</file>
|
||||
<file>translations/Spreadsheet_af.qm</file>
|
||||
<file>translations/Spreadsheet_zh-CN.qm</file>
|
||||
<file>translations/Spreadsheet_zh-TW.qm</file>
|
||||
<file>translations/Spreadsheet_hr.qm</file>
|
||||
<file>translations/Spreadsheet_cs.qm</file>
|
||||
<file>translations/Spreadsheet_nl.qm</file>
|
||||
<file>translations/Spreadsheet_fi.qm</file>
|
||||
<file>translations/Spreadsheet_fr.qm</file>
|
||||
<file>translations/Spreadsheet_hu.qm</file>
|
||||
<file>translations/Spreadsheet_ja.qm</file>
|
||||
<file>translations/Spreadsheet_no.qm</file>
|
||||
<file>translations/Spreadsheet_pl.qm</file>
|
||||
<file>translations/Spreadsheet_pt-PT.qm</file>
|
||||
<file>translations/Spreadsheet_ro.qm</file>
|
||||
<file>translations/Spreadsheet_ru.qm</file>
|
||||
<file>translations/Spreadsheet_sr.qm</file>
|
||||
<file>translations/Spreadsheet_es-ES.qm</file>
|
||||
<file>translations/Spreadsheet_sv-SE.qm</file>
|
||||
<file>translations/Spreadsheet_uk.qm</file>
|
||||
<file>translations/Spreadsheet_it.qm</file>
|
||||
<file>translations/Spreadsheet_pt-BR.qm</file>
|
||||
<file>translations/Spreadsheet_el.qm</file>
|
||||
<file>translations/Spreadsheet_sk.qm</file>
|
||||
<file>translations/Spreadsheet_tr.qm</file>
|
||||
<file>translations/Spreadsheet_sl.qm</file>
|
||||
<file>translations/Spreadsheet_eu.qm</file>
|
||||
<file>translations/Spreadsheet_ca.qm</file>
|
||||
<file>translations/Spreadsheet_gl.qm</file>
|
||||
<file>translations/Spreadsheet_kab.qm</file>
|
||||
<file>translations/Spreadsheet_ko.qm</file>
|
||||
<file>translations/Spreadsheet_fil.qm</file>
|
||||
<file>translations/Spreadsheet_id.qm</file>
|
||||
<file>translations/Spreadsheet_lt.qm</file>
|
||||
<file>translations/Spreadsheet_val-ES.qm</file>
|
||||
<file>translations/Spreadsheet_ar.qm</file>
|
||||
<file>translations/Spreadsheet_vi.qm</file>
|
||||
<file>translations/Spreadsheet_es-AR.qm</file>
|
||||
<file>translations/Spreadsheet_bg.qm</file>
|
||||
<file>translations/Spreadsheet_ka.qm</file>
|
||||
<file>translations/Spreadsheet_sr-CS.qm</file>
|
||||
<file>translations/Spreadsheet_be.qm</file>
|
||||
<file>icons/SpreadsheetAlias.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user