Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gheyret authored Mar 21, 2021
1 parent 7fdeff4 commit 13ae345
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions Uyghur.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ static String U2L(StringBuilder token)
{
bool aldiN=false;
bool skip=true;
bool aldiz = false;
StringBuilder uly=new StringBuilder();
foreach(char Herp in token.ToString())
{
Expand All @@ -1066,6 +1067,7 @@ static String U2L(StringBuilder token)
case UYG_UN_HM_Y:
case UYG_UN_HM_O:
aldiN=false;
aldiz = false;
if(skip==true)
{
}
Expand All @@ -1077,13 +1079,15 @@ static String U2L(StringBuilder token)
case UYG_UN_A_6:
case UYG_UN_A_Y:
case UYG_UN_A_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("a");
break;
case UYG_UN_E_6:
case UYG_UN_E_Y:
case UYG_UN_E_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("e");
Expand All @@ -1093,6 +1097,7 @@ static String U2L(StringBuilder token)
case UYG_UN_B_B:
case UYG_UN_B_O:
case UYG_UN_B_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("b");
Expand All @@ -1102,6 +1107,7 @@ static String U2L(StringBuilder token)
case UYG_UN_P_B:
case UYG_UN_P_O:
case UYG_UN_P_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("p");
Expand All @@ -1111,6 +1117,7 @@ static String U2L(StringBuilder token)
case UYG_UN_T_B:
case UYG_UN_T_O:
case UYG_UN_T_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("t");
Expand All @@ -1120,6 +1127,7 @@ static String U2L(StringBuilder token)
case UYG_UN_J_B:
case UYG_UN_J_O:
case UYG_UN_J_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("j");
Expand All @@ -1129,6 +1137,7 @@ static String U2L(StringBuilder token)
case UYG_UN_CH_B:
case UYG_UN_CH_O:
case UYG_UN_CH_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("ch");
Expand All @@ -1138,20 +1147,23 @@ static String U2L(StringBuilder token)
case UYG_UN_X_B:
case UYG_UN_X_O:
case UYG_UN_X_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("x");
break;
case UYG_UN_D_6:
case UYG_UN_D_Y:
case UYG_UN_D_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("d");
break;
case UYG_UN_R_6:
case UYG_UN_R_Y:
case UYG_UN_R_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("r");
Expand All @@ -1160,6 +1172,7 @@ static String U2L(StringBuilder token)
case UYG_UN_Z_Y:
case UYG_UN_Z_A:
aldiN=false;
aldiz = true;
skip=false;
uly.Append("z");
break;
Expand All @@ -1176,6 +1189,7 @@ static String U2L(StringBuilder token)
case UYG_UN_S_O:
case UYG_UN_S_A:
aldiN=false;
aldiz = false;
skip=false;
uly.Append("s");
break;
Expand All @@ -1184,6 +1198,7 @@ static String U2L(StringBuilder token)
case UYG_UN_SH_B:
case UYG_UN_SH_O:
case UYG_UN_SH_A:
aldiz = false;
aldiN=false;
skip=false;
uly.Append("sh");
Expand All @@ -1193,6 +1208,7 @@ static String U2L(StringBuilder token)
case UYG_UN_GH_B:
case UYG_UN_GH_O:
case UYG_UN_GH_A:
aldiz = false;
skip=false;
if(aldiN==true)
{
Expand All @@ -1209,6 +1225,7 @@ static String U2L(StringBuilder token)
case UYG_UN_F_B:
case UYG_UN_F_O:
case UYG_UN_F_A:
aldiz = false;
uly.Append("f");
skip=false;
aldiN=false;
Expand All @@ -1219,6 +1236,7 @@ static String U2L(StringBuilder token)
case UYG_UN_Q_O:
case UYG_UN_Q_A:
uly.Append("q");
aldiz = false;
skip=false;
aldiN=false;
break;
Expand All @@ -1230,6 +1248,7 @@ static String U2L(StringBuilder token)
uly.Append("k");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_G_6:
case UYG_UN_G_Y:
Expand All @@ -1244,6 +1263,7 @@ static String U2L(StringBuilder token)
{
uly.Append("g");
}
aldiz = false;
skip=false;
aldiN=false;
break;
Expand All @@ -1253,6 +1273,7 @@ static String U2L(StringBuilder token)
case UYG_UN_NG_O:
case UYG_UN_NG_A:
uly.Append("ng");
aldiz = false;
skip=false;
aldiN=false;
break;
Expand All @@ -1264,6 +1285,7 @@ static String U2L(StringBuilder token)
uly.Append("l");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_M_6:
case UYG_UN_M_Y:
Expand All @@ -1273,6 +1295,7 @@ static String U2L(StringBuilder token)
uly.Append("m");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_N_6:
case UYG_UN_N_Y:
Expand All @@ -1281,6 +1304,7 @@ static String U2L(StringBuilder token)
case UYG_UN_N_A:
uly.Append("n");
skip=false;
aldiz = false;
aldiN=true;
break;
case UYG_UN_H_6:
Expand All @@ -1290,7 +1314,15 @@ static String U2L(StringBuilder token)
case UYG_UN_H_O:
//case UYGE_UN_H_Y: // Yulghunda Ishlitilgen
//case UYGE_UN_H_A: // Yulghunda ishlitilgen
uly.Append("h");
if(aldiz==true)
{
uly.Append("’h");
}
else
{
uly.Append("h");
}
aldiz = false;
skip=false;
aldiN=false;
break;
Expand All @@ -1300,11 +1332,13 @@ static String U2L(StringBuilder token)
uly.Append("o");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_U_6:
case UYG_UN_U_Y:
case UYG_UN_U_A:
uly.Append("u");
aldiz = false;
skip=false;
aldiN=false;
break;
Expand All @@ -1314,20 +1348,23 @@ static String U2L(StringBuilder token)
uly.Append("ö");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_UU_6:
case UYG_UN_UU_Y:
case UYG_UN_UU_A:
uly.Append("ü");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_W_6:
case UYG_UN_W_Y:
case UYG_UN_W_A:
uly.Append("w");
skip=false;
aldiN=false;
aldiz = false;
break;
case UYG_UN_EE_6:
case UYG_UN_EE_Y:
Expand All @@ -1336,6 +1373,7 @@ static String U2L(StringBuilder token)
case UYG_UN_EE_A:
uly.Append("é");
skip=false;
aldiz = false;
aldiN=false;
break;
case UYG_UN_I_6:
Expand All @@ -1345,6 +1383,7 @@ static String U2L(StringBuilder token)
case UYG_UN_I_A:
uly.Append("i");
skip=false;
aldiz = false;
aldiN=false;
break;
case UYG_UN_Y_6:
Expand All @@ -1354,12 +1393,14 @@ static String U2L(StringBuilder token)
case UYG_UN_Y_A:
uly.Append("y");
skip=false;
aldiz = false;
aldiN=false;
break;
default:
skip=true;
uly.Append(U2LSBelge(Herp+""));
aldiN=false;
aldiz = false;
break;
}
}
Expand Down Expand Up @@ -3222,7 +3263,7 @@ public static string Tirnaqlar(string tirnaq, bool R2L)
return ueykey;
}


static char BGD_WEItoUnicode(char inWei)
{
char ret = inWei;
Expand Down

0 comments on commit 13ae345

Please sign in to comment.