Oct 13, 2006 / pixtur
Jan 6, 2009 / phsouzacruz
 

Attached files

No files uploaded
 
Labels can be used to distinguish different types of tasks. Since most items in Streber are somehow derived from Task assigning a label like Feature, Bug or Discussion helps to distinguish them.
They have no real effect to the display of the Task. Users coming from MacOS might know this as "Label" or "Etiquettes".

Internalπ

Streber stores a list of labels for each project. That's why they are not translated: They are customizable by the admin. Currently there is no interface for this and you can only change labels for new projects: For this you have to add a line to your customize.inc.php:
confChange('PROJECT_DEFAULT_LABELS', 'Bug,Feature,Enhancement,Refactor,Idea,Research,Organize,Wiki,Docu');

In lists, the first label is rendered red (for Bug). The second green (for Feature). All others are rendered gray. The number of Labels in not limited.

In a distant future there should be a function to change project labels

8 Comments

madlyr:We should add task label filtering

6 years ago

This could help in more complicated projects with many tasks.

pixtur:Reply to We should add task label filtering

6 years ago

Filtering inside one project is ok (you can map the labels to the actual numbers) but filtering over several project with Label-Strings is tricky to do in SQL. (I have no Idea who splitting up the string an matching agains a number would work).


guest:Fatal error

6 years ago - Delete

When I add the line above in customiez.inc.php, I get this message :

Fatal error: Call to undefined function changeConf() in D:\wamp\www\streber\customize.inc.php on line 19

Why ? Thanks :)

pixtur:Reply to Fatal error

6 years ago

It was a typo: The function should be called

 confChange(...)

Thanks for point out.

guest:there should be a thing called Modules

5 years ago - Delete

Each project will have modules and searching by modules would be good.. here there is no option to do so

webbplatsen:Still doesn't work?

4 years ago

Is it possible to have your own labels?
I tried but can not get it to work.

Actually I just want to be able to translate the default labels.

palobo:Labels in array?

4 years ago

Wouldn't it be more sensible to define an array somewhere and then feed confChange()?

That way it shouldn't be to hard to easily change and maybe even localize the labels.

If we take into account that streber is intended to be a Colaboration tool, then it would make sense that there be a need for diferent languages in the same project. I live and work in Portugal, but prefer to have everything in English. My colegues prefer Portuguese. It would be nice to have the labels translated aswell, depending on my selected prefered language.

pixtur:Right now...

4 years ago

Labels are a comma-separated string for each project. You can overwrite the the default labels, that will be assigned to new projects, but right now there is no way to change the labels of existing projects.

Translating the labels would require the labels to be an associative array with one list per language. I believe this is overdone.