2016-08-06 06:59:41 +00:00
|
|
|
/*
|
2017-10-13 10:42:36 +00:00
|
|
|
VitaShell
|
2017-12-30 10:43:37 +00:00
|
|
|
Copyright (C) 2015-2018, TheFloW
|
2016-08-06 06:59:41 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
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.
|
2016-08-06 06:59:41 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
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.
|
2016-08-06 06:59:41 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2016-08-06 06:59:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LANGUAGE_H__
|
|
|
|
#define __LANGUAGE_H__
|
|
|
|
|
|
|
|
enum LanguageContainer {
|
2017-10-13 10:42:36 +00:00
|
|
|
// General strings
|
|
|
|
ERROR,
|
|
|
|
OK,
|
|
|
|
YES,
|
|
|
|
NO,
|
|
|
|
CANCEL,
|
|
|
|
ON,
|
|
|
|
OFF,
|
|
|
|
FILE_,
|
|
|
|
FOLDER,
|
|
|
|
|
|
|
|
// Progress strings
|
|
|
|
MOVING,
|
|
|
|
COPYING,
|
|
|
|
DELETING,
|
|
|
|
EXPORTING,
|
|
|
|
INSTALLING,
|
|
|
|
DOWNLOADING,
|
|
|
|
EXTRACTING,
|
|
|
|
COMPRESSING,
|
|
|
|
HASHING,
|
|
|
|
REFRESHING,
|
2018-01-27 14:28:51 +00:00
|
|
|
SENDING,
|
|
|
|
RECEIVING,
|
2017-10-13 10:42:36 +00:00
|
|
|
|
|
|
|
// Audio player strings
|
|
|
|
TITLE,
|
|
|
|
ALBUM,
|
|
|
|
ARTIST,
|
|
|
|
GENRE,
|
|
|
|
YEAR,
|
|
|
|
|
|
|
|
// Hex editor strings
|
|
|
|
OFFSET,
|
|
|
|
OPEN_HEX_EDITOR,
|
|
|
|
|
|
|
|
// Text editor strings
|
|
|
|
EDIT_LINE,
|
|
|
|
ENTER_SEARCH_TERM,
|
|
|
|
|
|
|
|
// Context menu strings
|
|
|
|
REFRESH_LIVEAREA,
|
2017-10-29 00:10:36 +00:00
|
|
|
REFRESH_LICENSE_DB,
|
2017-10-13 10:42:36 +00:00
|
|
|
MOUNT_UMA0,
|
|
|
|
MOUNT_IMC0,
|
2018-06-19 20:52:56 +00:00
|
|
|
MOUNT_XMC0,
|
2018-06-21 08:12:04 +00:00
|
|
|
UMOUNT_UMA0,
|
|
|
|
UMOUNT_IMC0,
|
|
|
|
UMOUNT_XMC0,
|
2017-10-13 10:42:36 +00:00
|
|
|
MOUNT_USB_UX0,
|
|
|
|
UMOUNT_USB_UX0,
|
2018-06-17 17:39:58 +00:00
|
|
|
MOUNT_GAMECARD_UX0,
|
|
|
|
UMOUNT_GAMECARD_UX0,
|
2017-10-13 10:42:36 +00:00
|
|
|
SORT_BY,
|
|
|
|
BY_NAME,
|
|
|
|
BY_SIZE,
|
|
|
|
BY_DATE,
|
|
|
|
MARK_ALL,
|
|
|
|
UNMARK_ALL,
|
|
|
|
MOVE,
|
|
|
|
COPY,
|
|
|
|
PASTE,
|
|
|
|
DELETE,
|
|
|
|
RENAME,
|
2018-06-16 19:54:19 +00:00
|
|
|
NEW,
|
|
|
|
NEW_FILE,
|
2017-10-13 10:42:36 +00:00
|
|
|
NEW_FOLDER,
|
|
|
|
PROPERTIES,
|
2018-01-25 21:22:07 +00:00
|
|
|
SEND,
|
|
|
|
RECEIVE,
|
2017-10-13 10:42:36 +00:00
|
|
|
MORE,
|
2018-09-13 10:00:30 +00:00
|
|
|
ADHOC_TRANSFER,
|
|
|
|
BOOKMARKS,
|
|
|
|
BOOKMARKS_SHOW,
|
|
|
|
BOOKMARKS_NEW,
|
|
|
|
RECENT_FILES_SHOW,
|
2017-10-13 10:42:36 +00:00
|
|
|
COMPRESS,
|
|
|
|
INSTALL_ALL,
|
|
|
|
INSTALL_FOLDER,
|
|
|
|
CALCULATE_SHA1,
|
|
|
|
OPEN_DECRYPTED,
|
|
|
|
EXPORT_MEDIA,
|
|
|
|
CUT,
|
|
|
|
INSERT_EMPTY_LINE,
|
|
|
|
SEARCH,
|
|
|
|
|
|
|
|
// File browser properties strings
|
|
|
|
PROPERTY_NAME,
|
|
|
|
PROPERTY_TYPE,
|
|
|
|
PROPERTY_FSELF_MODE,
|
|
|
|
PROPERTY_SIZE,
|
|
|
|
PROPERTY_COMPRESSED_SIZE,
|
|
|
|
PROPERTY_CONTAINS,
|
|
|
|
PROPERTY_CONTAINS_FILES_FOLDERS,
|
|
|
|
PROPERTY_CREATION_DATE,
|
|
|
|
PROPERTY_MODFICATION_DATE,
|
2017-12-31 00:47:19 +00:00
|
|
|
PROPERTY_TYPE_ARCHIVE,
|
2017-10-13 10:42:36 +00:00
|
|
|
PROPERTY_TYPE_BMP,
|
|
|
|
PROPERTY_TYPE_INI,
|
|
|
|
PROPERTY_TYPE_JPEG,
|
|
|
|
PROPERTY_TYPE_MP3,
|
|
|
|
PROPERTY_TYPE_OGG,
|
|
|
|
PROPERTY_TYPE_PNG,
|
|
|
|
PROPERTY_TYPE_SFO,
|
|
|
|
PROPERTY_TYPE_TXT,
|
|
|
|
PROPERTY_TYPE_VPK,
|
|
|
|
PROPERTY_TYPE_XML,
|
|
|
|
PROPERTY_TYPE_FSELF,
|
|
|
|
PROPERTY_FSELF_MODE_SAFE,
|
|
|
|
PROPERTY_FSELF_MODE_UNSAFE,
|
|
|
|
PROPERTY_FSELF_MODE_SCE,
|
|
|
|
|
|
|
|
// File browser strings
|
|
|
|
REFRESHED,
|
|
|
|
COPIED_FILE,
|
|
|
|
COPIED_FOLDER,
|
|
|
|
COPIED_FILES_FOLDERS,
|
2017-10-29 00:10:36 +00:00
|
|
|
IMPORTED_LICENSES,
|
2017-10-13 10:42:36 +00:00
|
|
|
|
|
|
|
// Dialog questions
|
|
|
|
DELETE_FILE_QUESTION,
|
|
|
|
DELETE_FOLDER_QUESTION,
|
|
|
|
DELETE_FILES_FOLDERS_QUESTION,
|
|
|
|
EXPORT_FILE_QUESTION,
|
|
|
|
EXPORT_FOLDER_QUESTION,
|
|
|
|
EXPORT_FILES_FOLDERS_QUESTION,
|
|
|
|
EXPORT_NO_MEDIA,
|
|
|
|
EXPORT_SONGS_INFO,
|
|
|
|
EXPORT_VIDEOS_INFO,
|
|
|
|
EXPORT_PICTURES_INFO,
|
|
|
|
EXPORT_SONGS_VIDEOS_INFO,
|
|
|
|
EXPORT_SONGS_PICTURES_INFO,
|
|
|
|
EXPORT_VIDEOS_PICTURES_INFO,
|
|
|
|
EXPORT_SONGS_VIDEOS_PICTURES_INFO,
|
|
|
|
INSTALL_ALL_QUESTION,
|
|
|
|
INSTALL_FOLDER_QUESTION,
|
|
|
|
INSTALL_QUESTION,
|
|
|
|
INSTALL_WARNING,
|
|
|
|
INSTALL_BRICK_WARNING,
|
|
|
|
HASH_FILE_QUESTION,
|
|
|
|
SAVE_MODIFICATIONS,
|
|
|
|
REFRESH_LIVEAREA_QUESTION,
|
2017-10-29 00:10:36 +00:00
|
|
|
REFRESH_LICENSE_DB_QUESTION,
|
2017-10-13 10:42:36 +00:00
|
|
|
|
|
|
|
// HENkaku settings strings
|
|
|
|
HENKAKU_SETTINGS,
|
|
|
|
HENKAKU_ENABLE_PSN_SPOOFING,
|
|
|
|
HENKAKU_ENABLE_UNSAFE_HOMEBREW,
|
|
|
|
HENKAKU_ENABLE_VERSION_SPOOFING,
|
|
|
|
HENKAKU_SPOOFED_VERSION,
|
|
|
|
HENKAKU_RESTORE_DEFAULT_SETTINGS,
|
|
|
|
HENKAKU_RELOAD_CONFIG,
|
|
|
|
HENKAKU_RESTORE_DEFAULT_MESSAGE,
|
|
|
|
HENKAKU_RELOAD_CONFIG_MESSAGE,
|
|
|
|
HENKAKU_UNSAFE_HOMEBREW_MESSAGE,
|
|
|
|
|
|
|
|
// VitaShell settings
|
|
|
|
VITASHELL_SETTINGS_MAIN,
|
|
|
|
VITASHELL_SETTINGS_LANGUAGE,
|
|
|
|
VITASHELL_SETTINGS_THEME,
|
|
|
|
VITASHELL_SETTINGS_USBDEVICE,
|
|
|
|
VITASHELL_SETTINGS_SELECT_BUTTON,
|
|
|
|
VITASHELL_SETTINGS_NO_AUTO_UPDATE,
|
2018-08-27 15:51:18 +00:00
|
|
|
VITASHELL_SETTINGS_WARNING_MESSAGE,
|
2017-10-13 10:42:36 +00:00
|
|
|
VITASHELL_SETTINGS_RESTART_SHELL,
|
|
|
|
VITASHELL_SETTINGS_POWER,
|
|
|
|
VITASHELL_SETTINGS_REBOOT,
|
|
|
|
VITASHELL_SETTINGS_POWEROFF,
|
|
|
|
VITASHELL_SETTINGS_STANDBY,
|
|
|
|
VITASHELL_SETTINGS_USB_MEMORY_CARD,
|
|
|
|
VITASHELL_SETTINGS_USB_GAME_CARD,
|
|
|
|
VITASHELL_SETTINGS_USB_SD2VITA,
|
|
|
|
VITASHELL_SETTINGS_USB_PSVSD,
|
|
|
|
VITASHELL_SETTINGS_SELECT_BUTTON_USB,
|
|
|
|
VITASHELL_SETTINGS_SELECT_BUTTON_FTP,
|
|
|
|
|
|
|
|
// USB strings
|
|
|
|
USB_CONNECTED,
|
|
|
|
USB_NOT_CONNECTED,
|
|
|
|
USB_CONNECTION_NOT_AVAILABLE,
|
|
|
|
USB_WAIT_ATTACH,
|
|
|
|
USB_UX0_MOUNTED,
|
|
|
|
USB_UX0_UMOUNTED,
|
2018-06-17 17:39:58 +00:00
|
|
|
GAMECARD_UX0_MOUNTED,
|
|
|
|
GAMECARD_UX0_UMOUNTED,
|
2017-10-13 10:42:36 +00:00
|
|
|
|
|
|
|
// QR strings
|
|
|
|
QR_SCANNING,
|
|
|
|
QR_OPEN_WEBSITE,
|
|
|
|
QR_SHOW_CONTENTS,
|
|
|
|
QR_CONFIRM_INSTALL,
|
|
|
|
QR_CONFIRM_DOWNLOAD,
|
|
|
|
|
2018-01-26 10:36:14 +00:00
|
|
|
// Adhoc strings
|
2018-01-27 14:28:51 +00:00
|
|
|
ADHOC_RECEIVE_SEARCHING_PSVITA,
|
2018-01-26 10:36:14 +00:00
|
|
|
ADHOC_SELECT_PSVITA,
|
|
|
|
ADHOC_RECEIVE_QUESTION,
|
2018-01-27 14:28:51 +00:00
|
|
|
ADHOC_CLIENT_DECLINED,
|
2018-01-26 10:36:14 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
// Others
|
2018-06-21 08:12:04 +00:00
|
|
|
UMA0_MOUNTED,
|
2017-10-13 10:42:36 +00:00
|
|
|
IMC0_MOUNTED,
|
2018-06-19 20:52:56 +00:00
|
|
|
XMC0_MOUNTED,
|
2018-06-21 08:12:04 +00:00
|
|
|
UMA0_UMOUNTED,
|
|
|
|
IMC0_UMOUNTED,
|
|
|
|
XMC0_UMOUNTED,
|
2017-10-13 10:42:36 +00:00
|
|
|
SAFE_MODE,
|
|
|
|
UNSAFE_MODE,
|
|
|
|
PLEASE_WAIT,
|
|
|
|
MEMORY_CARD_NOT_FOUND,
|
|
|
|
GAME_CARD_NOT_FOUND,
|
|
|
|
MICROSD_NOT_FOUND,
|
|
|
|
NO_SPACE_ERROR,
|
|
|
|
EXTENDED_PERMISSIONS_REQUIRED,
|
|
|
|
WIFI_ERROR,
|
|
|
|
FTP_SERVER,
|
|
|
|
UPDATE_QUESTION,
|
|
|
|
ARCHIVE_NAME,
|
|
|
|
COMPRESSION_LEVEL,
|
2018-01-03 16:09:22 +00:00
|
|
|
ENTER_PASSWORD,
|
2018-09-13 10:00:30 +00:00
|
|
|
BOOKMARK_CREATED,
|
2018-01-03 16:09:22 +00:00
|
|
|
|
2017-10-29 00:10:36 +00:00
|
|
|
LANGUAGE_CONTAINER_SIZE,
|
2016-08-06 06:59:41 +00:00
|
|
|
};
|
|
|
|
|
2017-10-29 00:10:36 +00:00
|
|
|
extern char *language_container[LANGUAGE_CONTAINER_SIZE];
|
2016-08-06 06:59:41 +00:00
|
|
|
|
|
|
|
void freeLanguageContainer();
|
|
|
|
void loadLanguage(int id);
|
|
|
|
|
2016-09-04 12:29:21 +00:00
|
|
|
#endif
|