mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Added translations (without translating)
This commit is contained in:
1
apps/external/Makefile
vendored
1
apps/external/Makefile
vendored
@@ -26,6 +26,7 @@ i18n_files += $(addprefix apps/external/,\
|
||||
base.es.i18n\
|
||||
base.fr.i18n\
|
||||
base.pt.i18n\
|
||||
base.universal.i18n\
|
||||
)
|
||||
|
||||
$(eval $(call depends_on_image,apps/external/app.cpp,apps/external/external_icon.png))
|
||||
|
||||
5
apps/external/base.de.i18n
vendored
5
apps/external/base.de.i18n
vendored
@@ -2,3 +2,8 @@ ExternalApp = "External"
|
||||
ExternalAppCapital = "EXTERNAL"
|
||||
ExternalAppApiMismatch = "API mismatch"
|
||||
ExternalAppExecError = "Cannot execute file"
|
||||
ExternalNotCompatible = "External is not compatible"
|
||||
WithSimulator = "with the simulator"
|
||||
WithN0100 = "with n0100"
|
||||
GetMoreAppsAt = "Get more apps at"
|
||||
NoAppsInstalled = "No apps installed"
|
||||
|
||||
5
apps/external/base.en.i18n
vendored
5
apps/external/base.en.i18n
vendored
@@ -2,3 +2,8 @@ ExternalApp = "External"
|
||||
ExternalAppCapital = "EXTERNAL"
|
||||
ExternalAppApiMismatch = "API mismatch"
|
||||
ExternalAppExecError = "Cannot execute file"
|
||||
ExternalNotCompatible = "External is not compatible"
|
||||
WithSimulator = "with the simulator"
|
||||
WithN0100 = "with n0100"
|
||||
GetMoreAppsAt = "Get more apps at"
|
||||
NoAppsInstalled = "No apps installed"
|
||||
|
||||
5
apps/external/base.es.i18n
vendored
5
apps/external/base.es.i18n
vendored
@@ -2,3 +2,8 @@ ExternalApp = "External"
|
||||
ExternalAppCapital = "EXTERNAL"
|
||||
ExternalAppApiMismatch = "API mismatch"
|
||||
ExternalAppExecError = "Cannot execute file"
|
||||
ExternalNotCompatible = "External is not compatible"
|
||||
WithSimulator = "with the simulator"
|
||||
WithN0100 = "with n0100"
|
||||
GetMoreAppsAt = "Get more apps at"
|
||||
NoAppsInstalled = "No apps installed"
|
||||
|
||||
5
apps/external/base.fr.i18n
vendored
5
apps/external/base.fr.i18n
vendored
@@ -2,3 +2,8 @@ ExternalApp = "External"
|
||||
ExternalAppCapital = "EXTERNAL"
|
||||
ExternalAppApiMismatch = "API mismatch"
|
||||
ExternalAppExecError = "Cannot execute file"
|
||||
ExternalNotCompatible = "External is not compatible"
|
||||
WithSimulator = "with the simulator"
|
||||
WithN0100 = "with n0100"
|
||||
GetMoreAppsAt = "Get more apps at"
|
||||
NoAppsInstalled = "No apps installed"
|
||||
|
||||
5
apps/external/base.pt.i18n
vendored
5
apps/external/base.pt.i18n
vendored
@@ -2,3 +2,8 @@ ExternalApp = "External"
|
||||
ExternalAppCapital = "EXTERNAL"
|
||||
ExternalAppApiMismatch = "API mismatch"
|
||||
ExternalAppExecError = "Cannot execute file"
|
||||
ExternalNotCompatible = "External is not compatible"
|
||||
WithSimulator = "with the simulator"
|
||||
WithN0100 = "with n0100"
|
||||
GetMoreAppsAt = "Get more apps at"
|
||||
NoAppsInstalled = "No apps installed"
|
||||
|
||||
1
apps/external/base.universal.i18n
vendored
Normal file
1
apps/external/base.universal.i18n
vendored
Normal file
@@ -0,0 +1 @@
|
||||
URL = "zardam.github.io/nw-external-apps/"
|
||||
14
apps/external/main_controller.cpp
vendored
14
apps/external/main_controller.cpp
vendored
@@ -89,25 +89,25 @@ void MainController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
#ifdef DEVICE
|
||||
if(Ion::fccId() == "2ALWP-N0100"){
|
||||
if(index == 0){
|
||||
myTextCell->setText("External is not compatible");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::ExternalNotCompatible));
|
||||
myTextCell->setTextColor(Palette::Red);
|
||||
} else {
|
||||
myTextCell->setText("with n0100");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::WithN0100));
|
||||
myTextCell->setTextColor(Palette::Red);
|
||||
}
|
||||
}else{
|
||||
if(index == k_numberOfCells-1){
|
||||
myTextCell->setText("zardam.github.io/nw-external-apps/");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::URL));
|
||||
myTextCell->setTextColor(Palette::AccentText);
|
||||
return;
|
||||
}
|
||||
if(index == k_numberOfCells-2){
|
||||
myTextCell->setText("Get more apps at");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::GetMoreAppsAt));
|
||||
myTextCell->setTextColor(Palette::AccentText);
|
||||
return;
|
||||
}
|
||||
if(index == 0 && numberOfFiles() == 0){
|
||||
myTextCell->setText("No apps installed");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::NoAppsInstalled));
|
||||
myTextCell->setTextColor(Palette::Red);
|
||||
}
|
||||
if(numberOfFiles() > 0){
|
||||
@@ -119,10 +119,10 @@ void MainController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
}
|
||||
#else
|
||||
if(index == 0){
|
||||
myTextCell->setText("External is not compatible");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::ExternalNotCompatible));
|
||||
myTextCell->setTextColor(Palette::Red);
|
||||
} else {
|
||||
myTextCell->setText("with the simulator");
|
||||
myTextCell->setText(I18n::translate(I18n::Message::WithSimulator));
|
||||
myTextCell->setTextColor(Palette::Red);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user