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
Harcoded name for first new document and imported doc(without translation) #124
Comments
confirm
|
Simular situation for import .step files. It imported to "Unnamed" for first, "Unnamed1' for second. Harcoded here (for .step) and for .iges
|
…imported doc(without translation" FreeCAD/FreeCAD-translations#124
Harcoded name for first new document and imported doc(without translation) FreeCAD/FreeCAD-translations#124
…imported doc(without translation" FreeCAD/FreeCAD-translations#124
Harcoded name for first new document and imported doc(without translation) FreeCAD/FreeCAD-translations#124
…imported doc(without translation" FreeCAD/FreeCAD-translations#124
Harcoded name for first new document and imported doc(without translation) FreeCAD/FreeCAD-translations#124
This solve such things 1. If you create new document, it show "Unnamed" name without translations. Solved. If you open .step file create new document with "Unnamed" name without translations. Solved. If you open .iges file create new document with "Unnamed" name without translations. Solved. Add similar translation ability to AppFemPy, AppMeshPy and AppPartPy. After commit please run updatets.py script
Final version (all in one) Kuzma30/FreeCAD@d140634 |
I would encourage you to leave the |
To solve part of described problem we need create in new place .tm files. Or I need create separate commit for such operation? |
Why not just revert all the .qm and .ts files and submit the source code changes by themselves? |
This solve such things 1. If you create new document, it show "Unnamed" name without translations. Solved. 2. If you open .step file create new document with "Unnamed" name without translations. Solved. 3. If you open .iges file create new document with "Unnamed" name without translations. Solved. 4. Add similar translation ability to AppFemPy, AppMeshPy and AppPartPy.
This solve such things 1. If you create new document, it show "Unnamed" name without translations. Solved. 2. If you open .step file create new document with "Unnamed" name without translations. Solved. 3. If you open .iges file create new document with "Unnamed" name without translations. Solved. 4. Add similar translation ability to AppFemPy, AppMeshPy and AppPartPy.
Fix FreeCAD/FreeCAD-translations#124 (#25) This solve such things 1. If you create new document, it show "Unnamed" name without translations. Solved. 2. If you open .step file create new document with "Unnamed" name without translations. Solved. 3. If you open .iges file create new document with "Unnamed" name without translations. Solved. 4. Add similar translation ability to AppFemPy, AppMeshPy and AppPartPy.
Please mark as "for 0.21v" |
We can't provide L10n for the "Unnamed" string because the App.ts file is still missing in Crowdin. See FreeCAD/FreeCAD#9275 for more details. |
@yorikvanhavre any issue with adding |
I just pushed it manually to crowdin, and see FreeCAD/FreeCAD#9314 for the script update |
A search of our code for |
I just noticed that in the current release and also in the current git version this issue is still there. It seems that despite having i18n in the header and source files, complete translations in crowdin and *.ts files, updates of all *.qm files, NOT A SINGLE translation from src/App/Resources/translations/App_* is picked up when running FreeCAD. |
there are three ways to open a new project file
at the moment all three give failure previously it was not so bad. |
I think this is a problem (small).
When you create first new document its name hard-coded to "Unnamed". Second new document name is localized (For example in Ukrainian it will be "Без Назви1".
I found place where it's harcoded
getUniqueDocumentName
The text was updated successfully, but these errors were encountered: