Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Jun 11, 2022
1 parent 7bcfbef commit a73d9f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions JL.Core/Dicts/EDICT/JMdict/JMdictLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ private static void ReadSense(XmlTextReader jmdictXml, JMdictEntry entry)

if (lang != null)
{
if (Utilities.Utils.Iso6392BTo2T.TryGetValue(lang, out string? langCode))
{
lang = langCode;
}

try
{
if (s_canHandleCulture)
{
if (Utils.Iso6392BTo2T.TryGetValue(lang, out string? langCode))
{
lang = langCode;
}

lang = new CultureInfo(lang).EnglishName;
}
}
Expand Down
2 changes: 1 addition & 1 deletion JL.Core/Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static class Storage
public static readonly string ResourcesPath = Path.Join(AppContext.BaseDirectory, "Resources");
public static readonly string ConfigPath = Path.Join(AppContext.BaseDirectory, "Config");
public static readonly HttpClient Client = new(new HttpClientHandler { UseProxy = false }) { Timeout = TimeSpan.FromMinutes(10) };
public static readonly Version Version = new(1, 11, 0);
public static readonly Version Version = new(1, 11, 1);
public static readonly string GitHubApiUrlForLatestJLRelease = "https://api.github.com/repos/rampaa/JL/releases/latest";
public static readonly Uri JmdictUrl = new("http://ftp.edrdg.org/pub/Nihongo/JMdict_e.gz");
public static readonly Uri JmnedictUrl = new("http://ftp.edrdg.org/pub/Nihongo/JMnedict.xml.gz");
Expand Down

0 comments on commit a73d9f9

Please sign in to comment.