Web: Tests: Added Md5Hash property
This commit is contained in:
parent
15f412e1a8
commit
649e1b420a
@ -5,7 +5,7 @@ namespace Frontend.Translations.Tests
|
||||
{
|
||||
public class TranslationFile
|
||||
{
|
||||
public TranslationFile(string path, List<TranslationItem> translations)
|
||||
public TranslationFile(string path, List<TranslationItem> translations, string md5hash = null)
|
||||
{
|
||||
FilePath = path.Replace("/", "\\");
|
||||
|
||||
@ -14,6 +14,8 @@ namespace Frontend.Translations.Tests
|
||||
Language = Directory.GetParent(FilePath).Name; //FilePath.Substring(FilePath.IndexOf("locales\\") + 8, 2);
|
||||
|
||||
Translations = translations;
|
||||
|
||||
Md5Hash = md5hash;
|
||||
}
|
||||
|
||||
public string FilePath { get; }
|
||||
@ -23,5 +25,7 @@ namespace Frontend.Translations.Tests
|
||||
public string Language { get; }
|
||||
|
||||
public List<TranslationItem> Translations { get; }
|
||||
|
||||
public string Md5Hash { get; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user