Added Vietnamese Translation, a=chris
Added Vietnamese Translation, a=chris
diff --git a/configs/createdb.php b/configs/createdb.php
index 77a0c4ce1..11e3d5312 100755
--- a/configs/createdb.php
+++ b/configs/createdb.php
@@ -303,6 +303,8 @@ $db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1002, 1, 'Images' )");
$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1002, 5, 'Images' )");
+$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
+ (1002, 15, 'Hình' )");
$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1002, 16, '图象
' )");
@@ -314,6 +316,8 @@ $db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1003, 1, 'Videos' )");
$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1003, 5, 'Vidéos' )");
+$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
+ (1003, 15, 'Thâu hình' )");
$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1003, 16, '录影
' )");
@@ -325,6 +329,8 @@ $db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1004, 1, 'News' )");
$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1004, 5, 'Actualités' )");
+$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
+ (1004, 15, 'Tin tức' )");
$db->execute("INSERT INTO TRANSLATION_LOCALE VALUES
(1004, 16, '新闻
diff --git a/data/default.db b/data/default.db
index 20a1256fb..1be77326c 100644
Binary files a/data/default.db and b/data/default.db differ
diff --git a/lib/utility.php b/lib/utility.php
index 579c44bcb..c314499b0 100755
--- a/lib/utility.php
+++ b/lib/utility.php
@@ -408,6 +408,8 @@ function crawlLog($msg, $lname = NULL)
unlink($logfile);
}
error_log($out_msg."\n", 3, $logfile);
+ } else if (php_sapi_name() != 'cli') {
+ error_log($out_msg);
} else {
echo $out_msg;
}
diff --git a/locale/vi-VN/configure.ini b/locale/vi-VN/configure.ini
index 30da8c262..7e33871f2 100755
--- a/locale/vi-VN/configure.ini
+++ b/locale/vi-VN/configure.ini
@@ -167,7 +167,7 @@ admin_controller_page_importance = "Trang quan trọng"
admin_controller_urls_injected = ""
;
; admin_controller.php line: 1105
-admin_controller_update_seed_info = "Cập nhật thông tin trang web hạt giống"
+admin_controller_update_seed_info = "Cập nhật thông tin trang mạng lươi hạt giống"
;
; admin_controller.php line: 1185
admin_controller_select_crawl = "Chọn thu thập thông tin"
@@ -1221,7 +1221,7 @@ signin_element_admin = ""
signin_element_signout = "Thoát"
;
; subsearch_element.php line: 57
-subsearch_element_web = ""
+subsearch_element_web = "Mạng Lươi"
;
; subsearch_element.php line: 81
subsearch_element_more = ""