Is "Backups@name_suffix@" a mistake?

Bug #1813502 reported by scootergrisen on 2019-01-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
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?

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
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)

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers