From 4dd42926362c4cb154bb23eb6d5c639c26edfc7a Mon Sep 17 00:00:00 2001 From: reionwong Date: Sun, 26 Sep 2021 14:50:48 +0800 Subject: [PATCH] Update translations --- src/qml/Touchpad/Main.qml | 2 +- src/touchpad.cpp | 19 +++++++ src/touchpad.h | 19 +++++++ translations/en_US.ts | 113 ++++++++++++++++++++++---------------- translations/zh_CN.ts | 111 ++++++++++++++++++++++--------------- 5 files changed, 174 insertions(+), 90 deletions(-) diff --git a/src/qml/Touchpad/Main.qml b/src/qml/Touchpad/Main.qml index 55bee1b..5196400 100644 --- a/src/qml/Touchpad/Main.qml +++ b/src/qml/Touchpad/Main.qml @@ -1,7 +1,7 @@ /* * Copyright (C) 2021 CutefishOS Team. * - * Author: revenmartin + * Author: Reion Wong * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/touchpad.cpp b/src/touchpad.cpp index 78cf6f6..f71e7e9 100644 --- a/src/touchpad.cpp +++ b/src/touchpad.cpp @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2021 CutefishOS Team. + * + * Author: Reion Wong + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "touchpad.h" Touchpad::Touchpad(QObject *parent) diff --git a/src/touchpad.h b/src/touchpad.h index 9c33e9b..261d04f 100644 --- a/src/touchpad.h +++ b/src/touchpad.h @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2021 CutefishOS Team. + * + * Author: Reion Wong + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef TOUCHPAD_H #define TOUCHPAD_H diff --git a/translations/en_US.ts b/translations/en_US.ts index 2d07ded..577fae7 100644 --- a/translations/en_US.ts +++ b/translations/en_US.ts @@ -81,32 +81,32 @@ Built on %1 - + System Version System Version - + System Type System Type - + Kernel Version Kernel Version - + Processor Processor - + RAM RAM - + Internal Storage Internal Storage @@ -311,45 +311,40 @@ - + Screen - + Screen Name - + Resolution - + Refresh rate - + Rotation - + Enabled - + Scale - - - Need to log in again to take effect - - Dock @@ -558,6 +553,26 @@ Time Zone + + + Touchpad + + + + + Enable + + + + + Tap to click + + + + + Pointer acceleration + + QObject @@ -590,98 +605,104 @@ SideBar - + User - + Display - + WLAN - - + + Network and connection - + Ethernet - - - - - + + + + + Display and appearance - + Appearance Appearance - + Mouse - + Fonts - + Background - + Dock - - - - - - - + + + + + + + + System - + + Touchpad + + + + Date & Time - + Language Language - + Battery - + Power - + About About diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index cf6fb49..68c906b 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -81,32 +81,32 @@ 构建在 %1 上 - + System Version 系统版本 - + System Type 系统类型 - + Kernel Version 内核版本 - + Processor 处理器 - + RAM 内存大小 - + Internal Storage 内部存储 @@ -311,44 +311,43 @@ 亮度 - + Screen 屏幕 - + Screen Name 屏幕名称 - + Resolution 分辨率 - + Refresh rate 刷新率 - + Rotation 方向 - + Enabled 已开启 - + Scale 缩放 - Need to log in again to take effect - 需要重新登录才能生效 + 需要重新登录才能生效 @@ -562,6 +561,26 @@ Time Zone 时区 + + + Touchpad + 触摸版 + + + + Enable + 启用 + + + + Tap to click + 轻触点击 + + + + Pointer acceleration + 指针速度 + QObject @@ -594,98 +613,104 @@ SideBar - + Display 显示 - - + + Network and connection 网络与连接 - + Ethernet 以太网络 - - - - - + + + + + Display and appearance 显示与外观 - + Appearance 外观 - + Mouse 鼠标 - + Fonts 字体 - + Dock 程序坞 - + User 用户 - + Background 背景 - + WLAN 无线网络 - - - - - - - + + + + + + + + System 系统 - + + Touchpad + 触摸版 + + + Date & Time 日期和时间 - + Language 语言 - + Battery 电池 - + Power 电源 - + About 关于