bugDenemo - Bugs: bug #22714, empty keys in denemo.desktop file...

 
 

bug #22714: empty keys in denemo.desktop file are not user-friendly

Submitted by:  None
Submitted on:  Mon 24 Mar 2008 03:15:17 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Benoît Rouits <brouits>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 13 Feb 2009 03:55:51 PM UTC, comment #5:

fixed in git, ready to test.

Benoît Rouits <brouits>
Project MemberIn charge of this item.
Wed 11 Feb 2009 04:21:13 PM UTC, comment #4:

the desktop file attached, with empty translation removed, and having italian and german translation added, should be OK.
please commit into repo.

(file #17438)

Benoît Rouits <brouits>
Project MemberIn charge of this item.
Wed 11 Feb 2009 01:01:10 PM UTC, comment #3:

I don't know much about this either, but I just experienced the same thing: in german locale, the menu item doesn't display it's name when placed on the desktop. I patched the desktop file to include german translations, now it works (patched file is attached).

I second the original poster's argument and suggest to remove untranslated keys from the supplied .desktop file, in order to prevent this from happening.

The Standard specification mentions that if a localized key is present for the current POSIX locale, it will be selected.
See also: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s04.html

(file #17437)

Anonymous
Sun 06 Jul 2008 05:59:16 AM UTC, comment #2:

We need a volunteer who knows about this stuff.

Richard Shann <rshann>
Project Administrator
Thu 10 Apr 2008 03:13:37 PM UTC, comment #1:

We will look into this. We would very much like to have an Italian translation.

Jeremiah Benham <jjbenham>
Project Administrator
Mon 24 Mar 2008 03:15:17 PM UTC, original submission:

Hi, I'm using 0.7.6 packaged by Arch Linux which included the same denemo.desktop from upstream. CVS version is also the same at the time I wrote this. I noticed this file has many keys with empty values where translations are missing:

This is not a good pratice: a comment should be used instead if you want to leave them as placeholders. The problem is that if a user has a locale setted for which translations are not available, he will get empty strings (e.g. no text beside the denemo icon in GNOME menu).

PS: I'd like to contribute Italian translations since Italian is my mother language:

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17438:  denemo.desktop added by brouits (596B - application/octet-stream - desktop file with empty translations removed and with [de] and [it] translatioins added. please checkin.)
file #17437:  denemo.desktop added by None (2KiB - application/x-desktop - .desktop file with german keys added)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by steele (Updated the item)
  • -unavailable- added by brouits (Updated the item)
  • -unavailable- added by rshann (Posted a comment)
  • -unavailable- added by jjbenham (Posted a comment)
  • -unavailable- added by jjbenham
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Dec 2010 01:06:59 PM UTCsteeleOpen/ClosedOpen=>Closed
    Thu 09 Jul 2009 08:24:00 PM UTCrshannStatusReady For Test=>Fixed
    Fri 13 Feb 2009 03:55:51 PM UTCbrouitsStatusConfirmed=>Ready For Test
    Wed 11 Feb 2009 04:21:13 PM UTCbrouitsAttached File-=>Added denemo.desktop, #17438
      StatusPostponed=>Confirmed
      Assigned toNone=>brouits
    Wed 11 Feb 2009 01:01:10 PM UTCNoneAttached File-=>Added denemo.desktop, #17437
    Sun 06 Jul 2008 06:09:33 AM UTCrshannStatusNone=>Postponed
    Wed 26 Mar 2008 05:04:40 AM UTCjjbenhamCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1