From kde-i18n-doc Sun Jun 27 15:03:16 2010 From: Albert Astals Cid Date: Sun, 27 Jun 2010 15:03:16 +0000 To: kde-i18n-doc Subject: Re: File templates: menu item is also used as default file name Message-Id: <201006271603.16293.aacid () kde ! org> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=127765105302690 A Divendres, 25 de juny de 2010, Alexander Potashev va escriure: > Hi, > > There is a small problem with file templates. Only one string is used > for both menu item name and default file name. > > For example: > #: apps/lib/konq/Templates/linkProgram.desktop:2 > msgctxt "Name" > msgid "Link to Application..." > > Firstly, you can see this string in the menu when you click File->New > in Dolphin. But when you click on the menu item to create a link to > application, Dolphin creates file "Link to Application.desktop" where > the file name is taken from the same string. > > > The problem arises when you want to translate the menu items as > File->Create->[something] and write [something] in _accusative_ case: > the menu item name should be different from the default file name. > > > So, how hard would it be to "split" the strings? Will this change > break compatibility with other software? This is a bug/new feature that is not trivial to fix so i think none of us in this list has an answer for that, please report a bug against konqueror in bugs.kde.org and post here the bug number so we can keep track of it. Albert