-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging window shows incorrect labels and help #516
Comments
Thanks for reporting this. A quick check shows this is working in the dev version. The problem may have occurred in one of the build steps, or in an incorrect runtime setting. I'll look into it. |
Thank you! I should say that I cloned the master branch and built on mac with ./node_modules/.bin/electron-builder and still saw the same issue. Would love to see the fix if only to learn more! |
Which OS are you using? Mac, Windows, or Linux? And do you know your system's locale setting? On Mac, you can get it with this command in a terminal:
|
I used Mac 12.3 to test and build, but I also tested this out on Windows as well and saw the same behaviour when using the latest compiled release.
|
This should be fixed, but wait for next release to test. |
|
I have no idea where that extra field is coming from. It doesn't exist in the template. Does that extra blank field appear if you run the app from the source directory using As for the build error, that's a bug in electron-builder, which assumes you have a local python2 installation. Python 2 is no longer included in MacOS 12 / Monterey. I'm really surprised no one has complained about this yet. For now, you have to manually install python 2 for electron-build to work. |
Ok, so I've resolved the issue, it was a result of my stupidity. I'd been experimenting with the code and forgot to ditch my changes when pulling down the latest commit. Once I built on a clean version of the repo, it works perfectly. I apologise for wasting your time on this bit! |
No problem. Glad it's working. I'll let you know when a new build is out. |
Thank you! |
Fix is now available in version 2.0.19 |
Tested this in macOS and all works well, thank you! |
I've noticed two issues in the packaging window in Dart 2.0.18 on Windows and Mac, where it seems that the correct labels and help text are not being sourced from en-US.json.
BagIt Profile
is displaying asJobPackageOp_bagItProfileId_label
and the contextual help that appears when you hover over the question mark saysJobPackageOp_bagItProfileId_help
. I would imagine fromen-US.json
that this is the correct help text:"Choose the BagIt profile to which your bag should conform."
Serialization
is displaying asBag It Serialization
and the contextual help saysJobPackageOp_bagItSerialization_help
whenen-US.json
suggests that it should say"How should this bag be serialized or compressed?"
I tried my best to fix this but I've no idea how javascript and electron works. I thought I could just fix the typos in
./ui/templates/job/packaging.html
but I'm guessing that the issue is coded a bit deeper.The text was updated successfully, but these errors were encountered: