This commit is contained in:
2020-03-06 20:45:26 +00:00
parent c477124204
commit d17e88db12
6 changed files with 10 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ namespace AyaNova.Biz
- INDEXES: play with it and see what works best
OUTPUT FORMAT
- No localized text, up to client
- No translated text, up to client
- Name of object in return result
- Object Type and ID in return result
- Group results by object type, then by object ID descending which will result in natural most recently created order
@@ -794,7 +794,7 @@ private static Dictionary<long, TranslationWordBreakingData> translationWordBrea
}
/// <summary>
/// Stop words list reset upon login or editing of localized text
/// Stop words list reset upon login or editing of Translation text
/// used for eliminating noise words from search dictionary
/// </summary>

View File

@@ -188,10 +188,10 @@ namespace AyaNova.Biz
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
internal static async Task<string> GetDefaultLocalizedTextAsync(string key)
internal static async Task<string> GetDefaultTranslationAsync(string key)
{
if (string.IsNullOrWhiteSpace(key))
return "ERROR: GetDefaultLocalizedText NO KEY VALUE SPECIFIED";
return "ERROR: GetDefaultTranslation NO KEY VALUE SPECIFIED";
#if (DEBUG)
TrackRequestedKey(key);
#endif
@@ -609,7 +609,7 @@ namespace AyaNova.Biz
{
if (!NewTranslationDict.ContainsKey(s))
{
NewTranslationDict.Add(s, await GetDefaultLocalizedTextAsync(s));
NewTranslationDict.Add(s, await GetDefaultTranslationAsync(s));
}
}