mirror of https://github.com/odrling/Aegisub
Meson: add gettext i18n
This commit is contained in:
parent
97b4dfb7f4
commit
48af346e94
|
@ -144,4 +144,5 @@ acconf = configure_file(output : 'acconf.h', configuration : conf)
|
|||
subdir('automation')
|
||||
subdir('libaegisub')
|
||||
subdir('packages')
|
||||
subdir('po')
|
||||
subdir('src')
|
||||
|
|
|
@ -0,0 +1,81 @@
|
|||
src/ass_style.cpp
|
||||
src/audio_box.cpp
|
||||
src/audio_karaoke.cpp
|
||||
src/audio_renderer_waveform.cpp
|
||||
src/audio_timing_dialogue.cpp
|
||||
src/audio_timing_karaoke.cpp
|
||||
src/auto4_base.cpp
|
||||
src/auto4_lua.cpp
|
||||
src/charset_detect.cpp
|
||||
src/command/app.cpp
|
||||
src/command/audio.cpp
|
||||
src/command/automation.cpp
|
||||
src/command/command.cpp
|
||||
src/command/command.h
|
||||
src/command/edit.cpp
|
||||
src/command/grid.cpp
|
||||
src/command/keyframe.cpp
|
||||
src/command/recent.cpp
|
||||
src/command/subtitle.cpp
|
||||
src/command/timecode.cpp
|
||||
src/command/time.cpp
|
||||
src/command/tool.cpp
|
||||
src/command/video.cpp
|
||||
src/dialog_about.cpp
|
||||
src/dialog_attachments.cpp
|
||||
src/dialog_automation.cpp
|
||||
src/dialog_autosave.cpp
|
||||
src/dialog_colorpicker.cpp
|
||||
src/dialog_dummy_video.cpp
|
||||
src/dialog_export.cpp
|
||||
src/dialog_export_ebu3264.cpp
|
||||
src/dialog_fonts_collector.cpp
|
||||
src/dialog_jumpto.cpp
|
||||
src/dialog_kara_timing_copy.cpp
|
||||
src/dialog_log.cpp
|
||||
src/dialog_paste_over.cpp
|
||||
src/dialog_progress.cpp
|
||||
src/dialog_properties.cpp
|
||||
src/dialog_resample.cpp
|
||||
src/dialog_search_replace.cpp
|
||||
src/dialog_selected_choices.cpp
|
||||
src/dialog_selection.cpp
|
||||
src/dialog_shift_times.cpp
|
||||
src/dialog_spellchecker.cpp
|
||||
src/dialog_style_editor.cpp
|
||||
src/dialog_style_manager.cpp
|
||||
src/dialog_styling_assistant.cpp
|
||||
src/dialog_text_import.cpp
|
||||
src/dialog_timing_processor.cpp
|
||||
src/dialog_translation.cpp
|
||||
src/dialog_version_check.cpp
|
||||
src/dialog_video_details.cpp
|
||||
src/dialog_video_properties.cpp
|
||||
src/export_fixstyle.cpp
|
||||
src/export_framerate.cpp
|
||||
src/ffmpegsource_common.cpp
|
||||
src/font_file_lister.cpp
|
||||
src/font_file_lister_fontconfig.cpp
|
||||
src/font_file_lister_gdi.cpp
|
||||
src/grid_column.cpp
|
||||
src/hotkey.cpp
|
||||
src/main.cpp
|
||||
src/menu.cpp
|
||||
src/mkv_wrap.cpp
|
||||
src/preferences_base.cpp
|
||||
src/preferences.cpp
|
||||
src/project.cpp
|
||||
src/resolution_resampler.cpp
|
||||
src/search_replace_engine.cpp
|
||||
src/subs_controller.cpp
|
||||
src/subs_edit_box.cpp
|
||||
src/subs_edit_ctrl.cpp
|
||||
src/subtitle_format.cpp
|
||||
src/subtitle_format_ebu3264.cpp
|
||||
src/subtitles_provider_libass.cpp
|
||||
src/timeedit_ctrl.cpp
|
||||
src/video_box.cpp
|
||||
src/visual_tool.cpp
|
||||
src/visual_tool_cross.cpp
|
||||
src/visual_tool_drag.cpp
|
||||
src/visual_tool_vector_clip.cpp
|
|
@ -0,0 +1,34 @@
|
|||
i18n = import('i18n')
|
||||
langs = [
|
||||
'ar',
|
||||
'bg',
|
||||
'ca',
|
||||
'cs',
|
||||
'da',
|
||||
'de',
|
||||
'el',
|
||||
'es',
|
||||
'eu',
|
||||
'fa',
|
||||
'fi',
|
||||
'fr_FR',
|
||||
'gl',
|
||||
'hu',
|
||||
'id',
|
||||
'it',
|
||||
'ja',
|
||||
'ko',
|
||||
'nl',
|
||||
'pl',
|
||||
'pt_BR',
|
||||
'pt_PT',
|
||||
'ru',
|
||||
'sr_RS@latin',
|
||||
'sr_RS',
|
||||
'uk_UA',
|
||||
'vi',
|
||||
'zh_CN',
|
||||
'zh_TW',
|
||||
]
|
||||
|
||||
i18n.gettext('aegisub', languages : langs)
|
Loading…
Reference in New Issue