Fix format specifiers in Spanish translation, add MainApp.gs(id, args).
This commit is contained in:
parent
ca01168474
commit
0067eb75d5
2 changed files with 6 additions and 2 deletions
|
@ -233,6 +233,10 @@ public class MainApp extends Application {
|
||||||
return sResources.getString(id);
|
return sResources.getString(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static String gs(int id, Object... args) {
|
||||||
|
return sResources.getString(id, args);
|
||||||
|
}
|
||||||
|
|
||||||
public static MainApp instance() {
|
public static MainApp instance() {
|
||||||
return sInstance;
|
return sInstance;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue