Fix issue where version was not showing in CLI mode; clear locale_en_US since it's just placeholder
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a60d929dcd
commit
4ccf833aa5
3 changed files with 3 additions and 83 deletions
|
@ -59,7 +59,7 @@ Sometimes I add new posts about this project [on my blog page](https://developer
|
||||||
* Japanese by [kuragehime](https://github.com/kuragehimekurara1)
|
* Japanese by [kuragehime](https://github.com/kuragehimekurara1)
|
||||||
* Ryukyuan languages by [kuragehime](https://github.com/kuragehimekurara1)
|
* Ryukyuan languages by [kuragehime](https://github.com/kuragehimekurara1)
|
||||||
|
|
||||||
* angelodalzotto makes packages in AUR
|
* Angelo Elias Dalzotto makes packages in AUR
|
||||||
|
|
||||||
### System requirements
|
### System requirements
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@ public class NSLMain extends Application {
|
||||||
|
|
||||||
Locale userLocale = AppPreferences.getInstance().getLocale();
|
Locale userLocale = AppPreferences.getInstance().getLocale();
|
||||||
ResourceBundle rb = ResourceBundle.getBundle("locale", userLocale);
|
ResourceBundle rb = ResourceBundle.getBundle("locale", userLocale);
|
||||||
NSLMain.appVersion = ResourceBundle.getBundle("app").getString("_version");
|
|
||||||
|
|
||||||
loader.setResources(rb);
|
loader.setResources(rb);
|
||||||
Parent root = loader.load();
|
Parent root = loader.load();
|
||||||
|
@ -84,6 +83,7 @@ public class NSLMain extends Application {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
NSLMain.appVersion = ResourceBundle.getBundle("app").getString("_version");
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
launch(args);
|
launch(args);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,80 +0,0 @@
|
||||||
btn_OpenFile=Select files
|
|
||||||
btn_OpenFolders=Select folder
|
|
||||||
btn_Upload=Upload to NS
|
|
||||||
btn_OpenFolders_tooltip=Select a folder to be scanned.\nThis folder and all of its subfolders will be scanned.\nAll matching files will be added to the list.
|
|
||||||
tab3_Txt_EnteredAsMsg1=You have been entered as:
|
|
||||||
tab3_Txt_EnteredAsMsg2=You should be root or have configured 'udev' rules for this user to avoid any issues.
|
|
||||||
tab3_Txt_FilesToUploadTitle=Files to upload:
|
|
||||||
tab3_Txt_GreetingsMessage=Welcome to NS-USBloader
|
|
||||||
tab3_Txt_NoFolderOrFileSelected=No files selected: nothing to upload.
|
|
||||||
windowBodyConfirmExit=Data transfer is in progress and closing this application will interrupt it.\nIt's the worse thing you can do now.\nInterrupt proccess and exit?
|
|
||||||
windowTitleConfirmExit=No, don't do this!
|
|
||||||
btn_Stop=Interrupt
|
|
||||||
tab3_Txt_GreetingsMessage2=--\n\
|
|
||||||
Source: https://git.redrise.ru/desu/ns-usbloader\n\
|
|
||||||
Mirror: https://github.com/developersu/ns-usbloader/\n\
|
|
||||||
Site: https://redrise.ru\n\
|
|
||||||
Dmitry Isaenko [developer.su]
|
|
||||||
tab1_table_Lbl_Status=Status
|
|
||||||
tab1_table_Lbl_FileName=File name
|
|
||||||
tab1_table_Lbl_Size=Size
|
|
||||||
tab1_table_Lbl_Upload=Upload?
|
|
||||||
tab1_table_contextMenu_Btn_BtnDelete=Remove
|
|
||||||
tab1_table_contextMenu_Btn_DeleteAll=Remove all
|
|
||||||
tab2_Lbl_HostIP=Host IP
|
|
||||||
tab1_Lbl_NSIP=NS IP:
|
|
||||||
tab2_Cb_ValidateNSHostName=Always validate NS IP input.
|
|
||||||
windowBodyBadIp=Are you sure that you entered NS IP address correctly?
|
|
||||||
windowTitleBadIp=IP address of NS most likely incorrect
|
|
||||||
tab2_Cb_ExpertMode=Expert mode (NET setup)
|
|
||||||
tab2_Lbl_HostPort=port
|
|
||||||
tab2_Cb_AutoDetectIp=Auto-detect IP
|
|
||||||
tab2_Cb_RandSelectPort=Randomly get port
|
|
||||||
tab2_Cb_DontServeRequests=Don't serve requests
|
|
||||||
tab2_Lbl_DontServeRequestsDesc=If selected, this computer won't reply to NSP files requests coming from NS (over the net) and use defined host settings to tell Awoo where should it look for files.
|
|
||||||
tab2_Lbl_HostExtra=extra
|
|
||||||
windowTitleErrorPort=Port set incorrectly!
|
|
||||||
windowBodyErrorPort=Port can't be 0 or greater than 65535.
|
|
||||||
tab2_Cb_AutoCheckForUpdates=Auto check for updates
|
|
||||||
windowTitleNewVersionAval=New version available
|
|
||||||
windowTitleNewVersionNOTAval=No new versions available
|
|
||||||
windowTitleNewVersionUnknown=Unable to check for new versions
|
|
||||||
windowBodyNewVersionUnknown=Something went wrong\nMaybe internet unavailable, or GitHub is down
|
|
||||||
windowBodyNewVersionNOTAval=You're using the latest version
|
|
||||||
tab2_Cb_AllowXciNszXcz=Allow XCI / NSZ / XCZ files selection for Awoo
|
|
||||||
tab2_Lbl_AllowXciNszXczDesc=Used by applications that support XCI/NSZ/XCZ and utilizes Awoo (aka Adubbz/TinFoil) transfer protocol. Don't change if not sure. Enable for Awoo Installer.
|
|
||||||
tab2_Lbl_Language=Language
|
|
||||||
windowBodyRestartToApplyLang=Please restart application to apply changes.
|
|
||||||
btn_OpenSplitFile=Select split NSP
|
|
||||||
tab2_Lbl_ApplicationSettings=Main settings
|
|
||||||
tabSplMrg_Lbl_SplitNMergeTitle=Split & merge files tool
|
|
||||||
tabSplMrg_RadioBtn_Split=Split
|
|
||||||
tabSplMrg_RadioBtn_Merge=Merge
|
|
||||||
tabSplMrg_Txt_File=File:
|
|
||||||
tabSplMrg_Txt_Folder=Split file (folder):
|
|
||||||
tabSplMrg_Btn_SelectFile=Select File
|
|
||||||
tabSplMrg_Btn_SelectFolder=Select Folder
|
|
||||||
tabSplMrg_Lbl_SaveToLocation=Save to:
|
|
||||||
tabSplMrg_Btn_ChangeSaveToLocation=Change
|
|
||||||
tabSplMrg_Btn_Convert=Convert
|
|
||||||
windowTitleError=Error
|
|
||||||
windowBodyPleaseFinishTransfersFirst=Unable to split/merge files when application USB/Network process active. Please interrupt active transfers first.
|
|
||||||
done_txt=Done!
|
|
||||||
failure_txt=Failed
|
|
||||||
btn_Select=Select
|
|
||||||
btn_InjectPayloader=Inject payload
|
|
||||||
tabNXDT_Btn_Start=Start!
|
|
||||||
tab2_Btn_InstallDrivers=Download and install drivers
|
|
||||||
windowTitleDownloadDrivers=Download and install drivers
|
|
||||||
windowBodyDownloadDrivers=Downloading drivers (libusbK v3.0.7.0)...
|
|
||||||
btn_Cancel=Cancel
|
|
||||||
btn_Close=Close
|
|
||||||
tab2_Cb_GlVersion=GoldLeaf version
|
|
||||||
tab2_Cb_GLshowNspOnly=Show only *.nsp in GoldLeaf.
|
|
||||||
windowBodyPleaseStopOtherProcessFirst=Please stop other active process before continuing.
|
|
||||||
tab2_Cb_foldersSelectorForRoms=Select folder with ROM files instead of selecting ROMs individually.
|
|
||||||
tab2_Cb_foldersSelectorForRomsDesc=Changes 'Select files' button behaviour on 'Games' tab: instead of selecting ROM files one-by-one you can choose folder to add every supported file at once.
|
|
||||||
windowTitleAddingFiles=Searching for files...
|
|
||||||
windowBodyFilesScanned=Files scanned: %d\nWould be added: %d
|
|
||||||
tabRcm_Lbl_FuseeGelee=Fus\u00E9e Gel\u00E9e RCM
|
|
||||||
tabRcm_Lbl_Payload=Payload:
|
|
Loading…
Reference in a new issue