-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
179 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// @yasinkuyu | ||
// 05/08/2014 | ||
|
||
namespace Insya.Localization | ||
{ | ||
interface ILangCode | ||
{ | ||
string de_DE { get; set; } | ||
string en_CA { get; set; } | ||
string en_US { get; set; } | ||
string en_GB { get; set; } | ||
string es_ES { get; set; } | ||
string es_MX { get; set; } | ||
string fr_FR { get; set; } | ||
string it_IT { get; set; } | ||
string ja_JP { get; set; } | ||
string pt_BR { get; set; } | ||
string ru_RU { get; set; } | ||
string tr_TR { get; set; } | ||
string zh_CN { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// @yasinkuyu | ||
// 05/08/2014 | ||
|
||
namespace Insya.Localization | ||
{ | ||
public class LangCode : ILangCode | ||
{ | ||
|
||
/// <summary> | ||
/// English(United States) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string en_US { get; set; } | ||
|
||
/// <summary> | ||
/// Turkish (Turkey) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string tr_TR { get; set; } | ||
|
||
/// <summary> | ||
/// Chinese (simplified, PRC) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string zh_CN { get; set; } | ||
|
||
/// <summary> | ||
/// Russian(Russia) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string ru_RU { get; set; } | ||
|
||
/// <summary> | ||
/// French(France) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string fr_FR { get; set; } | ||
|
||
/// <summary> | ||
/// Spanish(Spain) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string es_ES { get; set; } | ||
|
||
/// <summary> | ||
/// English(United Kingdom) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string en_GB { get; set; } | ||
|
||
/// <summary> | ||
/// German(Germany) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string de_DE { get; set; } | ||
|
||
/// <summary> | ||
/// Portuguese(Brazil) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string pt_BR { get; set; } | ||
|
||
/// <summary> | ||
/// English(Canada) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string en_CA { get; set; } | ||
|
||
/// <summary> | ||
/// Spanish (Mexico) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string es_MX { get; set; } | ||
|
||
/// <summary> | ||
/// Italian (Italy) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string it_IT { get; set; } | ||
|
||
/// <summary> | ||
/// Japanese(Japan) | ||
/// </summary> | ||
/// <returns></returns> | ||
public string ja_JP { get; set; } | ||
|
||
public LangCode(string en = "", string tr = "", string es = "", string de = "", string fr = "", string it = "", string enCA = "", string enGB = "", string esMX = "", string jaJP = "", string ptBR = "", string ruRU = "", string zhCN = "") | ||
{ | ||
en_US = en; | ||
tr_TR = tr; | ||
de_DE = de; | ||
es_ES = es; | ||
fr_FR = fr; | ||
it_IT = it; | ||
en_CA = enCA; | ||
en_GB = enGB; | ||
es_MX = esMX; | ||
ja_JP = jaJP; | ||
pt_BR = ptBR; | ||
ru_RU = ruRU; | ||
zh_CN = zhCN; | ||
} | ||
|
||
public LangCode() | ||
{ | ||
} | ||
|
||
} | ||
|
||
} |
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
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
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