define translatable shared constants for UNKNOWN and other fields
Bug #1022365 reported by
Victor Martinez
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BeatBox |
Won't Fix
|
Medium
|
Unassigned | ||
Noise |
Fix Released
|
Low
|
Victor Martinez |
Bug Description
Some strings are used very extensively, and are often not translated. In many places, they are used for comparisons. Although comparing strings is usually a bad practice, we could get rid of this problem by defining all the commonly used values as constants. In this case, these would be defined in Media.vala. Personally, I would suggest dedicating a separate file for this purpose (namely common-defs.vala) to avoid having constants stored in unknown files.
@common-defs.vala:
namespace BeatBox {
public static const string UNKNOWN_ALBUM = N_ ("Unknown Album");
// and so on...
}
Changed in beat-box: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in beat-box: | |
status: | Triaged → Won't Fix |
Changed in noise: | |
status: | New → Fix Committed |
Changed in noise: | |
importance: | Undecided → Low |
assignee: | nobody → Victor Eduardo (victored) |
milestone: | none → luna-beta1 |
Changed in noise: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.