From 6a7888fd7e21a8d0762d77449b16024d12b24f7d Mon Sep 17 00:00:00 2001 From: mdPlusPlus Date: Thu, 5 Jan 2023 00:52:31 +0100 Subject: [PATCH] Add more languages --- get_online_session_communities.php | 2 +- language_flags.php | 16 ++++++++++++++++ output/script.js | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/get_online_session_communities.php b/get_online_session_communities.php index 0716822..c8f50f1 100644 --- a/get_online_session_communities.php +++ b/get_online_session_communities.php @@ -54,7 +54,7 @@ $timestamp = time(); // unix timestamp in seconds echo("Running, please wait..." . PHP_EOL); - echo("This script will usually take approximately 3 minutes to run." . PHP_EOL); + echo("This script will usually take approximately 4 minutes to run." . PHP_EOL); echo("It will take longer if the Chinese servers are spasming out." . PHP_EOL); $html = get_html_from_known_sources(); diff --git a/language_flags.php b/language_flags.php index 8c019fc..884cf13 100644 --- a/language_flags.php +++ b/language_flags.php @@ -115,6 +115,21 @@ "webdev+b79f" => "πŸ‡¬πŸ‡§" ); + // + $languages_c01b = array( + "ares-races+c01b" => "πŸ‡¬πŸ‡§", + "cfm+c01b" => "πŸ‡¬πŸ‡§", + "contesting+c01b" => "πŸ‡¬πŸ‡§", + "cw+c01b" => "πŸ‡¬πŸ‡§", + "dmr+c01b" => "πŸ‡¬πŸ‡§", + "dstar+c01b" => "πŸ‡¬πŸ‡§", + "hamradio+c01b" => "πŸ‡¬πŸ‡§", + "hf+c01b" => "πŸ‡¬πŸ‡§", + "ka7vee-w7sj+c01b" => "πŸ‡¬πŸ‡§", + "ralph_june+c01b" => "πŸ‡¬πŸ‡§", + "repeaters+c01b" => "πŸ‡¬πŸ‡§" + ); + // http://open.session.codes/ $languages_c7fb = array( "4c2ba1+c7fb" => "πŸ‡ͺπŸ‡Έ", @@ -183,6 +198,7 @@ $languages_8e2e, $languages_a03c, $languages_b79f, + $languages_c01b, $languages_c7fb, $languages_e5e0, $languages_e56f, diff --git a/output/script.js b/output/script.js index 6485a1c..2a7f3f8 100644 --- a/output/script.js +++ b/output/script.js @@ -12,6 +12,7 @@ function hideBadCommunities() { "e5853a+c7fb", // testtest "test+118d", // Testing 1, 2, 3 "test+13f6", // Testing room + "test+c01b", // Testing room "test+fe93" // ζ΅‹θ―•οΌˆTest) ];