NX-Shell/source/language.cpp

822 lines
16 KiB
C++
Raw Normal View History

2020-10-25 18:35:16 +00:00
#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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// Simplified Chinese ("Chinese")
2020-10-25 18:35:16 +00:00
static const char *strings_sc[] {
"确定",
"取消",
"选项",
"选择全部",
"清除全部",
"属性",
"重命名",
"新建文件夹",
"新建文件",
"复制",
"移动",
"粘贴",
"删除",
"设置存档位",
"输入名字",
"输入文件夹名",
"输入文件名",
"复制: ",
"文件名: ",
"大小: ",
"创建日期: ",
"最后修改: ",
"最后访问: ",
"宽度: ",
"高度: ",
"本操作不可逆.",
"确定删除下列文件吗:",
"确定删除吗 ",
"提取归档",
"本功能需要花费一点时间.",
"确定提取吗 ",
"提取中:",
"设置",
"排序方式",
"语言",
"图片查看器",
"开发人员选项",
"关于",
"检查更新",
" 根据文件名 (升序)",
" 根据文件名 (降序)",
" 根据大小 (大文件在前)",
" 根据大小 (小文件在前)",
" 显示文件名",
" 打开日志",
"版本",
"作者",
"横幅",
"更新",
"连接网络失败.",
"有新版本的更新可用.",
"您希望下载并安装NX-Shell版本吗 ",
"更新成功.",
"请退出并重新运行应用程序.",
"你使用的是最新版本.",
"名称不能为空."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// 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",
2020-10-25 18:35:16 +00:00
"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."
2020-10-25 18:35:16 +00:00
};
// Traditional Chinese ("Taiwanese")
2020-10-25 18:35:16 +00:00
static const char *strings_tw[] {
"確定",
"取消",
2020-10-25 18:35:16 +00:00
"選項",
"選擇全部",
"清除全部",
"屬性",
"重命名",
"新建文件夾",
"新建文件",
"復制",
"移動",
"粘貼",
"刪除",
"設置存檔位",
"輸入名字",
"輸入文件夾名",
"輸入文件名",
"復制:",
2020-10-25 18:35:16 +00:00
"文件名: ",
"大小: ",
"創建日期: ",
"最後修改: ",
"最後訪問: ",
"寬度: ",
"高度: ",
2020-10-25 18:35:16 +00:00
"本操作不可逆.",
"確定刪除下列文件嗎:",
"確定刪除嗎 ",
2020-10-25 18:35:16 +00:00
"提取歸檔",
"本功能需要花費壹點時間.",
"確定提取嗎 ",
"提取中:",
2020-10-25 18:35:16 +00:00
"設置",
"排序方式",
"語言",
"圖片查看器",
"開發人員選項",
"關於",
"檢查更新",
" 根據文件名 (升序)",
" 根據文件名 (降序)",
" 根據大小 (大文件在前)",
" 根據大小 (小文件在前)",
" 顯示文件名",
" 打開日誌",
"版本",
"作者",
"橫幅",
2020-10-25 18:35:16 +00:00
"更新",
"連接網絡失敗.",
"有新版本的更新可用.",
"您希望下載並安裝NX-Shell版本嗎 ",
"更新成功.",
"請退出並重新運行應用程序.",
"妳使用的是最新版本.",
"名稱不能為空."
2020-10-25 18:35:16 +00:00
};
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
};