Add code to upgrade to new list of profile constants

Chris Pollett [2023-09-21 16:Sep:st]
Add code to upgrade to new list of profile constants
Filename
src/configs/Config.php
src/library/VersionFunctions.php
src/locale/ar/configure.ini
src/locale/bn/configure.ini
src/locale/de/configure.ini
src/locale/el_GR/configure.ini
src/locale/en_US/configure.ini
src/locale/es/configure.ini
src/locale/fa/configure.ini
src/locale/fr_FR/configure.ini
src/locale/he/configure.ini
src/locale/hi/configure.ini
src/locale/id/configure.ini
src/locale/it/configure.ini
src/locale/ja/configure.ini
src/locale/kn/configure.ini
src/locale/ko/configure.ini
src/locale/nl/configure.ini
src/locale/pl/configure.ini
src/locale/pt/configure.ini
src/locale/ru/configure.ini
src/locale/te/configure.ini
src/locale/th/configure.ini
src/locale/tl/configure.ini
src/locale/tr/configure.ini
src/locale/vi_VN/configure.ini
src/locale/zh_CN/configure.ini
diff --git a/src/configs/Config.php b/src/configs/Config.php
index 5f588c584..9883c5f56 100755
--- a/src/configs/Config.php
+++ b/src/configs/Config.php
@@ -162,7 +162,7 @@ nsconddefine('GENERATOR_STRING', "Yioop");
  * Version number for upgrade database function
  * @var int
  */
-nsdefine('DATABASE_VERSION', 80);
+nsdefine('DATABASE_VERSION', 81);
 /**
  * Minimum Version fo Yioop for which keyword ad script
  * still works with this version
@@ -173,7 +173,7 @@ nsdefine('MIN_AD_VERSION', 36);
  * Version number for upgrading locale resource folders and for upgrading
  * public and help wikis
  */
-nsdefine('RESOURCES_WIKI_VERSION', 12);
+nsdefine('RESOURCES_WIKI_VERSION', 13);
 /**
  * nsdefine's the BASE_URL constant for this script
  * if run from the command line as part of index.php HTTP server scrip
diff --git a/src/library/VersionFunctions.php b/src/library/VersionFunctions.php
index f5b0d6c04..803b7605c 100644
--- a/src/library/VersionFunctions.php
+++ b/src/library/VersionFunctions.php
@@ -2178,3 +2178,17 @@ function upgradeDatabaseVersion80(&$db)
             ""];
     $db->execute($sql, $scraper);
 }
+/**
+ * Upgrades a Version 80 version of the Yioop database to a Version 81 version
+ * @param object $db datasource to use to upgrade
+ */
+function upgradeDatabaseVersion81(&$db)
+{
+    $profile_model = new M\ProfileModel(C\DB_NAME, false);
+    $profile = $profile_model->getProfile(C\WORK_DIRECTORY);
+    $new_profile = $profile;
+    $new_profile['WIKI_BONUS']= 0.5;
+    $new_profile['NUM_SLASHES_BONUS']= 0.5;
+    $profile_model->updateProfile(C\WORK_DIRECTORY, $new_profile,
+        $profile);
+}
diff --git a/src/locale/ar/configure.ini b/src/locale/ar/configure.ini
index 87cffdadf..888b5f9bf 100755
--- a/src/locale/ar/configure.ini
+++ b/src/locale/ar/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "مكافأة القرب :"
 pageoptions_element_cld_url_bonus = "مكافأة رابط نطاق الشركة :"
 pageoptions_element_host_url_bonus = "مكافأة عنوان المضيف :"
 pageoptions_element_user_rank_bonus = "مكافأة رتبة المستخدم:"
-pageoptions_element_num_slashes_bonus = "مكافأة لعدد الخطوط المائلة للأمام :"
 pageoptions_element_wiki_bonus = "مكافأة ويكيبيديا :"
+pageoptions_element_num_slashes_bonus = "مكافأة لعدد الخطوط المائلة للأمام :"
 pageoptions_element_results_grouping_options = "تجميع نتائج البحث"
 pageoptions_element_min_results_to_group = "نتائج الحد الأدنى للمجموعة:"
 pageoptions_element_test_page = "صفحة اختبار"
@@ -1971,7 +1971,7 @@ rss_layout_title = "بي إتش بي محرك البحث-يوب!:  %s"
 rss_layout_description = "نتائج البحث ل:  %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/bn/configure.ini b/src/locale/bn/configure.ini
index f12f4aeaf..abb1d04a3 100755
--- a/src/locale/bn/configure.ini
+++ b/src/locale/bn/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "প্রক্সিমিটি বো
 pageoptions_element_cld_url_bonus = "কোম্পানির ডোমেন ইউআরএল বোনাস:"
 pageoptions_element_host_url_bonus = "হোস্ট ইউআরএল বোনাস:"
 pageoptions_element_user_rank_bonus = "ব্যবহারকারী র্যাঙ্ক বোনাস:"
-pageoptions_element_num_slashes_bonus = "স্ল্যাশ বোনাসের সংখ্যা:"
 pageoptions_element_wiki_bonus = "উইকি বোনাস:"
+pageoptions_element_num_slashes_bonus = "স্ল্যাশ বোনাসের সংখ্যা:"
 pageoptions_element_results_grouping_options = "অনুসন্ধান ফলাফল জোট"
 pageoptions_element_min_results_to_group = "সর্বনিম্ন ফলাফল গ্রুপ:"
 pageoptions_element_test_page = "পরীক্ষা পৃষ্ঠা"
@@ -1971,7 +1971,7 @@ rss_layout_title = "পিএইচপি সার্চ ইঞ্জিন - Y
 rss_layout_description = "জন্য অনুসন্ধান ফলাফল: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/de/configure.ini b/src/locale/de/configure.ini
index f8a06d9fe..eb0df0fb6 100755
--- a/src/locale/de/configure.ini
+++ b/src/locale/de/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Proximity-Bonus:"
 pageoptions_element_cld_url_bonus = "Firmen-Domain-URL-Bonus:"
 pageoptions_element_host_url_bonus = "Host-URL-Prämie:"
 pageoptions_element_user_rank_bonus = "Benutzerrangbonus :"
-pageoptions_element_num_slashes_bonus = "Anzahl der Schrägstriche Bonus:"
 pageoptions_element_wiki_bonus = "Wiki-Bonus:"
+pageoptions_element_num_slashes_bonus = "Anzahl der Schrägstriche Bonus:"
 pageoptions_element_results_grouping_options = "Suchergebnisse Gruppierung"
 pageoptions_element_min_results_to_group = "Minimale Ergebnisse Gruppe:"
 pageoptions_element_test_page = "Test Seite"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Suchmaschine - Yioop! : %s"
 rss_layout_description = "Suchergebnisse für: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/el_GR/configure.ini b/src/locale/el_GR/configure.ini
index 5b8ffd2a0..de0563a75 100644
--- a/src/locale/el_GR/configure.ini
+++ b/src/locale/el_GR/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Μπόνους Εγγύτητας :"
 pageoptions_element_cld_url_bonus = "Μπόνους Διεύθυνσης URL Τομέα Εταιρείας :"
 pageoptions_element_host_url_bonus = "Μπόνους URL Υποδοχής :"
 pageoptions_element_user_rank_bonus = "Μπόνους Κατάταξης Χρήστη :"
-pageoptions_element_num_slashes_bonus = "Μπόνους αριθμός κάθετου:"
 pageoptions_element_wiki_bonus = "Μπόνους Wiki:"
+pageoptions_element_num_slashes_bonus = "Μπόνους αριθμός κάθετου:"
 pageoptions_element_results_grouping_options = "Ομαδοποίηση αποτελεσμάτων αναζήτησης"
 pageoptions_element_min_results_to_group = "Ελάχιστα αποτελέσματα στην ομάδα:"
 pageoptions_element_test_page = "Δοκιμαστική σελίδα"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Μηχανή Αναζήτησης - Yioop! : %s"
 rss_layout_description = "Αποτελέσματα αναζήτησης για: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/en_US/configure.ini b/src/locale/en_US/configure.ini
index 53e6ca064..c03ffb95b 100644
--- a/src/locale/en_US/configure.ini
+++ b/src/locale/en_US/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Proximity Bonus:"
 pageoptions_element_cld_url_bonus = "Company Domain Url Bonus:"
 pageoptions_element_host_url_bonus = "Host Url Bonus:"
 pageoptions_element_user_rank_bonus = "User Rank Bonus:"
-pageoptions_element_num_slashes_bonus = "Num Slashes Bonus:"
 pageoptions_element_wiki_bonus = "Wiki Bonus:"
+pageoptions_element_num_slashes_bonus = "Num Slashes Bonus:"
 pageoptions_element_results_grouping_options = "Search Results Grouping"
 pageoptions_element_min_results_to_group = "Minimum Results to Group:"
 pageoptions_element_test_page = "Test Page"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Search Engine - Yioop! : %s"
 rss_layout_description = "Search results for: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/es/configure.ini b/src/locale/es/configure.ini
index 42805b0c2..95608eb4a 100755
--- a/src/locale/es/configure.ini
+++ b/src/locale/es/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Bonificación de proximidad:"
 pageoptions_element_cld_url_bonus = "Bonificación de Url de Dominio de Empresa:"
 pageoptions_element_host_url_bonus = "Bonificación de URL de Host:"
 pageoptions_element_user_rank_bonus = "Bonificación de Rango de Usuario :"
-pageoptions_element_num_slashes_bonus = "Bonificación por número de barras diagonales:"
 pageoptions_element_wiki_bonus = "Bonificación para Wiki:"
+pageoptions_element_num_slashes_bonus = "Bonificación por número de barras diagonales:"
 pageoptions_element_results_grouping_options = "Resultados De La Búsqueda De La Agrupación"
 pageoptions_element_min_results_to_group = "Resultados mínimos para el Grupo:"
 pageoptions_element_test_page = "Página De Prueba"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Motor de Búsqueda - Yioop! : %s"
 rss_layout_description = "Resultados de la búsqueda por: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/fa/configure.ini b/src/locale/fa/configure.ini
index f4b80e443..3470503c8 100755
--- a/src/locale/fa/configure.ini
+++ b/src/locale/fa/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "پاداش نزدیکی:"
 pageoptions_element_cld_url_bonus = "پاداش دامنه شرکت :"
 pageoptions_element_host_url_bonus = "پاداش نشانی وب میزبان :"
 pageoptions_element_user_rank_bonus = "پاداش رتبه کاربر:"
-pageoptions_element_num_slashes_bonus = "پاداش تعداد اسلش :"
 pageoptions_element_wiki_bonus = "پاداش ویکی :"
+pageoptions_element_num_slashes_bonus = "پاداش تعداد اسلش :"
 pageoptions_element_results_grouping_options = "دسته‌بندی نتایج جستجو"
 pageoptions_element_min_results_to_group = "حداقل تعداد هر دسته:"
 pageoptions_element_test_page = "تست صفحه"
@@ -1971,7 +1971,7 @@ rss_layout_title = "موتور جستجوی PHP - Yioop! : %s"
 rss_layout_description = "نتایج جستجو برای: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/fr_FR/configure.ini b/src/locale/fr_FR/configure.ini
index 8dc5d68ce..c757ae1fe 100755
--- a/src/locale/fr_FR/configure.ini
+++ b/src/locale/fr_FR/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Bonus de proximité:"
 pageoptions_element_cld_url_bonus = "Bonus d'URL de domaine d'entreprise:"
 pageoptions_element_host_url_bonus = "Bonus d'URL d'hôte:"
 pageoptions_element_user_rank_bonus = "Bonus de classement utilisateur:"
-pageoptions_element_num_slashes_bonus = "Bonus de nombre de barres obliques:"
 pageoptions_element_wiki_bonus = "Bonus Wiki:"
+pageoptions_element_num_slashes_bonus = "Bonus de nombre de barres obliques:"
 pageoptions_element_results_grouping_options = "Résultats de la recherche groupement"
 pageoptions_element_min_results_to_group = "Minimum de résultats à un groupe:"
 pageoptions_element_test_page = "Page de test"
@@ -1971,7 +1971,7 @@ rss_layout_title = "Moteur de recherche PHP -Yioop! %s"
 rss_layout_description = "%s résultats"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/he/configure.ini b/src/locale/he/configure.ini
index 3f93d99ef..9a5e9100b 100755
--- a/src/locale/he/configure.ini
+++ b/src/locale/he/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "בונוס קרבה:"
 pageoptions_element_cld_url_bonus = "בונוס כתובת אתר של תחום החברה :"
 pageoptions_element_host_url_bonus = "בונוס כתובת אתר מארח :"
 pageoptions_element_user_rank_bonus = "בונוס דירוג משתמש:"
-pageoptions_element_num_slashes_bonus = "מספר / בונוס :"
 pageoptions_element_wiki_bonus = "בונוס ויקי :"
+pageoptions_element_num_slashes_bonus = "מספר / בונוס :"
 pageoptions_element_results_grouping_options = "תוצאות חיפוש קיבוץ"
 pageoptions_element_min_results_to_group = "מינימום תוצאות הקבוצה:"
 pageoptions_element_test_page = "דף בדיקה"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP מנוע חיפוש - Yioop! : %s"
 rss_layout_description = "תוצאות חיפוש עבור: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/hi/configure.ini b/src/locale/hi/configure.ini
index 9f3ad3a35..216898321 100755
--- a/src/locale/hi/configure.ini
+++ b/src/locale/hi/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "निकटता बोनस:"
 pageoptions_element_cld_url_bonus = "कंपनी डोमेन यूआरएल बोनस:"
 pageoptions_element_host_url_bonus = "होस्ट यूआरएल बोनस:"
 pageoptions_element_user_rank_bonus = "उपयोगकर्ता रैंक बोनस:"
-pageoptions_element_num_slashes_bonus = "स्लैश की संख्या बोनस:"
 pageoptions_element_wiki_bonus = "विकी बोनस:"
+pageoptions_element_num_slashes_bonus = "स्लैश की संख्या बोनस:"
 pageoptions_element_results_grouping_options = "खोज परिणाम समूहीकरण"
 pageoptions_element_min_results_to_group = "न्यूनतम परिणाम समूह के लिए:"
 pageoptions_element_test_page = "परीक्षण पृष्ठ"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP खोज इंजन - Yioop! : %s"
 rss_layout_description = "खोज परिणाम के लिए: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/id/configure.ini b/src/locale/id/configure.ini
index 619dbba0e..d9f6e88d3 100755
--- a/src/locale/id/configure.ini
+++ b/src/locale/id/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Bonus Kedekatan:"
 pageoptions_element_cld_url_bonus = "Bonus Url Domain Perusahaan:"
 pageoptions_element_host_url_bonus = "Bonus URL Tuan Rumah:"
 pageoptions_element_user_rank_bonus = "Bonus Peringkat Pengguna :"
-pageoptions_element_num_slashes_bonus = "Bonus untuk Bilangan Slash:"
 pageoptions_element_wiki_bonus = "Bonus untuk Wiki:"
+pageoptions_element_num_slashes_bonus = "Bonus untuk Bilangan Slash:"
 pageoptions_element_results_grouping_options = "Hasil Pencarian Pengelompokan"
 pageoptions_element_min_results_to_group = "Minimal Hasil untuk Kelompok:"
 pageoptions_element_test_page = "Uji Halaman"
@@ -1971,7 +1971,7 @@ rss_layout_title = "Mesin Pencari PHP - Yioop! : %s"
 rss_layout_description = "Hasil pencarian untuk: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/it/configure.ini b/src/locale/it/configure.ini
index 093144e6e..2dd322887 100755
--- a/src/locale/it/configure.ini
+++ b/src/locale/it/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Bonus di prossimità:"
 pageoptions_element_cld_url_bonus = "Bonus Url dominio azienda:"
 pageoptions_element_host_url_bonus = "Bonus Url host:"
 pageoptions_element_user_rank_bonus = "Bonus classifica utente:"
-pageoptions_element_num_slashes_bonus = "Bonus per numero di /:"
 pageoptions_element_wiki_bonus = "Bonus per Wiki:"
+pageoptions_element_num_slashes_bonus = "Bonus per numero di /:"
 pageoptions_element_results_grouping_options = "Raggruppa risultati di ricerca"
 pageoptions_element_min_results_to_group = "Minimo risultati da raggruppare:"
 pageoptions_element_test_page = "Pagina Di Prova"
@@ -1971,7 +1971,7 @@ rss_layout_title = "Yioop! Motore di Ricerca in PHP: %s"
 rss_layout_description = "Risultati di ricerca per: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/ja/configure.ini b/src/locale/ja/configure.ini
index e0159a109..05c432e37 100755
--- a/src/locale/ja/configure.ini
+++ b/src/locale/ja/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "近接ボーナス:"
 pageoptions_element_cld_url_bonus = "企業ドメインUrlボーナス:"
 pageoptions_element_host_url_bonus = "ホストUrlボーナス:"
 pageoptions_element_user_rank_bonus = "ユーザーランクボーナス:"
-pageoptions_element_num_slashes_bonus = "スラッシュボーナスの数:"
 pageoptions_element_wiki_bonus = "Wiki のボーナス:"
+pageoptions_element_num_slashes_bonus = "スラッシュボーナスの数:"
 pageoptions_element_results_grouping_options = "検索結果の分類"
 pageoptions_element_min_results_to_group = "最低限の結果をグループ"
 pageoptions_element_test_page = "テストページ"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHPの検索エンジン-Yioop! :%s"
 rss_layout_description = "検索結果:%s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/kn/configure.ini b/src/locale/kn/configure.ini
index cc6acb14d..1034a4452 100755
--- a/src/locale/kn/configure.ini
+++ b/src/locale/kn/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "ಸಾಮೀಪ್ಯ ಬೋನಸ್:"
 pageoptions_element_cld_url_bonus = "ಕಂಪನಿ ಡೊಮೇನ್ ಯುಆರ್ಎಲ್ ಬೋನಸ್:"
 pageoptions_element_host_url_bonus = "ಹೋಸ್ಟ್ ಯುಆರ್ಎಲ್ ಬೋನಸ್:"
 pageoptions_element_user_rank_bonus = "ಬಳಕೆದಾರ ಶ್ರೇಣಿಯ ಬೋನಸ್:"
-pageoptions_element_num_slashes_bonus = "ಸ್ಲಾಶ್‌ಗಳ ಬೋನಸ್‌ಗಳ ಸಂಖ್ಯೆ:"
 pageoptions_element_wiki_bonus = "ವಿಕಿ ಬೋನಸ್:"
+pageoptions_element_num_slashes_bonus = "ಸ್ಲಾಶ್‌ಗಳ ಬೋನಸ್‌ಗಳ ಸಂಖ್ಯೆ:"
 pageoptions_element_results_grouping_options = "ಹುಡುಕಾಟ ಫಲಿತಾಂಶಗಳು ಗುಂಪು"
 pageoptions_element_min_results_to_group = "ಕನಿಷ್ಠ ಫಲಿತಾಂಶಗಳು ಗುಂಪು:"
 pageoptions_element_test_page = "ಟೆಸ್ಟ್ ಪುಟ"
@@ -1971,7 +1971,7 @@ rss_layout_title = "ಪಿಹೆಚಪಿ ಶೋಧನಾ ಯಂತ್ರ - ಯ
 rss_layout_description = "ಈ ಶೋಧನಾ ಫಲಿತಾಂಶಗಳು ನಿಮ್ಮ ಪ್ರಶ್ನೆ: %s  ಯ ಉತ್ತರ"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/ko/configure.ini b/src/locale/ko/configure.ini
index 9310d680c..3d8fe0d54 100755
--- a/src/locale/ko/configure.ini
+++ b/src/locale/ko/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "근접 보너스:"
 pageoptions_element_cld_url_bonus = "회사 도메인 주소 보너스:"
 pageoptions_element_host_url_bonus = "호스트 주소 보너스:"
 pageoptions_element_user_rank_bonus = "사용자 순위 보너스:"
-pageoptions_element_num_slashes_bonus = "슬래시 보너스 수:"
 pageoptions_element_wiki_bonus = "위키 보너스:"
+pageoptions_element_num_slashes_bonus = "슬래시 보너스 수:"
 pageoptions_element_results_grouping_options = "검색 결과 그룹"
 pageoptions_element_min_results_to_group = "최소 결과하는 그룹:"
 pageoptions_element_test_page = "테스트 페이지"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP 검색 엔진 - Yioop! : %s"
 rss_layout_description = "%s 에 대한 서치 결과:"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/nl/configure.ini b/src/locale/nl/configure.ini
index d16b4ec5e..876c5487f 100644
--- a/src/locale/nl/configure.ini
+++ b/src/locale/nl/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Proximity Bonus :"
 pageoptions_element_cld_url_bonus = "Bedrijfsdomein Url-Bonus :"
 pageoptions_element_host_url_bonus = "Host Url Bonus :"
 pageoptions_element_user_rank_bonus = "User Rank Bonus :"
-pageoptions_element_num_slashes_bonus = "Num Slashes Bonus:"
 pageoptions_element_wiki_bonus = "Wiki Bonus:"
+pageoptions_element_num_slashes_bonus = "Num Slashes Bonus:"
 pageoptions_element_results_grouping_options = "Zoekresultaten Groepering"
 pageoptions_element_min_results_to_group = "Minimum Resultaten Groep:"
 pageoptions_element_test_page = "testpagina"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Search Engine - Yioop! :%S"
 rss_layout_description = "Zoek resultaten voor: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/pl/configure.ini b/src/locale/pl/configure.ini
index 507e5652f..14a1e7d73 100755
--- a/src/locale/pl/configure.ini
+++ b/src/locale/pl/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Premia Zbliżeniowa :"
 pageoptions_element_cld_url_bonus = "Bonus URL Domeny Firmowej :"
 pageoptions_element_host_url_bonus = "Bonus URL Hosta:"
 pageoptions_element_user_rank_bonus = "Bonus Rangi Użytkownika:"
-pageoptions_element_num_slashes_bonus = "Premia za liczbę /:"
 pageoptions_element_wiki_bonus = "Bonus dla Wiki:"
+pageoptions_element_num_slashes_bonus = "Premia za liczbę /:"
 pageoptions_element_results_grouping_options = "Wyniki Wyszukiwania Grupowanie"
 pageoptions_element_min_results_to_group = "Minimalne wyniki w grupie:"
 pageoptions_element_test_page = "Strona Testowa "
@@ -1971,7 +1971,7 @@ rss_layout_title = "Wyszukaj silniku PHP - Yioop! : %s"
 rss_layout_description = "Wyniki wyszukiwania dla: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/pt/configure.ini b/src/locale/pt/configure.ini
index 61f27f235..72fb7f58e 100755
--- a/src/locale/pt/configure.ini
+++ b/src/locale/pt/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Bônus De Proximidade :"
 pageoptions_element_cld_url_bonus = "Bônus De Url De Domínio Da Empresa:"
 pageoptions_element_host_url_bonus = "Bônus De URL Do Host :"
 pageoptions_element_user_rank_bonus = "Bônus De Classificação Do Usuário :"
-pageoptions_element_num_slashes_bonus = "Bônus para o número de /:"
 pageoptions_element_wiki_bonus = "Bônus para Wiki:"
+pageoptions_element_num_slashes_bonus = "Bônus para o número de /:"
 pageoptions_element_results_grouping_options = "Resultados Da Pesquisa De Agrupamento"
 pageoptions_element_min_results_to_group = "Resultados mínimos para o Grupo:"
 pageoptions_element_test_page = "Página De Teste"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Motor de Busca - Yioop! : %s"
 rss_layout_description = "Resultados da pesquisa para: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/ru/configure.ini b/src/locale/ru/configure.ini
index 8443d8a68..e88e53f67 100755
--- a/src/locale/ru/configure.ini
+++ b/src/locale/ru/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Бонус за близость:"
 pageoptions_element_cld_url_bonus = "Бонусный URL-адрес домена компании:"
 pageoptions_element_host_url_bonus = "Бонусный URL-адрес хоста:"
 pageoptions_element_user_rank_bonus = "Бонус за ранг пользователя:"
-pageoptions_element_num_slashes_bonus = "Бонус за количество слэшей:"
 pageoptions_element_wiki_bonus = "Бонус для Вики:"
+pageoptions_element_num_slashes_bonus = "Бонус за количество слэшей:"
 pageoptions_element_results_grouping_options = "Результаты Поиска Группировка"
 pageoptions_element_min_results_to_group = "Минимальные результаты в группе:"
 pageoptions_element_test_page = "Тестовая Страница "
@@ -1971,7 +1971,7 @@ rss_layout_title = "Поиск движке PHP - Yioop! : %s"
 rss_layout_description = "Результаты поиска для: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/te/configure.ini b/src/locale/te/configure.ini
index 84953f35a..0baccbacd 100644
--- a/src/locale/te/configure.ini
+++ b/src/locale/te/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "సామీప్య బోనస్:"
 pageoptions_element_cld_url_bonus = "కంపెనీ డొమైన్ యూఆర్ఎల్ బోనస్:"
 pageoptions_element_host_url_bonus = "హోస్ట్ యూఆర్ఎల్ బోనస్:"
 pageoptions_element_user_rank_bonus = "వాడుకరి రాంక్ బోనస్:"
-pageoptions_element_num_slashes_bonus = "ఫార్వర్డ్ స్లాష్‌ల బోనస్ సంఖ్య:"
 pageoptions_element_wiki_bonus = "బోనస్ వికీ:"
+pageoptions_element_num_slashes_bonus = "ఫార్వర్డ్ స్లాష్‌ల బోనస్ సంఖ్య:"
 pageoptions_element_results_grouping_options = "శోధన ఫలితాలు చోట"
 pageoptions_element_min_results_to_group = "కనీస ఫలితాలు గుంపు:"
 pageoptions_element_test_page = "టెస్ట్ పేజీ"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP శోధన ఇంజిన్ - Yioop! : %s"
 rss_layout_description = "కోసం శోధన ఫలితాలు: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/th/configure.ini b/src/locale/th/configure.ini
index 24a9dc889..cc8703e1d 100755
--- a/src/locale/th/configure.ini
+++ b/src/locale/th/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "โบนัสความใกล้
 pageoptions_element_cld_url_bonus = "โบนัสโดเมนบริษัท:"
 pageoptions_element_host_url_bonus = "โบนัสโฮสต์:"
 pageoptions_element_user_rank_bonus = "โบนัสอันดับผู้ใช้:"
-pageoptions_element_num_slashes_bonus = "โบนัสสำหรับจำนวนสแลช:"
 pageoptions_element_wiki_bonus = "โบนัสสำหรับวิกิ:"
+pageoptions_element_num_slashes_bonus = "โบนัสสำหรับจำนวนสแลช:"
 pageoptions_element_results_grouping_options = "ผลการค้นหาการจัดกลุ่ม"
 pageoptions_element_min_results_to_group = "อย่างน้อยผลให้กลุ่ม:"
 pageoptions_element_test_page = "ทดสอบหน้า"
@@ -1971,7 +1971,7 @@ rss_layout_title = "ค้นหาเกี่ยวกับ phpquery เค
 rss_layout_description = "ผลการค้นหาสำหรับ:ทั้งหมด %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/tl/configure.ini b/src/locale/tl/configure.ini
index eb82752f3..df4cd9d72 100644
--- a/src/locale/tl/configure.ini
+++ b/src/locale/tl/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Malapit Na Bonus:"
 pageoptions_element_cld_url_bonus = "Bonus Ng Url Ng Domain Ng Kumpanya:"
 pageoptions_element_host_url_bonus = "Host Url Bonus:"
 pageoptions_element_user_rank_bonus = "Bonus Sa Ranggo Ng Gumagamit:"
-pageoptions_element_num_slashes_bonus = "Bonus para sa Bilang ng mga Slash:"
 pageoptions_element_wiki_bonus = "Bonus para sa Wiki:"
+pageoptions_element_num_slashes_bonus = "Bonus para sa Bilang ng mga Slash:"
 pageoptions_element_results_grouping_options = "Mga Resulta Ng Paghahanap Ng Pagpapangkat"
 pageoptions_element_min_results_to_group = "Minimum na mga Resulta sa Grupo:"
 pageoptions_element_test_page = "Pahina Ng Pagsubok"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Search Engine - Yioop! : %s"
 rss_layout_description = "Ang mga resulta ng paghahanap para sa: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/tr/configure.ini b/src/locale/tr/configure.ini
index 05d47e490..379944cc8 100755
--- a/src/locale/tr/configure.ini
+++ b/src/locale/tr/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Yakınlık Bonusu :"
 pageoptions_element_cld_url_bonus = "Şirket Alan Adı Url Bonusu :"
 pageoptions_element_host_url_bonus = "Ana Bilgisayar Url Bonusu :"
 pageoptions_element_user_rank_bonus = "Kullanıcı Sıralaması Bonusu :"
-pageoptions_element_num_slashes_bonus = "Eğik Çizgi Sayısı için Bonus:"
 pageoptions_element_wiki_bonus = "Wiki için Bonus:"
+pageoptions_element_num_slashes_bonus = "Eğik Çizgi Sayısı için Bonus:"
 pageoptions_element_results_grouping_options = "Arama Sonuçları Gruplandırma"
 pageoptions_element_min_results_to_group = "Minimum Sonuçlar Grup için:"
 pageoptions_element_test_page = "Test Sayfası"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP Arama Motoru - Yioop! : %s"
 rss_layout_description = "%s için arama sonuçları: "
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/vi_VN/configure.ini b/src/locale/vi_VN/configure.ini
index 59b5c5f17..af85af6b2 100755
--- a/src/locale/vi_VN/configure.ini
+++ b/src/locale/vi_VN/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "Gần Thưởng:"
 pageoptions_element_cld_url_bonus = "Công Ty Miền Url Thưởng:"
 pageoptions_element_host_url_bonus = "Chủ Url Thưởng:"
 pageoptions_element_user_rank_bonus = "Sử Dụng Cấp Bậc Tiền Thưởng:"
-pageoptions_element_num_slashes_bonus = "Phần thưởng cho số lần chém:"
 pageoptions_element_wiki_bonus = "Phần thưởng cho Wiki:"
+pageoptions_element_num_slashes_bonus = "Phần thưởng cho số lần chém:"
 pageoptions_element_results_grouping_options = "Kết Quả Tìm Kiếm Nhóm"
 pageoptions_element_min_results_to_group = "Kết Quả tối thiểu để Nhóm:"
 pageoptions_element_test_page = "Kiểm Tra Trang"
@@ -1971,7 +1971,7 @@ rss_layout_title = "Công Cụ Tìm kiếm PHP - Yioop! : %s"
 rss_layout_description = "Kết quả tìm kiếm: %s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
diff --git a/src/locale/zh_CN/configure.ini b/src/locale/zh_CN/configure.ini
index 11540d466..6e293785e 100755
--- a/src/locale/zh_CN/configure.ini
+++ b/src/locale/zh_CN/configure.ini
@@ -1460,8 +1460,8 @@ pageoptions_element_proximity_bonus = "接近奖励:"
 pageoptions_element_cld_url_bonus = "公司域名Url奖金:"
 pageoptions_element_host_url_bonus = "主机Url奖金:"
 pageoptions_element_user_rank_bonus = "用户等级奖金:"
-pageoptions_element_num_slashes_bonus = "斜线奖励数量:"
 pageoptions_element_wiki_bonus = "维基奖励:"
+pageoptions_element_num_slashes_bonus = "斜线奖励数量:"
 pageoptions_element_results_grouping_options = "搜索结果的分组"
 pageoptions_element_min_results_to_group = "最低结果,小组:"
 pageoptions_element_test_page = "测试页"
@@ -1971,7 +1971,7 @@ rss_layout_title = "PHP搜索引擎-Yioop! :%s"
 rss_layout_description = "搜索结果为:%s"
 ;
 ; View.php
-view_locale_version = "12"
+view_locale_version = "13"
 view_logo_alt_text = "Yioop"
 ;
 ; /src/views/helpers
ViewGit