| Summary: | Selecting a .pot file in the project windows, in the editor window Save as... does not fill in the .po file name | ||
|---|---|---|---|
| Product: | [Applications] lokalize | Reporter: | Freek de Kruijf <freekdekruijf> |
| Component: | general | Assignee: | Nick Shaforostoff <shafff> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | karl |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Freek de Kruijf
2016-08-23 11:01:54 UTC
The ‘Save As‘ menu option is specifically for saving the file with a *new* file name, and having no name by default seems like correct behaviour. If you want to save the file with the default name (which is what you want ~100% of the time), just use ‘Save’ instead of ‘Save As’. This will use the original name and folder of the .pot file, but with the .po extension instead of the .pot extension and the translation folder corresponding to the template folder, e.g. if the template is templates/kdeutils/application.pot and the current language set for the project is ‘xx’, the file will be stored as xx/kdeutils/application.po (In reply to Karl Ove Hufthammer from comment #1) > The ‘Save As‘ menu option is specifically for saving the file with a *new* > file name, and having no name by default seems like correct behaviour. If > you want to save the file with the default name (which is what you want > ~100% of the time), just use ‘Save’ instead of ‘Save As’. This will use the > original name and folder of the .pot file, but with the .po extension > instead of the .pot extension and the translation folder corresponding to > the template folder, e.g. if the template is > > templates/kdeutils/application.pot > > and the current language set for the project is ‘xx’, the file will be > stored as > > xx/kdeutils/application.po Thanks. |