修改英文翻译为大写开头

This commit is contained in:
fangxiang 2022-07-04 14:20:00 +08:00
parent 22742894e6
commit aa6d7e6c55
31 changed files with 276 additions and 18 deletions

View File

@ -144,8 +144,12 @@ export default defineComponent({
if (Math.abs(window.orientation) == 90) {
landspace = !landspace;
}
if (window.location.href.indexOf("___debug_ipad___") != -1) {
landspace = !landspace;
{
const user_search = (<any>window).user_search || {};
if (typeof user_search == "object") {
landspace = typeof user_search["___debug_ipad___"] != "undefined";
}
}
}
if (window.innerHeight < 600) {

View File

@ -7,7 +7,7 @@ export default class FileSuffixHelper {
public static get videoSuffix() {
if (FileSuffixHelper.debug_mode) {
return null;
return "";
}
return (
GlobalData.getInstance().applicationConfig?.video_suffix_filter ||
@ -24,7 +24,7 @@ export default class FileSuffixHelper {
public static get imageSuffix() {
if (FileSuffixHelper.debug_mode) {
return null;
return "";
}
return (
GlobalData.getInstance().applicationConfig?.image_suffix_filter ||

View File

@ -72,6 +72,7 @@
<q-btn
@click="setDeviceAttribute"
:label="$t('commit')"
no-caps
outline
color="primary"
/>
@ -83,6 +84,7 @@
<q-checkbox
v-model="function_custom_ISV"
:label="$t('Custom ISV')"
class="offset-md-1 col"
color="cyan"
:loading="loading"
:disable="loading"
@ -119,6 +121,7 @@
<q-btn
@click="setSystemLanguage"
:label="$t('commit')"
no-caps
outline
color="primary"
/>
@ -129,13 +132,17 @@
<q-item class="q-mt-md">
<q-item-section>
<q-btn @click="showDeviceInfo"> {{ $t("device info") }} </q-btn>
<q-btn no-caps @click="showDeviceInfo">
{{ $t("device info") }}
</q-btn>
</q-item-section>
</q-item>
<q-item class="q-mt-xs">
<q-item-section>
<q-btn @click="restartDevice"> {{ $t("restart") }} </q-btn>
<q-btn no-caps @click="restartDevice">
{{ $t("restart") }}
</q-btn>
</q-item-section>
</q-item>
</q-list>
@ -148,6 +155,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>

View File

@ -127,7 +127,7 @@
<q-separator />
<q-card-actions align="right">
<q-btn flat :label="$t('Cancel')" color="primary" v-close-popup />
<q-btn flat :label="$t('Cancel')" no-caps color="primary" v-close-popup />
<q-btn
ref="accept"
flat

View File

@ -75,6 +75,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -82,6 +83,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -101,6 +101,7 @@
ref="cancel"
flat
:label="$t('Cancel')"
no-caps
:loading="loading"
v-close-popup
color="primary"
@ -110,6 +111,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -52,11 +52,13 @@
>
<q-tab
name="center_control"
:label="$t('control')"
no-caps
:label="$t('command')"
:disable="loading"
/>
<q-tab
name="serial_port_setting"
no-caps
:label="$t('serial port setting')"
:disable="loading"
/>
@ -80,6 +82,7 @@
<q-btn
stretch
outline
no-caps
ripple
color="primary"
class="fit"
@ -221,6 +224,7 @@
<q-space />
<div class="col-auto">
<q-btn
no-caps
flat
:label="$t('revert')"
:loading="loading"
@ -231,6 +235,7 @@
<div class="col-auto">
<q-btn
flat
no-caps
:label="$t('submit')"
:loading="loading"
color="primary"

View File

@ -28,6 +28,7 @@
<q-btn
:loading="loading"
:disable="loading"
no-caps
flat
round
icon="close"
@ -69,6 +70,7 @@
<q-btn-dropdown
stretch
flat
no-caps
:label="default_path_label"
:disable="uploading"
>
@ -92,6 +94,7 @@
<q-btn
flat
icon="arrow_back"
no-caps
:disable="path.trim() == '' || uploading"
@click="backToParentPath"
:label="$t('back')"
@ -102,6 +105,7 @@
</q-btn>
<q-btn
flat
no-caps
icon="arrow_forward"
:disable="prev_path == '' || path == prev_path || uploading"
@click="(path = prev_path) && (prev_path = '')"
@ -114,6 +118,7 @@
<q-btn
flat
icon="refresh"
no-caps
@click="refresh_file_list"
:disable="uploading"
:label="$t('refresh')"
@ -124,6 +129,7 @@
</q-btn>
<q-btn
flat
no-caps
icon="content_paste"
@click="pasteFile"
:disable="
@ -139,6 +145,7 @@
<q-btn
flat
icon="create_new_folder"
no-caps
@click="onCreateNewFolder"
:disable="loading || uploading"
:label="$t('create folder')"
@ -150,6 +157,7 @@
<q-btn
flat
v-if="!uploading"
no-caps
icon="upload"
:label="$t('upload file')"
@click="uploading = true"
@ -161,6 +169,7 @@
<q-btn
flat
icon="block"
no-caps
v-if="uploading"
:label="$t('cancel upload file')"
@click="uploading = false"
@ -678,6 +687,11 @@ export default defineComponent({
const parseFilter = (filter?: string) => {
filters.value = [];
console.log(filter);
if (filter == null || typeof filter == "undefined") {
return;
}
console.log(filter);
if (filter) {
for (const item of filter.split(";")) {

View File

@ -72,6 +72,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -79,6 +80,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"
@ -122,8 +124,12 @@ export default defineComponent({
showDialog() {
show_dialog.value = true;
rows.value = GlobalData.getInstance().applicationConfig?.wall_row ?? 1;
cols.value = GlobalData.getInstance().applicationConfig?.wall_col ?? 1;
rows.value = parseInt(
(GlobalData.getInstance().applicationConfig?.wall_row ?? 1).toString()
);
cols.value = parseInt(
(GlobalData.getInstance().applicationConfig?.wall_col ?? 1).toString()
);
},
resetData() {
loading.value = false;

View File

@ -157,6 +157,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -164,6 +165,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -131,6 +131,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -138,6 +139,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -340,6 +340,7 @@
<q-btn
:loading="loading"
flat
no-caps
:label="$t('add row')"
color="primary"
@click="addRow"
@ -349,6 +350,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -356,6 +358,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -131,6 +131,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -138,6 +139,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -75,6 +75,7 @@
<q-card-actions>
<q-btn
ref="accept"
no-caps
flat
:label="$t('add row')"
:loading="loading"
@ -83,6 +84,7 @@
/>
<q-space />
<q-btn
no-caps
:loading="loading"
flat
:label="$t('close and reset')"
@ -91,6 +93,7 @@
/>
<q-btn
ref="accept"
no-caps
flat
:label="$t('close and save')"
:disable="play_list.length == 0"

View File

@ -185,6 +185,7 @@
<q-btn
:loading="loading"
flat
no-caps
:label="$t('add row')"
color="primary"
@click="addRow(false)"
@ -194,6 +195,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -201,6 +203,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -68,6 +68,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -75,6 +76,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -345,6 +345,7 @@
:disable="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>

View File

@ -276,6 +276,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -284,6 +285,7 @@
flat
:label="$t('Accept')"
:loading="loading"
no-caps
color="primary"
type="submit"
/>

View File

@ -131,6 +131,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -138,6 +139,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -143,6 +143,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -150,6 +151,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -50,12 +50,14 @@
>
<q-tab
name="network"
no-caps
icon="img:new_icon/network_setting.png"
:label="$t('network setting')"
:disable="loading"
/>
<q-tab
name="graphics"
no-caps
icon="img:new_icon/graphics_setting.png"
:label="
function_output_board_attribute
@ -66,12 +68,14 @@
/>
<q-tab
name="timing_task"
no-caps
icon="img:new_icon/timing_task.png"
:label="$t('timing task')"
:disable="loading"
/>
<q-tab
name="other"
no-caps
icon="build"
:label="$t('other setting')"
:disable="loading"
@ -247,6 +251,7 @@
@click="onAdvanceNetwork"
outline
color="primary"
no-caps
:label="$t('advanced')"
></q-btn>
</q-item-section>
@ -1035,7 +1040,7 @@
}
.width_5_2_2 {
width: 18%;
width: 22%;
}
.width_5_3 {

View File

@ -132,11 +132,18 @@
<q-separator />
<q-card-actions align="right">
<q-btn flat :label="$t('Cancel')" color="primary" v-close-popup />
<q-btn
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
<q-btn
ref="accept"
flat
:label="$t('Accept')"
no-caps
type="submit"
color="primary"
/>

View File

@ -161,6 +161,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -168,6 +169,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -96,6 +96,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -104,6 +105,7 @@
flat
:label="$t('Accept')"
:loading="loading"
no-caps
type="submit"
color="primary"
/>

View File

@ -194,6 +194,7 @@
:loading="loading"
flat
:label="$t('Cancel')"
no-caps
color="primary"
v-close-popup
/>
@ -201,6 +202,7 @@
ref="accept"
flat
:label="$t('Accept')"
no-caps
:loading="loading"
type="submit"
color="primary"

View File

@ -25,4 +25,176 @@ export default {
"set the window rectangle beyond the desktop rectangle, the window rectangle will be clipped, are you sure to use this window rectangle":
"if the window size exceeds the desktop size, the window size will be clipped. Are you sure to use this window size",
hour_2_: "hour",
"system setting": "System",
"grid setting": "Layout",
subtitle: "OSD",
"file manage": "Explorer",
rename: "Rename",
_copy2: "Copy",
_cut2: "Cut",
delete: "Delete",
"local disk": "Local Disk",
back: "Back",
forward: "Forward",
refresh: "Refresh",
paste: "Paste",
"create folder": "Create Folder",
"upload file": "Upload File",
"file count": "File Count",
"directoriy count": "Directoriy Count",
"free space": "Free Space",
"file size": "File Size",
"last edit time": "Last Edit Time",
operator: "Operator",
"file name": "File Name",
"wall row": "Wall Row",
"wall col": "Wall Col",
cancel: "Cancel",
accept: "Accept",
Cancel: "Cancel",
Accept: "Accept",
"move speed": "Move Speed",
"y offset": "Y Offset",
"pos x": "X Position",
width: "Width",
height: "Height",
enable: "Enable",
disable: "Disable",
"enable subtitle": "Enable OSD",
edit: "Edit",
add: "Add",
command: "Command",
"serial port setting": "RS232 Setting",
"baud rate": "Baud Rate",
"character size": "Character Size",
parity: "Parity",
"stop bits": "Stop Bits",
revert: "Revert",
submit: "Submit",
"add group": "Add Group",
mode: "Mode",
"update to current window list": "Update To Current Window List",
"add mode item": "Add Mode Item",
"signal source": "Signal",
"add signal source item": "Add Signal Item",
"lossy picture quality": "Lossy Picture Quality",
"lossless picture quality": "Lossless Picture Quality",
"signal polling": "Loop Signal",
"add polling": "Add Loop Signal",
plan: "Mode Plan",
"add plan item": "Add Mode Plan Item",
"set power on start": "Set Power On Start",
"parent group": "Parent Group",
"group name": "Group Name",
"add signal source": "Add Signal",
"edit signal source": "Edit Signal",
"signal source name": "Signal Name",
"signal source type": "Signal Type",
"file path": "File Path",
"multimedia file": "Multimedia File",
"new signal source": "New Signal",
"polling setting": "Loop Signal Setting",
"polling name": "Loop Signal Name",
"polling data": "Loop Signal Data",
delay: "Delay",
"add row": "Add Row",
"new polling": "New Loop Signal",
"add mode": "Add Mode",
"edit mode": "Edit Mode",
"mode name": "Mode Name",
"mode index": "Mode Index",
"add plan": "Add Mode Plan",
"edit plan": "Edit Mode Plan",
"plan name": "Mode Plan Name",
"plan data": "Mode Plan Data",
"play list": "Play List",
"close and reset": "Close And Reset",
"close and save": "Close And Save",
"select file": "Select File",
"background image setting": "Background",
"database import": "Import",
"database export": "Export",
upgrade: "Upgrade",
"register device": "Register Device",
about: "About",
function: "Function",
"output board": "Output Board",
commit: "Commit",
"mirroring output": "Mirroring Output",
language: "Language",
chinese: "Chinese",
english: "English",
"device info": "Device Info",
restart: "Restart",
"volume down": "Volume Down",
"volume up": "Volume Up",
mute: "Mute",
unmute: "UnMute",
"play prev": "Play Prev",
"play next": "Play Next",
play: "Play",
pause: "Pause",
"replace window": "Replace Window",
"close this window": "Close This Window",
"close other windows": "Close Other Windows",
"start polling": "Start Loop Signal",
"desktop width": "Desktop Width",
"desktop height": "Desktop Height",
"client version": "Client Version",
"server version": "Server Version",
"server commit": "Server Commit",
"server branch name": "Server Branch Name",
"server build date": "Server Build Date",
"kernel version": "Kernel Version",
"rootfs version": "RootFS Version",
"upgrade type": "Upgrade Type",
rootfs: "RootFS",
software: "Software",
"select software upgrade file": "Select Software Upgrade File",
"select rootfs upgrade file": "Select Rootfs Upgrade File",
"network setting": "Network Setting",
"output setting": "Output Setting",
"timing task": "Timing Task",
other: "Other",
"auto ip": "Auto IP",
"ip address": "Ip Address",
gateway: "Gateway",
netmask: "Netmask",
"mac address": "MAC Address",
advanced: "Advanced",
"revert and exit": "Revert And Exit",
apply: "Apply",
"current real resolution": "Current Real Resolution",
"output type": "Output Type",
"target resolution": "Target Resolution",
"device rotate": "Device Rotate",
"output audio card": "Output Audio Card",
"use ntp": "Use Ntp",
"ntp server": "Ntp Server",
"ntp sync delay(S)": "Ntp Sync Delay(S)",
"time zone": "Time Zone",
exit: "Exit",
"add timing task": "Add Timing Task",
name: "Name",
"task type": "Task Type",
time: "Time",
loop: "Loop",
"timing cycle": "Timing Exexute",
monday: "Monday",
tuesday: "Turesday",
wednsday: "Wednsday",
thursday: "Thursday",
friday: "Friday",
saturday: "Saturday",
sunday: "Sunday",
tf_card: "TF CARD",
usb1: "USB1",
usb2: "usb2",
usb3: "usb3",
usb4: "usb4",
usb5: "usb5",
usb6: "usb6",
usb7: "usb7",
usb8: "usb8",
usb9: "usb9",
};

View File

@ -441,7 +441,6 @@ export default {
"file count": "文件数量",
"directoriy count": "文件夹数量",
"free space": "剩余空间",
"center contorl": "中控",
"power on": "开机",
"power off": "关机",
"center control": "中控",

View File

@ -21,6 +21,7 @@
>
<q-tab
name="signal_source"
no-caps
icon="img:pad/signal_source_tab_icon.png"
:label="$t('signal source')"
/>
@ -28,6 +29,7 @@
<q-tab
name="singal_polling"
no-caps
icon="img:pad/polling_tab_icon.png"
:label="$t('signal polling')"
/>
@ -35,6 +37,7 @@
<q-tab
name="mode"
no-caps
icon="img:pad/mode_tab_icon.png"
:label="$t('mode')"
/>
@ -42,6 +45,7 @@
<q-tab
name="plan"
no-caps
icon="img:pad/plan_tab_icon.png"
:label="$t('plan')"
/>

View File

@ -10,8 +10,8 @@
narrow-indicator
style="color: red"
>
<q-tab name="signal_source" :label="$t('signal source')" />
<q-tab name="polling" :label="$t('signal polling')" />
<q-tab no-caps name="signal_source" :label="$t('signal source')" />
<q-tab no-caps name="polling" :label="$t('signal polling')" />
</q-tabs>
<q-separator />

View File

@ -9,8 +9,8 @@
align="justify"
narrow-indicator
>
<q-tab name="mode" :label="$t('mode')" />
<q-tab name="plan" :label="$t('plan')" />
<q-tab no-caps name="mode" :label="$t('mode')" />
<q-tab no-caps name="plan" :label="$t('plan')" />
</q-tabs>
<q-separator />

View File

@ -236,7 +236,7 @@
flat
stack
icon="img:new_icon/center_control.png"
:label="$t('center contorl')"
:label="$t('center control')"
class="q-mr-sm"
@click="$refs.center_control_dialog.showDialog()"
/>