In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

View Revisions: Issue #1024 Back to Issue ]
Summary 0001024: Phrase type detection based on it's name
Revision 2011-10-31 03:11:58 by alex
Additional Information Plan:

1. add new "lc_" phrase label prefix (to phrase name validate regex);
2. remove "Phrase Type" field from phrase form;
3. set phrase type automatically based on phrase label prefix;
4. change prefix (and type) for phrases, that can be used in both places (e.g. field option phrases for sure).
5. create fixed language pack + upgrade script that will rename Phrase & PhraseKey columns during an upgrade.
Revision 2011-10-31 03:11:58 by alex
Description On phrase adding screen you need to enter:
* phrase label;
* phrase translation;
* phrase type.

However phrase type can be automatically guessed based on phrase label prefix:
* lu_ - Front-end;
* la_ - Administrative Console;
* lc_ (NEW) - Can be used on both Front-end and Administrative Console.
Revision 2011-10-22 05:24:49 by alex
Additional Information
Revision 2011-10-22 05:24:49 by alex
Description On phrase adding screen you need to enter:
* phrase label;
* phrase translation;
* phrase type.

However phrase type can be automatically guessed based on phrase label prefix:
* lu_ - Front-end;
* la_ - Administrative Console;
* lc_ (NEW) - Can be used on both Front-end and Administrative Console.


This way we only need to:
1. add new "lc_" phrase label prefix;
2. remove "Phrase Type" field from phrase form;
3. set phrase type it automatically based on phrase label prefix;
4. change prefix (and type) for phrases, that can be used in both places (e.g. field options for sure).



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker