VitaShell/language.h
2016-10-15 15:03:26 +02:00

117 lines
2.1 KiB
C

/*
VitaShell
Copyright (C) 2015-2016, TheFloW
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/>.
*/
#ifndef __LANGUAGE_H__
#define __LANGUAGE_H__
enum LanguageContainer {
// General strings
ERROR,
OK,
YES,
NO,
CANCEL,
FOLDER,
// Progress strings
MOVING,
COPYING,
DELETING,
EXPORTING,
INSTALLING,
DOWNLOADING,
EXTRACTING,
COMPRESSING,
HASHING,
// Audio player strings
TITLE,
ALBUM,
ARTIST,
GENRE,
YEAR,
// Hex editor strings
OFFSET,
OPEN_HEX_EDITOR,
// Text editor strings
EDIT_LINE,
ENTER_SEARCH_TERM,
CUT,
INSERT_EMPTY_LINE,
// File browser context menu strings
MORE,
MARK_ALL,
UNMARK_ALL,
MOVE,
COPY,
PASTE,
DELETE,
RENAME,
NEW_FOLDER,
COMPRESS,
INSTALL_ALL,
INSTALL_FOLDER,
CALCULATE_SHA1,
EXPORT_MEDIA,
SEARCH,
// File browser strings
COPIED_FILE,
COPIED_FOLDER,
COPIED_FILES_FOLDERS,
// 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_PICTURES_INFO,
EXPORT_SONGS_PICTURES_INFO,
INSTALL_ALL_QUESTION,
INSTALL_FOLDER_QUESTION,
INSTALL_QUESTION,
INSTALL_WARNING,
HASH_FILE_QUESTION,
// Others
TOOLBOX,
SYSINFO_TITLE,
PLEASE_WAIT,
SAVE_MODIFICATIONS,
NO_SPACE_ERROR,
WIFI_ERROR,
FTP_SERVER,
SYS_INFO,
UPDATE_QUESTION,
LANGUAGE_CONTRAINER_SIZE,
};
extern char *language_container[LANGUAGE_CONTRAINER_SIZE];
void freeLanguageContainer();
void loadLanguage(int id);
#endif