scummvm/dists/android.strings.xml.cpp
Ankush Dutt 74dff32dd9 I18N: Add script to generate translated strings.xml and fake cpp
- Add a python script (generate-android-i18n-strings.py)
 that generates the translated android strings.xml as per:
 https://developer.android.com/guide/topics/resources/providing-resources#AlternativeResources
 It considers the dists/android/res/values/strings.xml file as
 a base template to generate those translated strings.xml files.

- The python script also generates a fake cpp with strings from
 dists/android/res/values/strings.xml. These strings will be picked
 up by gettext to make it translatable. If there is any change in the
 original strings.xml file, we won't have to worry about the changes
 in cpp file.

- Add documentation for the generate-android-i18n-strings.py script
2023-05-14 22:40:50 +02:00

52 lines
2.9 KiB
C++

/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/*
* This is an auto generated dummy file used for sticking strings from
* dists/android/res/values/strings.xml into our translation system
*
*/
#include "common/translation.h" // For catching the file during POTFILES reviews
static Common::U32String app_name = _("ScummVM");
static Common::U32String app_desc = _("Graphic adventure game engine");
static Common::U32String ok = _("OK");
static Common::U32String quit = _("Quit");
static Common::U32String no_config_file_title = _("Config File Error");
static Common::U32String no_config_file = _("Unable to read ScummVM config file or create a new one!");
static Common::U32String no_save_path_title = _("Save Path Error");
static Common::U32String no_save_path_configured = _("Unable to create or access default save path!");
static Common::U32String no_icons_path_title = _("Icons Path Error");
static Common::U32String no_icons_path_configured = _("Unable to create or access default icons and shaders path!");
static Common::U32String bad_explicit_save_path_configured = _("Unable to access the globally set save path! Please revert to default from ScummVM Options");
static Common::U32String keyboard_toggle_btn_desc = _("Toggle virtual keyboard");
static Common::U32String customkeyboardview_keycode_alt = _("Alt");
static Common::U32String customkeyboardview_keycode_cancel = _("Cancel");
static Common::U32String customkeyboardview_keycode_delete = _("Delete");
static Common::U32String customkeyboardview_keycode_done = _("Done");
static Common::U32String customkeyboardview_keycode_mode_change = _("Mode change");
static Common::U32String customkeyboardview_keycode_shift = _("Shift");
static Common::U32String customkeyboardview_keycode_enter = _("Enter");
static Common::U32String customkeyboardview_popup_close = _("Close popup");
static Common::U32String saf_request_prompt = _("Please select the *root* of your external (physical) SD card. This is required for ScummVM to access this path: ");
static Common::U32String saf_revoke_done = _("Storage Access Framework Permissions for ScummVM were revoked!");