Commit 144625c7 authored by jan.koester's avatar jan.koester
Browse files

more translations

parent 22801166
Loading
Loading
Loading
Loading
+1 −1
Changes for data/template/default/cookie.html: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
        <div id="cookiecontent">
            <form id="cookiesettings">
            </form>
            <button id="cookiesubmit" type="submit" form="cookiesettings"  value="Submit" formmethod="post">Accept</button>
            <button id="cookiesubmit" type="submit" form="cookiesettings"  value="Submit" formmethod="post">${I18N_COOKIE_ACCEPT}</button>
        </div>
    </div>
    </body>
+2 −1
Changes for src/blogi.cpp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -177,7 +177,8 @@ blogi::Blogi::Blogi(std::vector<netplus::socket*> serversocket,bool debug) : Htt

    cban.init();

    cban.addRule(id,"Technical Required","This Cookie is Required for Authentication and some Basic Funtions of this Blog",true);
    std::string _lang = getLang(*initdb);
    cban.addRule(id,tr(_lang,"Technical Required").c_str(),tr(_lang,"This Cookie is Required for Authentication and some Basic Funtions of this Blog").c_str(),true);

    BlogiPlg = std::make_unique<Plugin>();

+1 −0
Changes for src/theme.cpp: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -294,6 +294,7 @@ inline std::map<std::string, std::string> editorTranslations(const std::string &
        "I18N_REMOVE_FORMATTING",
        "I18N_CANCEL",
        "I18N_SAVE_BTN",
        "I18N_COOKIE_ACCEPT",
    };
    std::map<std::string, std::string> m;
    for (const auto &k : keys)
+10 −0
Changes for src/translations.h: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -365,6 +365,11 @@ namespace blogi {
            {"Password:",            "Passwort:"},
            {"No",                   "Nein"},
            {"Players:",             "Spieler:"},
            // Cookie banner
            {"Accept", "Akzeptieren"},
            {"Technical Required", "Technisch erforderlich"},
            {"This Cookie is Required for Authentication and some Basic Funtions of this Blog", "Dieses Cookie wird f&uuml;r die Authentifizierung und grundlegende Funktionen dieses Blogs ben&ouml;tigt."},
            {"I18N_COOKIE_ACCEPT", "Akzeptieren"},
            // Plugin: gtm
            {"Google Tag Manager",   "Google Tag Manager"},
            {"This cookie is required for Tag Manager to improve the website.", "Dieses Cookie wird f&uuml;r den Tag Manager zur Verbesserung der Website ben&ouml;tigt."},
@@ -646,6 +651,11 @@ namespace blogi {
            {"I18N_SAVE_BTN",            "Save"},
            {"I18N_CUSTOM_COLOR",        "Custom Color"},
            {"I18N_THEME_VARIABLE",      "Theme Variable"},
            // Cookie banner
            {"Accept", "Accept"},
            {"Technical Required", "Technical Required"},
            {"This Cookie is Required for Authentication and some Basic Funtions of this Blog", "This Cookie is Required for Authentication and some Basic Funtions of this Blog"},
            {"I18N_COOKIE_ACCEPT", "Accept"},
            // Plugin strings that need HTML entities or special formatting
            {"Do you want to remove this media type? All files of this type will also be removed!", "Do you want to remove this media type? All files of this type will also be removed!"},
            {"Do you want to remove this navigation?", "Do you want to remove this navigation?"},