-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
I18n bug: files with duplicate names are overwriten during extracting vue files #5122
Comments
Thanks so much for opening up your first issue here on the repository! 🎉
EnhancementsAn enhancement takes a feature and improves or alters its behaviour. Please Feature requestsFeature requests introduce whole new features into the app. This requires a You can of course always ask someone to implement this feature, because a PR Bug reportsPlease note that one of the main reasons for why bug reports cannot be The ideal bug report for us has two qualities:
Please note that if you encounter behaviour that does not align with your But now, have a great day and thank you again! |
Good catch! |
* chore: Add Sponsors link * fix: Autocorrect entries Fixes Zettlr#4961 * fix: i18n process * No more file name/message duplication * Retain relative Vue-path for better file identification in PO files * Improved extraction regex to properly extract script tags * Add a run of msguniq over each file to remove potential duplicates Fixes Zettlr#5122 * fix: Re-run i18n extraction script to fix loads of duplications and other issues * chore: Update changelog * chore: Fix German (de-DE) translation * chore: Bump version to 3.1.0-beta.3 * chore: Fix spelling in Changelog * Update CITATION.cff * fix: Improve logging in event merger * fix: Weird bug in Nextcloud * Update CITATION.cff * fix: Prevent applying illogical updates on file trees * refactor: Improve types * chore: Bump Codemirror dependencies to newest versions * chore: Bump Electron to v30.0.1 * chore: Upgrade ESLint and fix new linter errors * chore: Bump eslint dependencies * chore: Upgrade a last set of dependencies * chore: Bump remark deps * chore: Clean up CHANGELOG, Electron to 30.0.2 * chore: Bump Electron 30.0.1 -> 3.0.2 * chore: Bump version to 3.1.0; update changelog * Update CITATION.cff * chore: Add missing paragraph to changelog * chore: Bump version to 3.1.0; update changelog * chore: Add missing paragraph to changelog * chore: Downgrade Electron to 29.3.2 See issue Zettlr#5135 * chore: Fix changelog * chore: Bump version to 3.1.1 * chore(citeproc): Update CSL files * Update CITATION.cff --------- Co-authored-by: Hendrik Erz <hendrik@zettlr.com> Co-authored-by: GitHub Action <action@github.com>
Description
Zettlr/scripts/split-vue-sfc.js
Lines 43 to 46 in 6ccd6f3
I noticed the
path.basename
here which caused ALL VUE files are extracted to LEVEL 1 ofsource/tmp
. So files likesource/**/App.vue
will be extracted to the same target, and only the last one remained. That caused a lack ofmsgid
instatic/i18n.pot
Reproducing
e.g. Just search for
advanced
ini18n.pot
and there's not a msgid matching it.Zettlr Version
Right off the develop branch
Specify version
No response
Installation Method
None
Your Platform
Architecture
Operating System Version
Windows 11
Additional Information
No response
The text was updated successfully, but these errors were encountered: