NX-Shell/source/language.cpp

822 lines
16 KiB
C++

#include <switch.h>
#include "language.h"
// TODO: Japanese
static const char *strings_jp[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
static const char *strings_en[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: French
static const char *strings_fr[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: German
static const char *strings_de[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: Italian
static const char *strings_it[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: Spanish
static const char *strings_es[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// Simplified Chinese ("Chinese")
static const char *strings_sc[] {
"确定",
"取消",
"选项",
"选择全部",
"清除全部",
"属性",
"重命名",
"新建文件夹",
"新建文件",
"复制",
"移动",
"粘贴",
"删除",
"设置存档位",
"输入名字",
"输入文件夹名",
"输入文件名",
"复制: ",
"文件名: ",
"大小: ",
"创建日期: ",
"最后修改: ",
"最后访问: ",
"宽度: ",
"高度: ",
"本操作不可逆.",
"确定删除下列文件吗:",
"确定删除吗 ",
"提取归档",
"本功能需要花费一点时间.",
"确定提取吗 ",
"提取中:",
"设置",
"排序方式",
"语言",
"图片查看器",
"开发人员选项",
"关于",
"检查更新",
" 根据文件名 (升序)",
" 根据文件名 (降序)",
" 根据大小 (大文件在前)",
" 根据大小 (小文件在前)",
" 显示文件名",
" 打开日志",
"版本",
"作者",
"横幅",
"更新",
"连接网络失败.",
"有新版本的更新可用.",
"您希望下载并安装NX-Shell版本吗 ",
"更新成功.",
"请退出并重新运行应用程序.",
"你使用的是最新版本.",
"名称不能为空."
};
// TODO: Korean
static const char *strings_ko[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: Dutch
static const char *strings_nl[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: Portuguese
static const char *strings_pt[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: Russian
static const char *strings_ru[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
// TODO: Traditional Chinese ("Taiwanese")
static const char *strings_tw[] {
"OK",
"Cancel",
"Options",
"Select All",
"Clear All",
"Properties",
"Rename",
"New Folder",
"New File",
"Copy",
"Move",
"Paste",
"Delete",
"Set Archive Bit",
"Enter name",
"Enter folder name",
"Enter file name",
"Copying:",
"Name: ",
"Size: ",
"Created: ",
"Modified: ",
"Accessed: ",
"Width: ",
"Height: ",
"This action cannot be undone.",
"Do you wish to delete the following:",
"Do you wish to delete ",
"Extract archive",
"This action may take a while.",
"Do you wish to extract ",
"Extracting:",
"Settings",
"Sort Settings",
"Language",
"Image Viewer",
"Developer Options",
"About",
"Check for Updates",
" By name (ascending)",
" By name (descending)",
" By size (largest first)",
" By size (smallest first)",
" Display filename",
" Enable logs",
"version",
"Author",
"Banner",
"Update",
"Could not connect to network.",
"An update is available.",
"Do you wish to download and install NX-Shell version ",
"Update was successful.",
"Please exit and rerun the application.",
"You are on the latest version.",
"The name cannot be empty."
};
const char **strings[Lang::Max] = {
strings_jp,
strings_en,
strings_fr,
strings_de,
strings_it,
strings_es,
strings_sc,
strings_ko,
strings_nl,
strings_pt,
strings_ru,
strings_tw
};