Przeglądaj źródła

WIP flplugins165: plugin categories, pt-BR, i18n data

Ka1-S 1 miesiąc temu
rodzic
commit
9b508ea121
3 zmienionych plików z 63 dodań i 5 usunięć
  1. 1 0
      resources/i18n/pt-BR.txt
  2. 4 4
      src/core/PluginCatalog.cpp
  3. 58 1
      src/ui/I18nData.h

+ 1 - 0
resources/i18n/pt-BR.txt

@@ -5215,3 +5215,4 @@ countries: br
 "A web page: LYNX does not load web pages itself. Use \"Open in browser\"." = "Uma página da web: o LYNX não carrega páginas da web. Use \"Abrir no navegador\"."
 "The page was not found: {0}" = "A página não foi encontrada: {0}"
 "The page has no text to show." = "A página não tem texto para mostrar."
+"Browse" = "Procurar"

+ 4 - 4
src/core/PluginCatalog.cpp

@@ -66,9 +66,9 @@ std::string effectCategory (const std::string& declared, const std::string& name
     for (const auto* text : { &declared, &name })
     {
         const auto& t = *text;
-        if (has (t, { "visualiz", "visualis", "video", "milkdrop", "projectm", "plugin dance" }) || hasToken (t, { "visual" }))
-            return visual;
-        if (has (t, { "analy", "meter", "scope", "spectrum", "loudness" }))
+        if (has (t, { "visualiz", "visualis", "video", "milkdrop", "projectm", "plugin dance", "big clock", "notebook" }) || hasToken (t, { "visual" }))
+            return visual; // (round 165g: FL's Big Clock and HTML NoteBook sit in FL's Visual group)
+        if (has (t, { "analy", "meter", "scope", "spectrum", "loudness", "tuner" }))
             return analyzer;
         if (has (t, { "reverb", "verb", "delay", "echo", "plate", "room", "hall", "spring" }))
             return delayReverb;
@@ -83,7 +83,7 @@ std::string effectCategory (const std::string& declared, const std::string& name
             return modulation;
         if (has (t, { "distort", "drive", "satur", "decapitator", "tube", "tape", "crush", "fuzz", "warm", "exciter", "fresh air" }) || hasToken (t, { "amp" }))
             return distortion;
-        if (has (t, { "tools", "utility", "gain", "trim", "mono", "routing", "restoration", "noise", "spatial" }))
+        if (has (t, { "tools", "utility", "gain", "trim", "mono", "routing", "restoration", "noise", "spatial", "mute" }))
             return utility;
     }
     return other;

+ 58 - 1
src/ui/I18nData.h

@@ -15330,6 +15330,63 @@ inline constexpr unsigned char ptBR[] = {
 32, 34, 69, 115, 112, 101, 115, 115, 117, 114, 97, 34, 10, 34, 66, 101, 97, 116, 32, 116, 104, 114, 101, 115,
 104, 111, 108, 100, 34, 32, 61, 32, 34, 76, 105, 109, 105, 97, 114, 32, 100, 97, 32, 98, 97, 116, 105, 100,
 97, 34, 10, 34, 72, 117, 101, 32, 115, 104, 105, 102, 116, 34, 32, 61, 32, 34, 82, 111, 116, 97, 195, 167,
-195, 163, 111, 32, 100, 101, 32, 109, 97, 116, 105, 122, 34, 10,
+195, 163, 111, 32, 100, 101, 32, 109, 97, 116, 105, 122, 34, 10, 10, 35, 32, 82, 111, 117, 110, 100, 32, 49,
+54, 53, 103, 58, 32, 70, 114, 117, 105, 116, 121, 32, 77, 117, 116, 101, 32, 50, 44, 32, 70, 114, 117, 105,
+116, 121, 32, 66, 105, 103, 32, 67, 108, 111, 99, 107, 44, 32, 84, 117, 110, 101, 114, 44, 32, 70, 114, 117,
+105, 116, 121, 32, 72, 84, 77, 76, 32, 78, 111, 116, 101, 66, 111, 111, 107, 10, 34, 77, 85, 84, 69, 34,
+32, 61, 32, 34, 77, 85, 68, 79, 34, 10, 34, 67, 72, 65, 78, 78, 69, 76, 34, 32, 61, 32, 34, 67,
+65, 78, 65, 76, 34, 10, 34, 66, 97, 114, 58, 66, 101, 97, 116, 58, 84, 105, 99, 107, 34, 32, 61, 32,
+34, 67, 111, 109, 112, 97, 115, 115, 111, 58, 84, 101, 109, 112, 111, 58, 84, 105, 99, 107, 34, 10, 34, 77,
+105, 110, 58, 83, 101, 99, 58, 72, 117, 110, 100, 114, 101, 100, 116, 104, 115, 34, 32, 61, 32, 34, 77, 105,
+110, 58, 83, 101, 103, 58, 67, 101, 110, 116, 195, 169, 115, 105, 109, 111, 115, 34, 10, 34, 66, 97, 114, 58,
+83, 116, 101, 112, 58, 84, 105, 99, 107, 34, 32, 61, 32, 34, 67, 111, 109, 112, 97, 115, 115, 111, 58, 83,
+116, 101, 112, 58, 84, 105, 99, 107, 34, 10, 34, 91, 82, 77, 66, 93, 32, 100, 105, 115, 112, 108, 97, 121,
+58, 32, 66, 97, 114, 58, 66, 101, 97, 116, 58, 84, 105, 99, 107, 44, 32, 77, 105, 110, 58, 83, 101, 99,
+58, 72, 117, 110, 100, 114, 101, 100, 116, 104, 115, 32, 111, 114, 32, 66, 97, 114, 58, 83, 116, 101, 112, 58,
+84, 105, 99, 107, 34, 32, 61, 32, 34, 91, 66, 111, 116, 195, 163, 111, 32, 100, 105, 114, 101, 105, 116, 111,
+93, 32, 101, 120, 105, 98, 105, 195, 167, 195, 163, 111, 58, 32, 67, 111, 109, 112, 97, 115, 115, 111, 58, 84,
+101, 109, 112, 111, 58, 84, 105, 99, 107, 44, 32, 77, 105, 110, 58, 83, 101, 103, 58, 67, 101, 110, 116, 195,
+169, 115, 105, 109, 111, 115, 32, 111, 117, 32, 67, 111, 109, 112, 97, 115, 115, 111, 58, 83, 116, 101, 112, 58,
+84, 105, 99, 107, 34, 10, 34, 82, 101, 102, 101, 114, 101, 110, 99, 101, 34, 32, 61, 32, 34, 82, 101, 102,
+101, 114, 195, 170, 110, 99, 105, 97, 34, 10, 34, 82, 101, 97, 99, 116, 105, 118, 105, 116, 121, 34, 32, 61,
+32, 34, 82, 101, 97, 116, 105, 118, 105, 100, 97, 100, 101, 34, 10, 34, 68, 105, 97, 108, 34, 32, 61, 32,
+34, 77, 111, 115, 116, 114, 97, 100, 111, 114, 34, 10, 34, 99, 101, 110, 116, 34, 32, 61, 32, 34, 99, 101,
+110, 116, 34, 10, 34, 80, 97, 103, 101, 58, 32, 97, 32, 46, 104, 116, 109, 108, 32, 102, 105, 108, 101, 32,
+111, 114, 32, 97, 32, 119, 101, 98, 32, 97, 100, 100, 114, 101, 115, 115, 34, 32, 61, 32, 34, 80, 195, 161,
+103, 105, 110, 97, 58, 32, 117, 109, 32, 97, 114, 113, 117, 105, 118, 111, 32, 46, 104, 116, 109, 108, 32, 111,
+117, 32, 117, 109, 32, 101, 110, 100, 101, 114, 101, 195, 167, 111, 32, 100, 97, 32, 119, 101, 98, 34, 10, 34,
+67, 104, 111, 111, 115, 101, 32, 116, 104, 101, 32, 46, 104, 116, 109, 108, 32, 112, 97, 103, 101, 32, 116, 111,
+32, 115, 104, 111, 119, 34, 32, 61, 32, 34, 69, 115, 99, 111, 108, 104, 97, 32, 97, 32, 112, 195, 161, 103,
+105, 110, 97, 32, 46, 104, 116, 109, 108, 32, 97, 32, 109, 111, 115, 116, 114, 97, 114, 34, 10, 34, 79, 112,
+101, 110, 32, 116, 104, 101, 32, 112, 97, 103, 101, 32, 105, 110, 32, 121, 111, 117, 114, 32, 119, 101, 98, 32,
+98, 114, 111, 119, 115, 101, 114, 34, 32, 61, 32, 34, 65, 98, 114, 105, 114, 32, 97, 32, 112, 195, 161, 103,
+105, 110, 97, 32, 110, 111, 32, 115, 101, 117, 32, 110, 97, 118, 101, 103, 97, 100, 111, 114, 34, 10, 34, 82,
+101, 97, 100, 32, 116, 104, 101, 32, 112, 97, 103, 101, 32, 97, 103, 97, 105, 110, 34, 32, 61, 32, 34, 76,
+101, 114, 32, 97, 32, 112, 195, 161, 103, 105, 110, 97, 32, 100, 101, 32, 110, 111, 118, 111, 34, 10, 34, 79,
+112, 101, 110, 32, 105, 110, 32, 98, 114, 111, 119, 115, 101, 114, 34, 32, 61, 32, 34, 65, 98, 114, 105, 114,
+32, 110, 111, 32, 110, 97, 118, 101, 103, 97, 100, 111, 114, 34, 10, 34, 82, 101, 108, 111, 97, 100, 34, 32,
+61, 32, 34, 82, 101, 99, 97, 114, 114, 101, 103, 97, 114, 34, 10, 34, 78, 111, 32, 112, 97, 103, 101, 46,
+32, 67, 104, 111, 111, 115, 101, 32, 97, 32, 46, 104, 116, 109, 108, 32, 102, 105, 108, 101, 32, 119, 105, 116,
+104, 32, 66, 114, 111, 119, 115, 101, 44, 32, 111, 114, 32, 116, 121, 112, 101, 32, 97, 32, 119, 101, 98, 32,
+97, 100, 100, 114, 101, 115, 115, 32, 97, 110, 100, 32, 112, 114, 101, 115, 115, 32, 69, 110, 116, 101, 114, 46,
+34, 32, 61, 32, 34, 78, 101, 110, 104, 117, 109, 97, 32, 112, 195, 161, 103, 105, 110, 97, 46, 32, 69, 115,
+99, 111, 108, 104, 97, 32, 117, 109, 32, 97, 114, 113, 117, 105, 118, 111, 32, 46, 104, 116, 109, 108, 32, 101,
+109, 32, 80, 114, 111, 99, 117, 114, 97, 114, 44, 32, 111, 117, 32, 100, 105, 103, 105, 116, 101, 32, 117, 109,
+32, 101, 110, 100, 101, 114, 101, 195, 167, 111, 32, 100, 97, 32, 119, 101, 98, 32, 101, 32, 112, 114, 101, 115,
+115, 105, 111, 110, 101, 32, 69, 110, 116, 101, 114, 46, 34, 10, 34, 65, 32, 119, 101, 98, 32, 112, 97, 103,
+101, 58, 32, 76, 89, 78, 88, 32, 100, 111, 101, 115, 32, 110, 111, 116, 32, 108, 111, 97, 100, 32, 119, 101,
+98, 32, 112, 97, 103, 101, 115, 32, 105, 116, 115, 101, 108, 102, 46, 32, 85, 115, 101, 32, 92, 34, 79, 112,
+101, 110, 32, 105, 110, 32, 98, 114, 111, 119, 115, 101, 114, 92, 34, 46, 34, 32, 61, 32, 34, 85, 109, 97,
+32, 112, 195, 161, 103, 105, 110, 97, 32, 100, 97, 32, 119, 101, 98, 58, 32, 111, 32, 76, 89, 78, 88, 32,
+110, 195, 163, 111, 32, 99, 97, 114, 114, 101, 103, 97, 32, 112, 195, 161, 103, 105, 110, 97, 115, 32, 100, 97,
+32, 119, 101, 98, 46, 32, 85, 115, 101, 32, 92, 34, 65, 98, 114, 105, 114, 32, 110, 111, 32, 110, 97, 118,
+101, 103, 97, 100, 111, 114, 92, 34, 46, 34, 10, 34, 84, 104, 101, 32, 112, 97, 103, 101, 32, 119, 97, 115,
+32, 110, 111, 116, 32, 102, 111, 117, 110, 100, 58, 32, 123, 48, 125, 34, 32, 61, 32, 34, 65, 32, 112, 195,
+161, 103, 105, 110, 97, 32, 110, 195, 163, 111, 32, 102, 111, 105, 32, 101, 110, 99, 111, 110, 116, 114, 97, 100,
+97, 58, 32, 123, 48, 125, 34, 10, 34, 84, 104, 101, 32, 112, 97, 103, 101, 32, 104, 97, 115, 32, 110, 111,
+32, 116, 101, 120, 116, 32, 116, 111, 32, 115, 104, 111, 119, 46, 34, 32, 61, 32, 34, 65, 32, 112, 195, 161,
+103, 105, 110, 97, 32, 110, 195, 163, 111, 32, 116, 101, 109, 32, 116, 101, 120, 116, 111, 32, 112, 97, 114, 97,
+32, 109, 111, 115, 116, 114, 97, 114, 46, 34, 10, 34, 66, 114, 111, 119, 115, 101, 34, 32, 61, 32, 34, 80,
+114, 111, 99, 117, 114, 97, 114, 34, 10,
 };
 } // namespace lynx::i18n::data