| Summary: | Untranslated tab name created with templates | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | André Marcelo Alvarenga <alvarenga> |
| Component: | Translation | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | halla, karl, tamtamy.tymona |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.4 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screenshot | ||
|
Description
André Marcelo Alvarenga
2015-05-31 03:30:43 UTC
Created attachment 92927 [details]
Screenshot
I can confirm the issue, but I have no clue how we should fix this. Is there any template where this doesn't happen? (In reply to Boudewijn Rempt from comment #2) > I can confirm the issue, but I have no clue how we should fix this. Is there > any template where this doesn't happen? No. All new documents using templates are not translated. More information: After you save the document, the tab shows: %1 - %2 1% - template name 2% - file name.(extension) When you save a document with "Custom Document" or "Create from Clipboard": 1% - file name 2% - file name.(extension) For the templates below: 1% = Unnamed or unnamed. This make no sense to me. If is necessary shows template name, the tab should display the correct template name. Comic Templates: waffle-iron grid Design Templates: all designs templates DSLR Templates: - all DSLR templates Texture Templates: - all Texture templates This exact *behaviour* described here no longer occurs, because the document title is no longer (since October 2017) shown in the tab: https://phabricator.kde.org/D8386 But the untranslated ‘unnamed’ title is still *stored* as the document’s title (‘File → Document Information → Title’) when you create a new file using a template. From what I understand, what needs to be done here is to ensure that the document created from the template has the same document title as the template name, which should be a translated string (i18n("...")).
(Note that when you create your own template, it probably won't use a translated string, but that's another thing).
|