From f4a9c5f551bba273f6c4fe142571e94b95cd3038 Mon Sep 17 00:00:00 2001 From: Bui Date: Fri, 26 Sep 2014 10:38:23 +0900 Subject: [PATCH] only use 8chan locales --- boards.php | 2 +- inc/countries.php | 269 ++++------------------------------------------ 2 files changed, 23 insertions(+), 248 deletions(-) diff --git a/boards.php b/boards.php index 187384a6..eb567068 100644 --- a/boards.php +++ b/boards.php @@ -87,7 +87,7 @@ foreach ($boards as $i => &$board) { $locale_short = isset($locale_arr[1]) ? strtolower($locale_arr[1]) : strtolower($locale_arr[0]); $locale_short = str_replace('.utf-8', '', $locale_short); $country = get_country($locale_short); - if ($board['uri'] === 'int') {$locale_short = 'eo'; $locale = 'eo';} + if ($board['uri'] === 'int') {$locale_short = 'eo'; $locale = 'eo'; $country = 'Esperanto';} $img = "\"$country\""; diff --git a/inc/countries.php b/inc/countries.php index 4a872d88..e9e0fd60 100644 --- a/inc/countries.php +++ b/inc/countries.php @@ -1,254 +1,29 @@