Created
March 9, 2012 16:16
-
-
Save chadmyers/2007311 to your computer and use it in GitHub Desktop.
Dovetail use of FubuLocalization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="login-header"> | |
<h1>Dovetail Software</h1> | |
<h2 id="login-title"><%: UserMessageKeys.AGENT_LOGIN_HEADING %></h2> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using FubuLocalization; | |
namespace DovetailCRM.Web | |
{ | |
public class UserMessageKeys : StringToken | |
{ | |
protected UserMessageKeys(string key) : this(key, null) | |
{ | |
} | |
protected UserMessageKeys(string key, string default_EN_US_Text) | |
: base(key, default_EN_US_Text) | |
{ | |
} | |
public static readonly StringToken AGENT_LOGIN_HEADING = new UserMessageKeys("AGENT_LOGIN_HEADING", "Login"); | |
public static readonly StringToken IDENTIFIER_KEY = new UserMessageKeys("IDENTIFIER_KEY", "Identifier"); | |
public static readonly StringToken TAG_DOES_NOT_EXIST_KEY = new UserMessageKeys("TAG_DOES_NOT_EXIST"); | |
public static readonly StringToken CANNOT_REJECT_AN_ITEM_THAT_IS_NOT_IN_A_QUEUE_KEY = new UserMessageKeys("CANNOT_REJECT_AN_ITEM_THAT_IS_NOT_IN_A_QUEUE"); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment