fix: Added missing translations

This commit is contained in:
WerWolv
2024-02-22 21:31:26 +01:00
parent 684c339309
commit daf007fae7
5 changed files with 8 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
"fallback": false,
"language": "German",
"translations": {
"hex.yara.information_section.advanced_data_info": "Erweiterte Dateninformationen",
"hex.yara_rules.view.yara.error": "Yara Kompilerfehler: {0}",
"hex.yara_rules.view.yara.header.matches": "Treffer",
"hex.yara_rules.view.yara.header.rules": "Regeln",

View File

@@ -4,6 +4,7 @@
"country": "United States",
"fallback": true,
"translations": {
"hex.yara.information_section.advanced_data_info": "Advanced Data Information",
"hex.yara_rules.view.yara.error": "Yara Compiler error: {0}",
"hex.yara_rules.view.yara.header.matches": "Matches",
"hex.yara_rules.view.yara.header.rules": "Rules",

View File

@@ -11,10 +11,10 @@
namespace hex::plugin::yara {
class InformationYaraRules : public ContentRegistry::DataInformation::InformationSection {
class InformationAdvancedFileInformation : public ContentRegistry::DataInformation::InformationSection {
public:
InformationYaraRules() : InformationSection("hex.yara.information_section.yara_rules") { }
~InformationYaraRules() override = default;
InformationAdvancedFileInformation() : InformationSection("hex.yara.information_section.advanced_file_info") { }
~InformationAdvancedFileInformation() override = default;
struct Category {
struct Comperator {
@@ -86,7 +86,7 @@ namespace hex::plugin::yara {
};
void registerDataInformationSections() {
ContentRegistry::DataInformation::addInformationSection<InformationYaraRules>();
ContentRegistry::DataInformation::addInformationSection<InformationAdvancedFileInformation>();
}
}