Fix localization#14692
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
Localization |
|
Still missing localization key. How ironic. |
Somehow the commit of the review suggestion did not work. Now, I opened the IDE and grouped the file-related localizations together... |
|
I am not sure if crowdin sees that the existing translations moved, or think that they got removed/replaces |
I am pretty sure it sees that as moved. Not the first time we did that. -- key/value is a nice thing. |
User description
Fix some typos
Steps to test
Mandatory checks
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user)PR Type
Bug fix
Description
Fix typo: "cancelled" to "canceled" in comment
Improve localization: use parameterized message for file not found error
Add new localization key for file not found with filename parameter
Refactor error dialog call for better code formatting
Diagram Walkthrough
File Walkthrough
ImportCommand.java
Fix typo and improve localization in error handlingjabgui/src/main/java/org/jabref/gui/importer/ImportCommand.java
Localization.lang("File %0 notfound", file.getFileName().toString())lines
JabRef_en.properties
Add parameterized localization key for file not foundjablib/src/main/resources/l10n/JabRef_en.properties
File\ %0\ not\ found.for parameterizedfile not found message
filename parameter