After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566454 - Literal values should be kept between double quotes
Literal values should be kept between double quotes
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Richard Hult
Richard Hult
Depends on:
Blocks:
 
 
Reported: 2009-01-03 22:58 UTC by Leonardo Ferreira Fontenelle
Modified: 2009-01-20 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Enclosed element names in double quotes (1.91 KB, patch)
2009-01-03 23:03 UTC, Leonardo Ferreira Fontenelle
committed Details | Review

Description Leonardo Ferreira Fontenelle 2009-01-03 22:58:20 UTC
It seems that "title", "name", "link" and "type" shouldn't be translated in this messages, from src/dh-parser.c:

"title, name, and link elements are required at line %d, column %d"
"name and link elements are required inside <sub> on line %d, column %d"
"name and link elements are required inside '%s' on line %d, column %d"
"type element is required inside <keyword> on line %d, column %d"

If this is correct, please place the names between double quotes.
Comment 1 Leonardo Ferreira Fontenelle 2009-01-03 23:03:32 UTC
Created attachment 125714 [details] [review]
Enclosed element names in double quotes

http://live.gnome.org/TranslationProject/DevGuidelines/Enclose%20literal%20values%20in%20double%20quotes
Comment 2 Richard Hult 2009-01-19 15:50:33 UTC
Looks good, but I'd say we keep it until after the next release as it would cause unnecessary work for translators now.
Comment 3 Leonardo Ferreira Fontenelle 2009-01-19 21:00:42 UTC
This is a good time to fix strings which are marked for translation. We're not in string freeze; we just need to tell gnome-i18n@ we changed the strings. After the string freeze there will be much more translations -- and some will be misleading, because the translators didn't understand the original message. (In fact, there are probably some wrong translations now.)
Comment 4 Richard Hult 2009-01-19 21:17:03 UTC
OK. Also, as it turns out, webkit got rejected again so we are not going to use trunk in gnome 2.26 anyway, so we can do anything anyway... so feel free to commit.

Thanks!

Comment 5 Leonardo Ferreira Fontenelle 2009-01-20 20:06:23 UTC
2009-01-20  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	reviewed by: Richard Hult.

	* src/dh-parser.c: (parser_start_node_book),
	(parser_start_node_chapter), (parser_start_node_keyword):
	Enclosed the elements names between double quotes in some error
	messages. Closes bug #566454.