Is "Backups@name_suffix@" a mistake?

Bug #1813502 reported by scootergrisen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
Low
Unassigned

Bug Description

https://git.launchpad.net/deja-dup/tree/data/org.gnome.DejaDup.desktop.in says:

    Name=Backups@name_suffix@

Is that really how it is suppose to be?

Revision history for this message
Michael Terry (mterry) wrote :

Yes. The @name_suffix@ is removed for normal builds, but replaced with " (Devel)" for development builds. How'd you notice / is it causing a problem?

Changed in deja-dup:
status: New → Incomplete
Revision history for this message
scootergrisen (scootergrisen) wrote :

I dont think its a good idea to have @name_suffix@ for the translators to translate in case they translate it incorrectly.

Maybe instead have two seperate strings for the translators to translate:

    @name@ = "Backups"
    @name_suffix@ = " (Devel)"

    Name=@name@@name_suffix@

That way the translators dont have to deal with variable names and only have to translate:
"Backups"
" (Devel)"

Or only "Backups" in case you want " (Devel)" to always be the same.

Or perhaps have 2 .desktop files instead:

org.gnome.DejaDup.desktop:

    Name=Backups

org.gnome.DejaDup-Devel.desktop:

    Name=Backups (Devel)

Revision history for this message
Michael Terry (mterry) wrote :

Ah right right, translators are seeing the string. I'll take a look at stopping that.

Changed in deja-dup:
status: Incomplete → Triaged
importance: Undecided → Low
Michael Terry (mterry)
Changed in deja-dup:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.