From 7b31273523e1955cb16d4a574449cda6758af139 Mon Sep 17 00:00:00 2001 From: BoHung Chiu Date: Thu, 3 Aug 2023 22:46:45 +0800 Subject: [PATCH] Update translations. --- modules/asia_database/index_search1.html.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/asia_database/index_search1.html.erb b/modules/asia_database/index_search1.html.erb index 1c06027..b5d917f 100644 --- a/modules/asia_database/index_search1.html.erb +++ b/modules/asia_database/index_search1.html.erb @@ -42,7 +42,7 @@ 0% ({{preparing_trans}}) @@ -144,7 +144,10 @@ info: false, autoWidth: false, responsive: true, - columnDefs: columnDefs + columnDefs: columnDefs, + language: { + "emptyTable": (I18n.locale.slice(0,2) == 'zh' ? "沒有任何搜尋結果" : "No data available in table") + } }); $("#export-excel-modal").on('hidden.bs.modal', function (e) { closed_export_modal = true;