Added preliminary support for RTL cultures (patch by Masood Ramezani).

This commit is contained in:
Dario Solera 2010-06-17 07:35:39 +00:00
parent 439549707a
commit a078529eb3
39 changed files with 189 additions and 14 deletions

View file

@ -67,6 +67,16 @@ namespace ScrewTurn.Wiki {
}
}
/// <summary>
/// Gets direction of the application
/// </summary>
public static string Direction {
get {
if(Tools.IsRightToLeftCulture()) return "rtl";
else return "ltr";
}
}
/// <summary>
/// Gets the bytes of the MasterPassword.
/// </summary>