Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
5ee3396a
Commit
5ee3396a
authored
Aug 19, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中国語対応
parent
ab61a318
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
165 additions
and
11 deletions
+165
-11
abvw/bookmark.html
+1
-0
abvw/common/js/common.js
+1
-0
abvw/common/js/i18n.js
+5
-5
abvw/common/json/lang/lang-cn.json
+126
-0
abvw/common/json/lang/lang-en.json
+1
-1
abvw/common/json/lang/lang-in.json
+1
-1
abvw/common/json/lang/lang-ja.json
+1
-1
abvw/common/json/lang/lang-ko.json
+1
-1
abvw/common/json/lang/lang-th.json
+1
-1
abvw/contentsearch.html
+1
-0
abvw/history.html
+1
-0
abvw/home.html
+1
-0
abvw/js/header.js
+10
-0
abvw/js/login.js
+12
-1
abvw/settings.html
+1
-0
login.html
+1
-0
No files found.
abvw/bookmark.html
View file @
5ee3396a
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-cn"
>
中文
</option>
</select>
</select>
</li>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
...
...
abvw/common/js/common.js
View file @
5ee3396a
...
@@ -38,6 +38,7 @@ var Consts = {
...
@@ -38,6 +38,7 @@ var Consts = {
ConstLanguage_Ko
:
"ko"
,
ConstLanguage_Ko
:
"ko"
,
ConstLanguage_Th
:
"th"
,
ConstLanguage_Th
:
"th"
,
ConstLanguage_In
:
"in"
,
ConstLanguage_In
:
"in"
,
ConstLanguage_Cn
:
"cn"
,
// API result: success
// API result: success
ConstAPI_SUCCESS
:
"success"
,
ConstAPI_SUCCESS
:
"success"
,
...
...
abvw/common/js/i18n.js
View file @
5ee3396a
...
@@ -43,10 +43,10 @@ $(function() {
...
@@ -43,10 +43,10 @@ $(function() {
});
});
/* ブラウザの言語設定を取得する */
/* ブラウザの言語設定を取得する */
function
getNavigatorLanguage
()
{
function
getNavigatorLanguage
()
{
var
lang
=
(
navigator
.
browserLanguage
||
navigator
.
language
||
navigator
.
userLanguage
);
var
lang
=
(
navigator
.
browserLanguage
||
navigator
.
language
||
navigator
.
userLanguage
);
/* 対応言語 */
/* 対応言語 */
var
languages
=
[
'ja'
,
'ko'
,
'en'
,
'th'
,
'in'
];
// 対応言語を増やす場合はここを変更する
var
languages
=
[
'ja'
,
'ko'
,
'en'
,
'th'
,
'in'
,
'cn'
];
// 対応言語を増やす場合はここを変更する
if
(
lang
.
match
(
/ja|ko|en|th|in/g
))
{
if
(
lang
.
match
(
/ja|ko|en|th|in
|cn
/g
))
{
for
(
var
i
=
0
;
i
<
languages
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
languages
.
length
;
i
++
)
{
var
index
=
lang
.
indexOf
(
languages
[
i
]);
var
index
=
lang
.
indexOf
(
languages
[
i
]);
if
(
index
>=
0
)
{
if
(
index
>=
0
)
{
...
@@ -55,8 +55,8 @@ function getNavigatorLanguage() {
...
@@ -55,8 +55,8 @@ function getNavigatorLanguage() {
}
}
}
}
}
else
{
}
else
{
lang
=
'en'
;
// 対応言語が無ければ英語をデフォルトとする
lang
=
'en'
;
// 対応言語が無ければ英語をデフォルトとする
}
}
return
lang
;
return
lang
;
};
};
...
...
abvw/common/json/lang/lang-cn.json
0 → 100644
View file @
5ee3396a
{
"sysErrorCallApi01"
:
"发生系统错误。<br/>请重启浏览器后重新登录,或稍后再试试。"
,
"sysInfoScrLock01"
:
"由于长时间没有操作,屏幕已被锁定。<br/>请点击屏幕解锁。"
,
"sysInfoWithoutLogout"
:
"您正尝试不退出登录而直接关闭程序。
\n
※[注]如果不退出登录一定时间后帐号将会被锁定。"
,
"txtUsrCap"
:
"用户信息"
,
"txtLastLoginTime"
:
"最后登录时间:"
,
"txtOpt"
:
"选项"
,
"txtOpt001"
:
"初始显示"
,
"txtHondana"
:
"书架"
,
"txtList"
:
"列表"
,
"txtOpt002"
:
"重复播放视频和音乐"
,
"txtOpt003"
:
"记号"
,
"dspOptReset"
:
"恢复初始设置"
,
"txtBkResCap"
:
"备份/恢复到服务器"
,
"txtOptBkCfm"
:
"退出时检查备份"
,
"dspOptBk"
:
"备份"
,
"dspOptRes"
:
"恢复"
,
"dspSave"
:
"保存"
,
"txtBkMsg"
:
"您确定要把数据备份到服务器吗?"
,
"txtResMsg"
:
"您确定要从服务器恢复数据吗?"
,
"msgPwdEmpty"
:
"请输入密码"
,
"msgPwdOldWrong"
:
"当前密码错误"
,
"msgPwdNotMatch"
:
"更改密码不匹配。"
,
"msgLoginErrWrong"
:
"无法登录。请检查输入的信息。(错误代码:{0})"
,
"dspPubDt2"
:
"发行日期:"
,
"txtPage"
:
"页面:"
,
"dspDelete"
:
"删除"
,
"dspShioriDelConf"
:
"您确定要删除已选择的书签吗?"
,
"dspRegDt"
:
"注册日期"
,
"dspLogin"
:
"登录"
,
"dspSkip"
:
"跳过"
,
"dspPwdUpd"
:
"更改密码"
,
"txtLoginAccPath"
:
"帐户字符串(企业ID):"
,
"txtLoginId"
:
"用户ID:"
,
"txtLoginPwd"
:
"密码:"
,
"txtLoginPwdRbr"
:
"存储用户ID和企业ID"
,
"txtPwdCurr"
:
"当前密码"
,
"txtPwdNew"
:
"更改密码"
,
"txtPwdNewRe"
:
"(再)更改密码"
,
"txtPwdRemind"
:
"※如果您选择跳过,30天此信息不会出现"
,
"txtSearch"
:
"搜索"
,
"dspShiori"
:
"书签"
,
"dspSetting"
:
"设置"
,
"dspLogout"
:
"退出"
,
"txtRead"
:
"阅读"
,
"txtSort"
:
"排序"
,
"dspTitleNm"
:
"标题"
,
"dspTitleNmKn"
:
"标题(假名)"
,
"txtPubDt"
:
"发布日期"
,
"txtRecordNum"
:
"条"
,
"txtRecordTotal"
:
"条 显示"
,
"dspViewMore"
:
"下一页>>"
,
"txtGen"
:
"类型"
,
"txtGr"
:
"组"
,
"txtViewDt"
:
"查看日期"
,
"txtDetailPage"
:
"详细页面"
,
"txtCtnNm"
:
"内容名称"
,
"txtTag"
:
"标签"
,
"txtContTxt"
:
"正文"
,
"txtLogoutBkMsg"
:
"您确定要备份后退出?"
,
"txtLogoutOptBkCfm"
:
"存储此次的行为。"
,
"dspBkOK"
:
"备份后退出"
,
"dspBkCancel"
:
"不备份退出"
,
"txtSearchResult"
:
"搜索结果"
,
"dspHome"
:
"首页"
,
"txtLoginUser"
:
"(Ver.20140822):"
,
"txtAll"
:
"所有"
,
"txtMkgSize"
:
"厚度"
,
"txtMkgS"
:
"小"
,
"txtMkgM"
:
"中"
,
"txtMkgB"
:
"大"
,
"txtMkgSB"
:
"特大"
,
"dspOK"
:
"OK"
,
"dspCancel"
:
"取消"
,
"txtMkToolBar"
:
"记号"
,
"dspPgClear"
:
"清除此页面"
,
"txtColor"
:
"颜色"
,
"txtIndex"
:
"索引"
,
"txtShioriCtnLs"
:
"书签列表"
,
"txtTextCopy"
:
"复制文本"
,
"txtNoTextCopy"
:
"没有文字。"
,
"txtNoSearchResult"
:
"没有搜索结果。"
,
"msgShioriNotExists"
:
"没有书签"
,
"msgPwdChangeOK"
:
"密码已更改。"
,
"msgPwdChangeNG"
:
"更改密码失败。请重新输入。※注:新的密码必须包含数字和英文字母。"
,
"msgSearchNotExist"
:
"没有和条件匹配的内容。"
,
"txtTooltipBack"
:
"返回"
,
"txtTooltipBookmark"
:
"添加/删除书签"
,
"txtTooltipShowMemo"
:
"显示/隐藏备忘录"
,
"txtTooltipAddMemo"
:
"添加备忘录"
,
"txtTooltipShowMarking"
:
"显示或隐藏标记"
,
"txtTooltipShowMarkingTool"
:
"显示或隐藏标记工具栏"
,
"msgShioriDeleted"
:
"该网页已被删除。"
,
"dspViewHistory"
:
"历史记录"
,
"msgLoginEmpty"
:
"请输入您的登录信息"
,
"msgSaveOk"
:
"已保存"
,
"msgPlaceHolder"
:
"请输入关键字"
,
"txtOpt004"
:
"※打开内容时显示"
,
"txtRestoreTitle"
:
"恢复确认"
,
"txtBackupTitle"
:
"备份确认"
,
"txtResMsgNotice"
:
"※如果运新恢复,将以本地终端的数据覆盖服务器端的备份数据。恢复后,无法回到恢复前的状态,请注意。"
,
"dspChange"
:
"更改"
,
"msgNoIndex"
:
"没有索引"
,
"msgBackupSuccess"
:
"已成功完成备份"
,
"msgBackupFailed"
:
"备份失败"
,
"msgRestoreSuccess"
:
"恢复成功完成"
,
"msgRestoreFailed"
:
"恢复失败"
,
"txtDeleteConfirmTitle"
:
"书签删除确认"
,
"msgHistoryNotExist"
:
"没有浏览历史记录。"
,
"msgChangePassword"
:
"更改密码"
,
"txtMemoEdit"
:
"编辑"
,
"txtMemoCopy"
:
"复制"
,
"msgPageImgErr"
:
"无法显示所选择的内容。该内容可能已被删除。"
,
"sysAppTitle"
:
"VISUAMALL Smart Catalog Web App"
,
"sysLockScrPwdInput"
:
"请输入密码"
,
"txtOpt005"
:
"关闭多标签浏览器或按F5时显示警告"
,
"txtMemoMenu"
:
"编辑备忘录"
,
"txtMemoNew"
:
"新建"
,
"txtMemoPaste"
:
"粘贴"
,
"txtMemoClear"
:
"清除"
,
"txtMemo"
:
"备忘录"
,
"msgBGMPlayConfirm"
:
"内容的背景音乐会自动播放。"
,
"msgPWDNeedChange"
:
"需要更改密码。请返回修改设置页面进行更改。"
,
"msgBGMPagePlayConfirm"
:
"页面的背景音乐会自动播放。"
}
abvw/common/json/lang/lang-en.json
View file @
5ee3396a
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"Logout"
,
"dspBkCancel"
:
"Logout"
,
"txtSearchResult"
:
"Result"
,
"txtSearchResult"
:
"Result"
,
"dspHome"
:
"Home"
,
"dspHome"
:
"Home"
,
"txtLoginUser"
:
"(Ver.20140
625_01
):"
,
"txtLoginUser"
:
"(Ver.20140
822
):"
,
"txtAll"
:
"All"
,
"txtAll"
:
"All"
,
"txtMkgSize"
:
"Size"
,
"txtMkgSize"
:
"Size"
,
"txtMkgS"
:
"S"
,
"txtMkgS"
:
"S"
,
...
...
abvw/common/json/lang/lang-in.json
View file @
5ee3396a
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"Logout tanpa back-up"
,
"dspBkCancel"
:
"Logout tanpa back-up"
,
"txtSearchResult"
:
"Hasil pencarian"
,
"txtSearchResult"
:
"Hasil pencarian"
,
"dspHome"
:
"Beranda"
,
"dspHome"
:
"Beranda"
,
"txtLoginUser"
:
"(Ver.20140
625_01
):"
,
"txtLoginUser"
:
"(Ver.20140
822
):"
,
"txtAll"
:
"Semua"
,
"txtAll"
:
"Semua"
,
"txtMkgSize"
:
"Ukuran"
,
"txtMkgSize"
:
"Ukuran"
,
"txtMkgS"
:
"Kecil"
,
"txtMkgS"
:
"Kecil"
,
...
...
abvw/common/json/lang/lang-ja.json
View file @
5ee3396a
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"バックアップせずにログアウト"
,
"dspBkCancel"
:
"バックアップせずにログアウト"
,
"txtSearchResult"
:
"検索結果"
,
"txtSearchResult"
:
"検索結果"
,
"dspHome"
:
"ホーム"
,
"dspHome"
:
"ホーム"
,
"txtLoginUser"
:
"(Ver.20140
625_01
):"
,
"txtLoginUser"
:
"(Ver.20140
822
):"
,
"txtAll"
:
"すべて"
,
"txtAll"
:
"すべて"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgS"
:
"小"
,
"txtMkgS"
:
"小"
,
...
...
abvw/common/json/lang/lang-ko.json
View file @
5ee3396a
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"로그아웃"
,
"dspBkCancel"
:
"로그아웃"
,
"txtSearchResult"
:
"검색 결과"
,
"txtSearchResult"
:
"검색 결과"
,
"dspHome"
:
"홈"
,
"dspHome"
:
"홈"
,
"txtLoginUser"
:
"(Ver.20140
625_01
):"
,
"txtLoginUser"
:
"(Ver.20140
822
):"
,
"txtAll"
:
"전체"
,
"txtAll"
:
"전체"
,
"txtMkgSize"
:
"두께"
,
"txtMkgSize"
:
"두께"
,
"txtMkgS"
:
"소"
,
"txtMkgS"
:
"소"
,
...
...
abvw/common/json/lang/lang-th.json
View file @
5ee3396a
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"ล็อกเอ้าท์โดยไม่สำรองข้อมูล"
,
"dspBkCancel"
:
"ล็อกเอ้าท์โดยไม่สำรองข้อมูล"
,
"txtSearchResult"
:
"ผลการค้นหา"
,
"txtSearchResult"
:
"ผลการค้นหา"
,
"dspHome"
:
"หน้าหลัก"
,
"dspHome"
:
"หน้าหลัก"
,
"txtLoginUser"
:
"(Ver.20140
625_01
):"
,
"txtLoginUser"
:
"(Ver.20140
822
):"
,
"txtAll"
:
"ทั้งหมด"
,
"txtAll"
:
"ทั้งหมด"
,
"txtMkgSize"
:
"ขนาด"
,
"txtMkgSize"
:
"ขนาด"
,
"txtMkgS"
:
"เล็ก"
,
"txtMkgS"
:
"เล็ก"
,
...
...
abvw/contentsearch.html
View file @
5ee3396a
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-cn"
>
中文
</option>
</select>
</select>
</li>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
...
...
abvw/history.html
View file @
5ee3396a
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-cn"
>
中文
</option>
</select>
</select>
</li>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
...
...
abvw/home.html
View file @
5ee3396a
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-cn"
>
中文
</option>
</select>
</select>
</li>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
...
...
abvw/js/header.js
View file @
5ee3396a
...
@@ -43,6 +43,9 @@ $(document).ready(function () {
...
@@ -43,6 +43,9 @@ $(document).ready(function () {
case
"language-in"
:
case
"language-in"
:
changeLanguageIn
();
changeLanguageIn
();
break
;
break
;
case
"language-cn"
:
changeLanguageCn
();
break
;
default
:
default
:
changeLanguageJa
();
changeLanguageJa
();
...
@@ -291,6 +294,13 @@ function changeLanguageIn(){
...
@@ -291,6 +294,13 @@ function changeLanguageIn(){
$
(
"#searchbox-key"
).
attr
(
'placeholder'
,
i18nText
(
'msgPlaceHolder'
));
$
(
"#searchbox-key"
).
attr
(
'placeholder'
,
i18nText
(
'msgPlaceHolder'
));
};
};
function
changeLanguageCn
(){
changeLanguage
(
Consts
.
ConstLanguage_Cn
);
if
(
window
.
changeLanguageCallBackFunction
){
changeLanguageCallBackFunction
();
}
$
(
"#searchbox-key"
).
attr
(
'placeholder'
,
i18nText
(
'msgPlaceHolder'
));
};
//Shiori function
//Shiori function
function
bookmarkFunction
(){
function
bookmarkFunction
(){
...
...
abvw/js/login.js
View file @
5ee3396a
...
@@ -430,6 +430,14 @@ function changeLanguageIn(){
...
@@ -430,6 +430,14 @@ function changeLanguageIn(){
}
}
};
};
function
changeLanguageCn
(){
changeLanguage
(
Consts
.
ConstLanguage_Cn
);
document
.
title
=
i18nText
(
'dspLogin'
)
+
' | '
+
i18nText
(
'sysAppTitle'
);
if
(
login_errorMessage
!=
""
){
$
(
'#main-error-message'
).
html
(
format
(
i18nText
(
'msgLoginErrWrong'
),
login_errorMessage
).
toString
());
}
};
//Login click function
//Login click function
function
loginFunction
(){
function
loginFunction
(){
if
(
checkValidation
())
{
if
(
checkValidation
())
{
...
@@ -549,7 +557,7 @@ $(document).ready(function (e) {
...
@@ -549,7 +557,7 @@ $(document).ready(function (e) {
initialScreen
();
initialScreen
();
//Change language
//Change language
$
(
'#changeLanguage'
).
change
(
function
()
{
$
(
'#changeLanguage'
).
change
(
function
()
{
switch
(
$
(
this
).
val
())
{
switch
(
$
(
this
).
val
())
{
case
"language-ja"
:
case
"language-ja"
:
changeLanguageJa
();
changeLanguageJa
();
...
@@ -568,6 +576,9 @@ $(document).ready(function (e) {
...
@@ -568,6 +576,9 @@ $(document).ready(function (e) {
case
"language-in"
:
case
"language-in"
:
changeLanguageIn
();
changeLanguageIn
();
break
;
break
;
case
"language-cn"
:
changeLanguageCn
();
break
;
default
:
default
:
changeLanguageJa
();
changeLanguageJa
();
...
...
abvw/settings.html
View file @
5ee3396a
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-cn"
>
中文
</option>
</select>
</select>
</li>
</li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
<li
style=
"padding-left:0;"
><input
id=
"searchbox-key"
type=
"text"
placeholder=
"キーワードを入力してください"
></li>
...
...
login.html
View file @
5ee3396a
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-ko"
>
한글
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-th"
>
ภาษาไทย
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-in"
>
Indonesia
</option>
<option
value=
"language-cn"
>
中文
</option>
</select>
</select>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment