mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-10 18:34:18 +08:00
🌈 Sync 2026-08-29 02:42:48
This commit is contained in:
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -1,9 +1,28 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=LuCI for Argon theme configuration
|
||||
PKG_NAME:=luci-app-argon-config
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=jerrykuku <jerrykuku@qq.com>
|
||||
|
||||
LUCI_TITLE:=LuCI app for Argon theme configuration
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+luci-theme-argon
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/argon
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
@mkdir -p $(PKG_BUILD_DIR)/po/ru
|
||||
@if [ -f "Package/$(PKG_NAME)/po/ru/argon-config.po" ]; then \
|
||||
$(STAGING_DIR_HOSTPKG)/bin/po2lmo \
|
||||
"Package/$(PKG_NAME)/po/ru/argon-config.po" \
|
||||
"$(PKG_BUILD_DIR)/po/ru/argon-config.lmo"; \
|
||||
fi
|
||||
endef
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
<!-- markdownlint-configure-file {
|
||||
"MD013": {
|
||||
"code_blocks": false,
|
||||
"tables": false,
|
||||
"line_length":200
|
||||
},
|
||||
"MD033": false,
|
||||
"MD041": false
|
||||
} -->
|
||||
|
||||
[license]: /LICENSE
|
||||
[license-badge]: https://img.shields.io/github/license/jerrykuku/luci-app-argon-config?style=flat-square&a=1
|
||||
[prs]: https://github.com/jerrykuku/luci-app-argon-config/pulls
|
||||
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
|
||||
[issues]: https://github.com/jerrykuku/luci-app-argon-config/issues/new
|
||||
[issues-badge]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg?style=flat-square
|
||||
[release]: https://github.com/jerrykuku/luci-app-argon-config/releases
|
||||
[release-badge]: https://img.shields.io/github/v/release/jerrykuku/luci-app-argon-config?include_prereleases&style=flat-square
|
||||
[download]: https://github.com/jerrykuku/luci-app-argon-config/releases
|
||||
[download-badge]: https://img.shields.io/github/downloads/jerrykuku/luci-app-argon-config/total?style=flat-square
|
||||
[contact]: https://t.me/jerryk6
|
||||
[contact-badge]: https://img.shields.io/badge/Contact-telegram-blue?style=flat-square
|
||||
[en-us-link]: /README.md
|
||||
[zh-cn-link]: /README_ZH.md
|
||||
[en-us-release-log]: /RELEASE.md
|
||||
[zh-cn-release-log]: /RELEASE_ZH.md
|
||||
[config-link]: https://github.com/jerrykuku/luci-app-argon-config/releases
|
||||
[lede]: https://github.com/coolsnowwolf/lede
|
||||
[official]: https://github.com/openwrt/openwrt
|
||||
[immortalwrt]: https://github.com/immortalwrt/immortalwrt
|
||||
|
||||
<div align="center">
|
||||
<img src="https://raw.githubusercontent.com/jerrykuku/staff/master/argon_title4.svg">
|
||||
|
||||
# Argon Theme Config Plugin
|
||||
|
||||
You can set the blur and transparency of the login page of argon theme,
|
||||
|
||||
and manage the background pictures and videos.
|
||||
|
||||
[![license][license-badge]][license]
|
||||
[![prs][prs-badge]][prs]
|
||||
[![issues][issues-badge]][issues]
|
||||
[![release][release-badge]][release]
|
||||
[![download][download-badge]][download]
|
||||
[![contact][contact-badge]][contact]
|
||||
|
||||
**English** |
|
||||
[简体中文][zh-cn-link]
|
||||
|
||||
<img src="https://raw.githubusercontent.com/jerrykuku/staff/master/argon2.gif">
|
||||
</div>
|
||||
|
||||
## Branch Introduction
|
||||
|
||||
There are currently two main branches that are adapted to different versions of the **OpenWrt** source code.
|
||||
The table below will provide a detailed introduction:
|
||||
|
||||
| Branch | Version | Description | Matching source |
|
||||
| ------ | ------- | ---------------------------------- | --------------------------------------------------------- |
|
||||
| master | v1.x.x | Support the latest version of LuCI | [Official OpenWrt][official] • [ImmortalWrt][immortalwrt] |
|
||||
| 18.06 | v0.9.x | Support the 18.06 version of LuCI | [Lean's LEDE][lede] |
|
||||
|
||||
## Getting started
|
||||
|
||||
### Build for Lean's LEDE project
|
||||
|
||||
```bash
|
||||
cd lede/package/lean
|
||||
rm -rf luci-app-argon-config # if have
|
||||
git clone -b 18.06 https://github.com/jerrykuku/luci-app-argon-config.git luci-app-argon-config
|
||||
make menuconfig #choose LUCI->Application->Luci-app-argon-config
|
||||
make -j1 V=s
|
||||
```
|
||||
|
||||
### Build for OpenWrt official SnapShots and ImmortalWrt
|
||||
|
||||
```bash
|
||||
cd openwrt/package
|
||||
git clone https://github.com/jerrykuku/luci-app-argon-config.git
|
||||
make menuconfig #choose LUCI->Application->Luci-app-argon-config
|
||||
make -j1 V=s
|
||||
```
|
||||
|
||||
## Contributors
|
||||
|
||||
<a href="https://github.com/jerrykuku/luci-app-argon-config/graphs/contributors">
|
||||
<img src="https://contrib.rocks/image?repo=jerrykuku/luci-app-argon-config" />
|
||||
</a>
|
||||
|
||||
Made with [contrib.rocks](https://contrib.rocks).
|
||||
|
||||
## Related Projects
|
||||
|
||||
- [luci-theme-argon](https://github.com/jerrykuku/luci-theme-argon): Argon theme
|
||||
- [openwrt-package](https://github.com/jerrykuku/openwrt-package): My OpenWrt package
|
||||
- [CasaOS](https://github.com/IceWhaleTech/CasaOS): A simple, easy-to-use, elegant open-source Personal Cloud system (My current main project)
|
||||
@@ -0,0 +1,96 @@
|
||||
<!-- markdownlint-configure-file {
|
||||
"MD013": {
|
||||
"code_blocks": false,
|
||||
"tables": false,
|
||||
"line_length":200
|
||||
},
|
||||
"MD033": false,
|
||||
"MD041": false
|
||||
} -->
|
||||
|
||||
[license]: /LICENSE
|
||||
[license-badge]: https://img.shields.io/github/license/jerrykuku/luci-app-argon-config?style=flat-square&a=1
|
||||
[prs]: https://github.com/jerrykuku/luci-app-argon-config/pulls
|
||||
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
|
||||
[issues]: https://github.com/jerrykuku/luci-app-argon-config/issues/new
|
||||
[issues-badge]: https://img.shields.io/badge/Issues-welcome-brightgreen.svg?style=flat-square
|
||||
[release]: https://github.com/jerrykuku/luci-app-argon-config/releases
|
||||
[release-badge]: https://img.shields.io/github/v/release/jerrykuku/luci-app-argon-config?include_prereleases&style=flat-square
|
||||
[download]: https://github.com/jerrykuku/luci-app-argon-config/releases
|
||||
[download-badge]: https://img.shields.io/github/downloads/jerrykuku/luci-app-argon-config/total?style=flat-square
|
||||
[contact]: https://t.me/jerryk6
|
||||
[contact-badge]: https://img.shields.io/badge/Contact-telegram-blue?style=flat-square
|
||||
[en-us-link]: /README.md
|
||||
[zh-cn-link]: /README_ZH.md
|
||||
[en-us-release-log]: /RELEASE.md
|
||||
[zh-cn-release-log]: /RELEASE_ZH.md
|
||||
[config-link]: https://github.com/jerrykuku/luci-app-argon-config/releases
|
||||
[lede]: https://github.com/coolsnowwolf/lede
|
||||
[official]: https://github.com/openwrt/openwrt
|
||||
[immortalwrt]: https://github.com/immortalwrt/immortalwrt
|
||||
|
||||
<div align="center">
|
||||
<img src="https://raw.githubusercontent.com/jerrykuku/staff/master/argon_title4.svg">
|
||||
|
||||
# Argon 主题设置插件
|
||||
|
||||
您可以设置 Argon 主题登录页面的模糊度和透明度,并管理背景图片和视频。
|
||||
|
||||
[![license][license-badge]][license]
|
||||
[![prs][prs-badge]][prs]
|
||||
[![issues][issues-badge]][issues]
|
||||
[![release][release-badge]][release]
|
||||
[![download][download-badge]][download]
|
||||
[![contact][contact-badge]][contact]
|
||||
|
||||
[Engilish][en-us-link] |
|
||||
**简体中文**
|
||||
|
||||
<img src="https://raw.githubusercontent.com/jerrykuku/staff/master/argon2.gif">
|
||||
</div>
|
||||
|
||||
## Branch Introduction
|
||||
|
||||
目前有两个主要的分支,适应于不同版本的**OpenWrt**源代码。
|
||||
下表为详细的介绍:
|
||||
|
||||
|
||||
| 分支 | 版本 | 介绍 | 匹配源码 |
|
||||
| ------ | ------ | --------------------------- | ----------------------------------------------------- |
|
||||
| master | v1.x.x | 支持最新和比较新版本的 LuCI | [官方 OpenWrt][official] • [ImmortalWrt][immortalwrt] |
|
||||
| 18.06 | v0.9.x | 支持 18.06 版本的 LuCI | [Lean's LEDE][lede] |
|
||||
|
||||
## G快速开始
|
||||
|
||||
### 使用 Lean's LEDE 构建
|
||||
|
||||
```bash
|
||||
cd lede/package/lean
|
||||
rm -rf luci-app-argon-config # if have
|
||||
git clone -b 18.06 https://github.com/jerrykuku/luci-app-argon-config.git luci-app-argon-config
|
||||
make menuconfig #choose LUCI->Application->Luci-app-argon-config
|
||||
make -j1 V=s
|
||||
```
|
||||
|
||||
### 使用官方 OpenWrt SnapShots 和 ImmortalWrt 构建
|
||||
|
||||
```bash
|
||||
cd openwrt/package
|
||||
git clone https://github.com/jerrykuku/luci-app-argon-config.git
|
||||
make menuconfig #choose LUCI->Application->Luci-app-argon-config
|
||||
make -j1 V=s
|
||||
```
|
||||
|
||||
## 贡献者
|
||||
|
||||
<a href="https://github.com/jerrykuku/luci-app-argon-config/graphs/contributors">
|
||||
<img src="https://contrib.rocks/image?repo=jerrykuku/luci-app-argon-config" />
|
||||
</a>
|
||||
|
||||
Made with [contrib.rocks](https://contrib.rocks).
|
||||
|
||||
## 相关项目
|
||||
|
||||
- [luci-theme-argon](https://github.com/jerrykuku/luci-theme-argon): Argon theme
|
||||
- [openwrt-package](https://github.com/jerrykuku/openwrt-package): My OpenWrt package
|
||||
- [CasaOS](https://github.com/IceWhaleTech/CasaOS): A simple, easy-to-use, elegant open-source Personal Cloud system (My current main project)
|
||||
@@ -6,41 +6,41 @@
|
||||
'require ui';
|
||||
'require view';
|
||||
|
||||
const callSystemInfo = rpc.declare({
|
||||
object: 'system',
|
||||
method: 'info'
|
||||
var callAvailSpace = rpc.declare({
|
||||
object: 'luci.argon',
|
||||
method: 'avail'
|
||||
});
|
||||
|
||||
const callRemoveArgon = rpc.declare({
|
||||
var callRemoveArgon = rpc.declare({
|
||||
object: 'luci.argon',
|
||||
method: 'remove',
|
||||
params: ['filename'],
|
||||
expect: { '': {} }
|
||||
});
|
||||
|
||||
const callRenameArgon = rpc.declare({
|
||||
var callRenameArgon = rpc.declare({
|
||||
object: 'luci.argon',
|
||||
method: 'rename',
|
||||
params: ['newname'],
|
||||
expect: { '': {} }
|
||||
});
|
||||
|
||||
const bg_path = '/www/luci-static/argon/background/';
|
||||
var bg_path = '/www/luci-static/argon/background/';
|
||||
|
||||
const trans_set = [0, 0.1, 0.2, 0.3, 0.4,
|
||||
var trans_set = [0, 0.1, 0.2, 0.3, 0.4,
|
||||
0.5, 0.6, 0.7, 0.8, 0.9, 1 ];
|
||||
|
||||
return view.extend({
|
||||
load() {
|
||||
load: function() {
|
||||
return Promise.all([
|
||||
uci.load('argon'),
|
||||
L.resolveDefault(callSystemInfo(), {}),
|
||||
L.resolveDefault(callAvailSpace(), {}),
|
||||
L.resolveDefault(fs.list(bg_path), {})
|
||||
]);
|
||||
},
|
||||
|
||||
render(data) {
|
||||
let m, s, o;
|
||||
render: function(data) {
|
||||
var m, s, o;
|
||||
|
||||
m = new form.Map('argon', _('Argon theme configuration'),
|
||||
_('Here you can set the blur and transparency of the login page of argon theme, and manage the background pictures and videos. Chrome is recommended.'));
|
||||
@@ -52,44 +52,10 @@ return view.extend({
|
||||
o = s.option(form.ListValue, 'online_wallpaper', _('Wallpaper source'));
|
||||
o.value('none', _('Built-in'));
|
||||
o.value('bing', _('Bing'));
|
||||
o.value('ghser', _('GHSer'));
|
||||
o.value('unsplash', _('Unsplash'));
|
||||
o.value('wallhaven', _('Wallhaven'));
|
||||
o.default = 'bing';
|
||||
o.forcewrite = true;
|
||||
o.rmempty = false;
|
||||
o.cfgvalue = function(section_id) {
|
||||
let value = uci.get(data[0], section_id, 'online_wallpaper') || 'bing';
|
||||
return value.split('_')[0];
|
||||
}
|
||||
o.write = function(section_id, value) {
|
||||
let collection_id = this.section.formvalue(section_id, 'collection_id');
|
||||
if (collection_id && (value === 'unsplash' || value === 'wallhaven')) {
|
||||
value = value + '_' + collection_id;
|
||||
}
|
||||
uci.set(data[0], section_id, 'online_wallpaper', value);
|
||||
}
|
||||
|
||||
o = s.option(form.Value, 'collection_id', _('Collection ID'), _('Collection ID for Unsplash or Wallhaven.'));
|
||||
o.datatype = 'uinteger';
|
||||
o.depends('online_wallpaper', 'unsplash');
|
||||
o.depends('online_wallpaper', 'wallhaven');
|
||||
o.cfgvalue = function(section_id) {
|
||||
let value = uci.get(data[0], section_id, 'online_wallpaper');
|
||||
if (!value || !value.includes('_'))
|
||||
return '';
|
||||
|
||||
return value.split('_')[1];
|
||||
}
|
||||
o.write = function() { };
|
||||
|
||||
o = s.option(form.Value, 'use_api_key', _('API key'), _('Specify API key for Unsplash or Wallhaven.'));
|
||||
o.depends('online_wallpaper', 'unsplash');
|
||||
o.depends('online_wallpaper', 'wallhaven');
|
||||
|
||||
o = s.option(form.Flag, 'use_exact_resolution', _('Use exact resolution'), _('Use exact resolution or at least 1080P for Wallhaven.'));
|
||||
o.default = o.enabled;
|
||||
o.depends('online_wallpaper', 'wallhaven');
|
||||
|
||||
o = s.option(form.ListValue, 'mode', _('Theme mode'));
|
||||
o.value('normal', _('Follow system'));
|
||||
@@ -110,7 +76,7 @@ return view.extend({
|
||||
|
||||
o = s.option(form.ListValue, 'transparency', _('[Light mode] Transparency'),
|
||||
_('0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: 0.5).'));
|
||||
for (let i of trans_set)
|
||||
for (var i of trans_set)
|
||||
o.value(i);
|
||||
o.default = '0.5';
|
||||
o.rmempty = false;
|
||||
@@ -134,7 +100,7 @@ return view.extend({
|
||||
|
||||
o = s.option(form.ListValue, 'transparency_dark', _('[Dark mode] Transparency'),
|
||||
_('0 transparent - 1 opaque (suggest: black translucent preset: 0.5).'));
|
||||
for (let i of trans_set)
|
||||
for (var i of trans_set)
|
||||
o.value(i);
|
||||
o.default = '0.5';
|
||||
o.rmempty = false;
|
||||
@@ -149,13 +115,12 @@ return view.extend({
|
||||
o.inputstyle = 'apply';
|
||||
o.inputtitle = _('Save current settings');
|
||||
o.onclick = function() {
|
||||
return this.map.save(null, true).then(() => {
|
||||
ui.changes.apply(true);
|
||||
});
|
||||
return this.map.save(null, true);
|
||||
}
|
||||
|
||||
s = m.section(form.TypedSection, null, _('Upload background (available space: %1024.2mB)')
|
||||
.format(data[1].root.avail * 1024),
|
||||
.format(data[1].avail * 1024),
|
||||
_('You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the login page background.'));
|
||||
s.addremove = false;
|
||||
s.anonymous = true;
|
||||
@@ -165,9 +130,9 @@ return view.extend({
|
||||
o.inputstyle = 'action';
|
||||
o.inputtitle = _('Upload...');
|
||||
o.onclick = function(ev, section_id) {
|
||||
let file = '/tmp/argon_background.tmp';
|
||||
return ui.uploadFile(file, ev.target).then((res) => {
|
||||
return L.resolveDefault(callRenameArgon(res.name), {}).then((ret) => {
|
||||
var file = '/tmp/argon_background.tmp';
|
||||
return ui.uploadFile(file, ev.target).then(function(res) {
|
||||
return L.resolveDefault(callRenameArgon(res.name), {}).then(function(ret) {
|
||||
if (ret.result === 0)
|
||||
return location.reload();
|
||||
else {
|
||||
@@ -176,13 +141,13 @@ return view.extend({
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((e) => { ui.addNotification(null, E('p', e.message)); });
|
||||
.catch(function(e) { ui.addNotification(null, E('p', e.message)); });
|
||||
};
|
||||
o.modalonly = true;
|
||||
|
||||
s = m.section(form.TableSection);
|
||||
s.render = function() {
|
||||
let tbl = E('table', { 'class': 'table cbi-section-table' },
|
||||
var tbl = E('table', { 'class': 'table cbi-section-table' },
|
||||
E('tr', { 'class': 'tr table-titles' }, [
|
||||
E('th', { 'class': 'th' }, [ _('Filename') ]),
|
||||
E('th', { 'class': 'th' }, [ _('Modified date') ]),
|
||||
@@ -191,16 +156,16 @@ return view.extend({
|
||||
])
|
||||
);
|
||||
|
||||
cbi_update_table(tbl, data[2].map(L.bind((file) => {
|
||||
cbi_update_table(tbl, data[2].map(L.bind(function(file) {
|
||||
return [
|
||||
file.name,
|
||||
new Date(file.mtime * 1000).toLocaleString(),
|
||||
String.format('%1024.2mB', file.size),
|
||||
E('button', {
|
||||
'class': 'btn cbi-button cbi-button-remove',
|
||||
'click': ui.createHandlerFn(this, () => {
|
||||
'click': ui.createHandlerFn(this, function() {
|
||||
return L.resolveDefault(callRemoveArgon(file.name), {})
|
||||
.then(() => { return location.reload(); });
|
||||
.then(function() { return location.reload(); });
|
||||
})
|
||||
}, [ _('Delete') ])
|
||||
];
|
||||
|
||||
@@ -0,0 +1,285 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2021-03-15 21:25-0300\n"
|
||||
"PO-Revision-Date: 2022-04-23 15:21-0300\n"
|
||||
"Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:102
|
||||
msgid "0 transparent - 1 opaque (suggest: black translucent preset: 0.5)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:78
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: "
|
||||
"0.5)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:91
|
||||
msgid "A HEX Color (default: #483d8b)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "A HEX color (default: #5e72e4)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:155
|
||||
msgid "Action"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/luci/menu.d/luci-app-argon-config.json:3
|
||||
msgid "Argon Config"
|
||||
msgstr "Configuración de Argon"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:45
|
||||
msgid "Argon theme configuration"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:175
|
||||
msgid "Background file list"
|
||||
msgstr "Lista de archivos de fondo"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:54
|
||||
msgid "Bing"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:53
|
||||
msgid "Built-in"
|
||||
msgstr "Integrado"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:63
|
||||
msgid "Dark mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:170
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "Expecting: %s"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:139
|
||||
msgid "Failed to upload file: %s."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:152
|
||||
msgid "Filename"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:129
|
||||
msgid "Files will be uploaded to <code>%s</code>."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:61
|
||||
msgid "Follow system"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr "Otorgar acceso UCI para luci-app-argon-config"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:46
|
||||
msgid ""
|
||||
"Here you can set the blur and transparency of the login page of argon theme, "
|
||||
"and manage the background pictures and videos. Chrome is recommended."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:85
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:109
|
||||
msgid "Larger value will more blurred (suggest: clear: 1 or blur preset: 10)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:62
|
||||
msgid "Light mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:153
|
||||
msgid "Modified date"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:172
|
||||
msgid "No files found."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:116
|
||||
msgid "Save current settings"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:114
|
||||
msgid "Save settings"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:154
|
||||
msgid "Size"
|
||||
msgstr "Tamaño"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:48
|
||||
msgid "Theme configuration"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:60
|
||||
msgid "Theme mode"
|
||||
msgstr "Modo del tema"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "Unsplash"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:128
|
||||
msgid "Upload background"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:122
|
||||
msgid "Upload background (available space: %1024.2mB)"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
msgid "Upload..."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
msgid "Wallhaven"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:52
|
||||
msgid "Wallpaper source"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
msgid ""
|
||||
"You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the "
|
||||
"login page background."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:108
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr "[Modo oscuro] Radio de vidrio esmerilado"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr "[Modo oscuro] Color primario"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr "[Modo oscuro] Transparencia"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:84
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr "[Modo claro] Radio de vidrio esmerilado"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr "[Modo claro] Color primario"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:77
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr "[Modo claro] Transparencia"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "valid HEX color value"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "0 transparent - 1 opaque ; ( Suggest: Black translucent preset: 0.5 )"
|
||||
#~ msgstr ""
|
||||
#~ "0 transparente - 1 opaco; (Sugerencia: negro translúcido preestablecido: "
|
||||
#~ "0.5)"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "0 transparent - 1 opaque ; ( Suggest: transparent: 0 or translucent "
|
||||
#~ "preset: 0.5 )"
|
||||
#~ msgstr ""
|
||||
#~ "0 transparente - 1 opaco; (Sugerencia: transparente: 0 o translúcido "
|
||||
#~ "preestablecido: 0.5)"
|
||||
|
||||
#~ msgid "A HEX Color ; ( Default: #483d8b )"
|
||||
#~ msgstr "Un color HEX; (Predeterminado: #483d8b)"
|
||||
|
||||
#~ msgid "A HEX Color ; ( Default: #5e72e4 )"
|
||||
#~ msgstr "Un color HEX; (Predeterminado: #5e72e4)"
|
||||
|
||||
#~ msgid "Bing Wallpapers"
|
||||
#~ msgstr "Fondos de Bing"
|
||||
|
||||
#~ msgid "Choose local file:"
|
||||
#~ msgstr "Elija un archivo local:"
|
||||
|
||||
#~ msgid "Create upload file error."
|
||||
#~ msgstr "Crear archivo de error de carga."
|
||||
|
||||
#~ msgid "File name"
|
||||
#~ msgstr "Nombre del archivo"
|
||||
|
||||
#~ msgid "File saved to"
|
||||
#~ msgstr "Archivo guardado en"
|
||||
|
||||
#~ msgid "Follow System"
|
||||
#~ msgstr "Seguir el sistema"
|
||||
|
||||
#~ msgid "Force Dark"
|
||||
#~ msgstr "Forzar oscuro"
|
||||
|
||||
#~ msgid "Force Light"
|
||||
#~ msgstr "Forzar claro"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Here you can set the blur and transparency of the login page of argon "
|
||||
#~ "theme, and manage the background pictures and videos.[Chrome is "
|
||||
#~ "recommended]"
|
||||
#~ msgstr ""
|
||||
#~ "Aquí puede configurar el desenfoque y la transparencia de la página de "
|
||||
#~ "inicio de sesión del tema argon y administrar las imágenes de fondo y los "
|
||||
#~ "videos. [Se recomienda Chrome]"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )"
|
||||
#~ msgstr ""
|
||||
#~ "El valor más grande se verá más borroso; (Sugerencia: claro: 1 o "
|
||||
#~ "desenfoque predeterminado: 10)"
|
||||
|
||||
#~ msgid "Modify time"
|
||||
#~ msgstr "Modificar la hora"
|
||||
|
||||
#~ msgid "No specify upload file."
|
||||
#~ msgstr "No especificar archivo de carga."
|
||||
|
||||
#~ msgid "Remove"
|
||||
#~ msgstr "Eliminar"
|
||||
|
||||
#~ msgid "Save Changes"
|
||||
#~ msgstr "Guardar cambios"
|
||||
|
||||
#~ msgid "Upload"
|
||||
#~ msgstr "Cargar"
|
||||
|
||||
#~ msgid "Upload (Free:"
|
||||
#~ msgstr "Cargar (Libre:"
|
||||
|
||||
#~ msgid "Upload file to '/www/luci-static/argon/background/'"
|
||||
#~ msgstr "Subir archivo a '/www/luci-static/argon/background/'"
|
||||
|
||||
#~ msgid "Wallpaper Source"
|
||||
#~ msgstr "Fuente del fondo de pantalla"
|
||||
|
||||
#~ msgid "You can choose Theme color mode here"
|
||||
#~ msgstr "Puede elegir el modo de color del tema aquí"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "You can upload files such as jpg,png,gif,webp,mp4,webm files, To change "
|
||||
#~ "the login page background."
|
||||
#~ msgstr ""
|
||||
#~ "Puede cargar archivos como jpg, png, gif, webp, mp4, webm, para cambiar "
|
||||
#~ "el fondo de la página de inicio de sesión."
|
||||
|
||||
#~ msgid "Luci Argon theme config"
|
||||
#~ msgstr "Configuración del tema Luci Argon"
|
||||
@@ -0,0 +1,184 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:102
|
||||
msgid "0 transparent - 1 opaque (suggest: black translucent preset: 0.5)."
|
||||
msgstr "0 przezroczysty - 1 nieprzezroczysty (sugerowane: czarny półprzezroczysty preset: 0.5)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:78
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: "
|
||||
"0.5)."
|
||||
msgstr "0 przezroczysty - 1 nieprzezroczysty (sugerowane: przezroczysty: 0 lub półprzezroczysty preset: "
|
||||
"0.5)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:91
|
||||
msgid "A HEX Color (default: #483d8b)."
|
||||
msgstr "Kolor zapisany za pomocą kodu HEX (domyślnie: #483d8b)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "A HEX color (default: #5e72e4)."
|
||||
msgstr "Kolor zapisany za pomocą kodu HEX (domyślnie: #5e72e4)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:155
|
||||
msgid "Action"
|
||||
msgstr "Akcja"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/luci/menu.d/luci-app-argon-config.json:3
|
||||
msgid "Argon Config"
|
||||
msgstr "Konfiguracja Argon"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:45
|
||||
msgid "Argon theme configuration"
|
||||
msgstr "Konfiguracja motywu Argon"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:175
|
||||
msgid "Background file list"
|
||||
msgstr "Lista plików tła"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:54
|
||||
msgid "Bing"
|
||||
msgstr "Bing"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:53
|
||||
msgid "Built-in"
|
||||
msgstr "Wbudowane"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:63
|
||||
msgid "Dark mode"
|
||||
msgstr "Ciemny motyw"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:170
|
||||
msgid "Delete"
|
||||
msgstr "Usuń"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "Expecting: %s"
|
||||
msgstr "Spodziewano się: %s"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:139
|
||||
msgid "Failed to upload file: %s."
|
||||
msgstr "Nie udało się przesłać pliku: %s."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:152
|
||||
msgid "Filename"
|
||||
msgstr "Nazwa pliku"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:129
|
||||
msgid "Files will be uploaded to <code>%s</code>."
|
||||
msgstr "Pliki zostaną przesłane do <code>%s</code>."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:61
|
||||
msgid "Follow system"
|
||||
msgstr "Użyj ustawień systemu"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr "Zezwól na dostęp UCI dla luci-app-argon-config"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:46
|
||||
msgid ""
|
||||
"Here you can set the blur and transparency of the login page of argon theme, "
|
||||
"and manage the background pictures and videos. Chrome is recommended."
|
||||
msgstr ""
|
||||
"Tutaj możesz ustawić rozmycie i przezroczystość strony logowania motywu Argon, "
|
||||
"oraz zarządzać obrazami i filmami tła. Zalecana jest przeglądarka Chrome."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:85
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:109
|
||||
msgid "Larger value will more blurred (suggest: clear: 1 or blur preset: 10)."
|
||||
msgstr "Większa wartość oznacza mocniejsze rozmycie (sugerowane wartości: 1 – brak rozmycia, 10 – domyślny poziom rozmycia)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:62
|
||||
msgid "Light mode"
|
||||
msgstr "Jasny motyw"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:153
|
||||
msgid "Modified date"
|
||||
msgstr "Data modyfikacji"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:172
|
||||
msgid "No files found."
|
||||
msgstr "Nie znaleziono plików."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:116
|
||||
msgid "Save current settings"
|
||||
msgstr "Zapisz bieżące ustawienia"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:114
|
||||
msgid "Save settings"
|
||||
msgstr "Zapisz ustawienia"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:154
|
||||
msgid "Size"
|
||||
msgstr "Rozmiar"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:48
|
||||
msgid "Theme configuration"
|
||||
msgstr "Konfiguracja motywu"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:60
|
||||
msgid "Theme mode"
|
||||
msgstr "Tryb motywu"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "Unsplash"
|
||||
msgstr "Unsplash"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:128
|
||||
msgid "Upload background"
|
||||
msgstr "Prześlij tło"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:122
|
||||
msgid "Upload background (available space: %1024.2mB)"
|
||||
msgstr "Prześlij tło (dostępne miejsce: %1024.2mB)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
msgid "Upload..."
|
||||
msgstr "Prześlij..."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
msgid "Wallhaven"
|
||||
msgstr "Wallhaven"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:52
|
||||
msgid "Wallpaper source"
|
||||
msgstr "Źródło tapety"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
msgid ""
|
||||
"You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the "
|
||||
"login page background."
|
||||
msgstr ""
|
||||
"Możesz przesłać pliki takie jak gif/jpg/mp4/png/webm/webp, aby zmienić tło "
|
||||
"strony logowania."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:108
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr "[Ciemny motyw] Stopień rozmycia szkła"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr "[Ciemny motyw] Kolor podstawowy"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr "[Ciemny motyw] Przezroczystość"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:84
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr "[Jasny motyw] Stopień rozmycia szkła"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr "[Jasny motyw] Kolor podstawowy"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:77
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr "[Jasny motyw] Przezroczystość"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "valid HEX color value"
|
||||
msgstr "prawidłowy kolor w formacie HEX"
|
||||
@@ -0,0 +1,174 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2024-06-24 15:34-0300\n"
|
||||
"PO-Revision-Date: 2024-06-24 15:35-0300\n"
|
||||
"Last-Translator: Janderson Vieira Santos <jandersonvs79@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: pt-br\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.0.1\n"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:97
|
||||
msgid "0 transparent - 1 opaque ; ( Suggest: Black translucent preset: 0.5 )"
|
||||
msgstr "0 transparente - 1 opaco; (Sugestão: preto translúcido predefinido: 0.5)"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:79
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque ; ( Suggest: transparent: 0 or translucent preset: "
|
||||
"0.5 )"
|
||||
msgstr "0 transparente - 1 opaco; (Sugestão: transparente: 0 ou translúcido predefinido: 0.5)"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:92
|
||||
msgid "A HEX Color ; ( Default: #483d8b )"
|
||||
msgstr "Uma cor HEX; (Padrão: #483d8b)"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:72
|
||||
msgid "A HEX Color ; ( Default: #5e72e4 )"
|
||||
msgstr "Uma cor HEX; (Padrão: #5e72e4)"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/controller/argon-config.lua:8
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:53
|
||||
msgid "Argon Config"
|
||||
msgstr "Configuração Argon"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:195
|
||||
msgid "Background file list"
|
||||
msgstr "Lista de arquivos de fundo"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:60
|
||||
msgid "Bing Wallpapers"
|
||||
msgstr "Papéis de parede do Bing"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:59
|
||||
msgid "Built-in"
|
||||
msgstr "Integrado"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/view/argon-config/other_upload.htm:2
|
||||
msgid "Choose local file:"
|
||||
msgstr "Escolher arquivo local:"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:149
|
||||
msgid "Create upload file error."
|
||||
msgstr "Erro ao criar arquivo de upload."
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:200
|
||||
msgid "File name"
|
||||
msgstr "Nome do arquivo"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:159
|
||||
msgid "File saved to"
|
||||
msgstr "Arquivo salvo em"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:65
|
||||
msgid "Follow System"
|
||||
msgstr "Seguir sistema"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:67
|
||||
msgid "Force Dark"
|
||||
msgstr "Forçar escuro"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:66
|
||||
msgid "Force Light"
|
||||
msgstr "Forçar claro"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr "Conceder acesso UCI para luci-app-argon-config"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:53
|
||||
msgid ""
|
||||
"Here you can set the blur and transparency of the login page of argon theme, "
|
||||
"and manage the background pictures and videos.[Chrome is recommended]"
|
||||
msgstr ""
|
||||
"Aqui você pode configurar o desfoque e a transparência da página de login do tema argon, "
|
||||
"e gerenciar as imagens de fundo e vídeos. [Recomenda-se o Chrome]"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:87
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:105
|
||||
msgid ""
|
||||
"Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )"
|
||||
msgstr ""
|
||||
"Maior valor será mais desfocado; (Sugestão: claro: 1 ou desfoque predefinido: 10)"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:201
|
||||
msgid "Modify time"
|
||||
msgstr "Modificar horário"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:167
|
||||
msgid "No specify upload file."
|
||||
msgstr "Nenhum arquivo de upload especificado."
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:203
|
||||
msgid "Remove"
|
||||
msgstr "Remover"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:110
|
||||
msgid "Save Changes"
|
||||
msgstr "Salvar alterações"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:202
|
||||
msgid "Size"
|
||||
msgstr "Tamanho"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:64
|
||||
msgid "Theme mode"
|
||||
msgstr "Modo do tema"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/view/argon-config/other_upload.htm:4
|
||||
msgid "Upload"
|
||||
msgstr "Carregar"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:124
|
||||
msgid "Upload (Free:"
|
||||
msgstr "Carregar (Livre:"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:128
|
||||
msgid "Upload file to '/www/luci-static/argon/background/'"
|
||||
msgstr "Carregar arquivo para '/www/luci-static/argon/background/'"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:58
|
||||
msgid "Wallpaper Source"
|
||||
msgstr "Fonte do papel de parede"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:70
|
||||
msgid "You can choose Theme color mode here"
|
||||
msgstr "Você pode escolher o modo de cor do tema aqui"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:124
|
||||
msgid ""
|
||||
"You can upload files such as jpg,png,gif,mp4,webm files, To change the login page "
|
||||
"background."
|
||||
msgstr ""
|
||||
"Você pode carregar arquivos como jpg, png, gif, mp4, webm, para mudar o fundo da "
|
||||
"página de login."
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:105
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr "[Modo escuro] Raio de vidro fosco"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:92
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr "[Modo escuro] Cor primária"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:97
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr "[Modo escuro] Transparência"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:87
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr "[Modo claro] Raio de vidro fosco"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:72
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr "[Modo claro] Cor primária"
|
||||
|
||||
#: applications/luci-app-argon-config/luasrc/model/cbi/argon-config.lua:79
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr "[Modo claro] Transparência"
|
||||
|
||||
#~ msgid "Luci Argon theme config"
|
||||
#~ msgstr "Configuração do tema Luci Argon"
|
||||
@@ -0,0 +1,180 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:102
|
||||
msgid "0 transparent - 1 opaque (suggest: black translucent preset: 0.5)."
|
||||
msgstr "0 — прозрачно, 1 — непрозрачно (рекомендуется: чёрный полупрозрачный, предустановка: 0.5)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:78
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: "
|
||||
"0.5)."
|
||||
msgstr "0 — прозрачно, 1 — непрозрачно (рекомендуется: прозрачный 0 или полупрозрачный, предустановка: 0.5)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:91
|
||||
msgid "A HEX Color (default: #483d8b)."
|
||||
msgstr "HEX-цвет (родной: #483d8b)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "A HEX color (default: #5e72e4)."
|
||||
msgstr "HEX-цвет (родной: #5e72e4)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:155
|
||||
msgid "Action"
|
||||
msgstr "Действие"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/luci/menu.d/luci-app-argon-config.json:3
|
||||
msgid "Argon Config"
|
||||
msgstr "тема Argon"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:45
|
||||
msgid "Argon theme configuration"
|
||||
msgstr "Конфигурация темы Argon"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:175
|
||||
msgid "Background file list"
|
||||
msgstr "Список файлов фона"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:54
|
||||
msgid "Bing"
|
||||
msgstr "Bing"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:53
|
||||
msgid "Built-in"
|
||||
msgstr "Встроенные"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:63
|
||||
msgid "Dark mode"
|
||||
msgstr "Тёмная тема"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:170
|
||||
msgid "Delete"
|
||||
msgstr "Удалить"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "Expecting: %s"
|
||||
msgstr "Ожидалось: %s"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:139
|
||||
msgid "Failed to upload file: %s."
|
||||
msgstr "Не удалось загрузить файл: %s."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:152
|
||||
msgid "Filename"
|
||||
msgstr "Имя файла"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:129
|
||||
msgid "Files will be uploaded to <code>%s</code>."
|
||||
msgstr "Файлы будут загружены в <code>%s</code>."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:61
|
||||
msgid "Follow system"
|
||||
msgstr "Как в системе"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr "Предоставить доступ к UCI для luci-app-argon-config"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:46
|
||||
msgid ""
|
||||
"Here you can set the blur and transparency of the login page of argon theme, "
|
||||
"and manage the background pictures and videos. Chrome is recommended."
|
||||
msgstr "Здесь можно настроить размытие и прозрачность страницы логина темы Argon, управлять фоновыми изображениями и видео. Рекомендуется использовать Chrome."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:85
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:109
|
||||
msgid "Larger value will more blurred (suggest: clear: 1 or blur preset: 10)."
|
||||
msgstr "Выше цифра, сильнее размыто (от чёткого: 1 к размытому: 10)."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:62
|
||||
msgid "Light mode"
|
||||
msgstr "Светлая тема"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:153
|
||||
msgid "Modified date"
|
||||
msgstr "Дата изменения"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:172
|
||||
msgid "No files found."
|
||||
msgstr "Файлы не найдены."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:116
|
||||
msgid "Save current settings"
|
||||
msgstr "Сохранить текущие настройки"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:114
|
||||
msgid "Save settings"
|
||||
msgstr "Сохранить настройки"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:154
|
||||
msgid "Size"
|
||||
msgstr "Размер"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:48
|
||||
msgid "Theme configuration"
|
||||
msgstr "Конфигурация темы"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:60
|
||||
msgid "Theme mode"
|
||||
msgstr "Режим темы"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "Unsplash"
|
||||
msgstr "Unsplash"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:128
|
||||
msgid "Upload background"
|
||||
msgstr "Загрузить фон"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:122
|
||||
msgid "Upload background (available space: %1024.2mB)"
|
||||
msgstr "Загрузить фон (доступно: %1024.2mB)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
msgid "Upload..."
|
||||
msgstr "Загрузить..."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
msgid "Wallhaven"
|
||||
msgstr "Wallhaven"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:52
|
||||
msgid "Wallpaper source"
|
||||
msgstr "Обои"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
msgid ""
|
||||
"You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the "
|
||||
"login page background."
|
||||
msgstr "Вы можете загрузить файлы gif/jpg/mp4/png/webm/webp, чтобы изменить фон страницы входа."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:108
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr "[Тёмная тема] Радиус матового стекла"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr "[Тёмная тема] Основной цвет"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr "[Тёмная тема] Прозрачность"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:84
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr "[Светлая тема] Радиус матового стекла"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr "[Светлая тема] Основной цвет"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:77
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr "[Светлая тема] Прозрачность"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "valid HEX color value"
|
||||
msgstr "корректное значение HEX-цвета"
|
||||
|
||||
@@ -1,29 +1,25 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:136
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:102
|
||||
msgid "0 transparent - 1 opaque (suggest: black translucent preset: 0.5)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:112
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:78
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: "
|
||||
"0.5)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:125
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:91
|
||||
msgid "A HEX Color (default: #483d8b)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "A HEX color (default: #5e72e4)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:86
|
||||
msgid "API key"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:189
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:155
|
||||
msgid "Action"
|
||||
msgstr ""
|
||||
|
||||
@@ -35,7 +31,7 @@ msgstr ""
|
||||
msgid "Argon theme configuration"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:209
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:175
|
||||
msgid "Background file list"
|
||||
msgstr ""
|
||||
|
||||
@@ -47,47 +43,35 @@ msgstr ""
|
||||
msgid "Built-in"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
msgid "Collection ID"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
msgid "Collection ID for Unsplash or Wallhaven."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:63
|
||||
msgid "Dark mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:204
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:170
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:107
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "Expecting: %s"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:173
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:139
|
||||
msgid "Failed to upload file: %s."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:186
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:152
|
||||
msgid "Filename"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:163
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:129
|
||||
msgid "Files will be uploaded to <code>%s</code>."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:95
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:61
|
||||
msgid "Follow system"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "GHSer"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr ""
|
||||
@@ -98,72 +82,60 @@ msgid ""
|
||||
"and manage the background pictures and videos. Chrome is recommended."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:119
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:143
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:85
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:109
|
||||
msgid "Larger value will more blurred (suggest: clear: 1 or blur preset: 10)."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:96
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:62
|
||||
msgid "Light mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:187
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:153
|
||||
msgid "Modified date"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:206
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:172
|
||||
msgid "No files found."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:150
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:116
|
||||
msgid "Save current settings"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:148
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:114
|
||||
msgid "Save settings"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:188
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:154
|
||||
msgid "Size"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:86
|
||||
msgid "Specify API key for Unsplash or Wallhaven."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:48
|
||||
msgid "Theme configuration"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:94
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:60
|
||||
msgid "Theme mode"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "Unsplash"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:162
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:128
|
||||
msgid "Upload background"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:156
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:122
|
||||
msgid "Upload background (available space: %1024.2mB)"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:165
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
msgid "Upload..."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "Use exact resolution"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "Use exact resolution or at least 1080P for Wallhaven."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:57
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
msgid "Wallhaven"
|
||||
msgstr ""
|
||||
|
||||
@@ -171,37 +143,37 @@ msgstr ""
|
||||
msgid "Wallpaper source"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:158
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
msgid ""
|
||||
"You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the "
|
||||
"login page background."
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:142
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:108
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:135
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:118
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:84
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:111
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:77
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr ""
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:107
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "valid HEX color value"
|
||||
msgstr ""
|
||||
|
||||
@@ -11,29 +11,25 @@ msgstr ""
|
||||
"Language: zh_CN\n"
|
||||
"X-Generator: Poedit 2.3.1\n"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:136
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:102
|
||||
msgid "0 transparent - 1 opaque (suggest: black translucent preset: 0.5)."
|
||||
msgstr "0 最透明 - 1 不透明(建议:黑色半透明 0.5)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:112
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:78
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: "
|
||||
"0.5)."
|
||||
msgstr "0 最透明 - 1 不透明(建议: 透明 0 或 半透明预设 0.5)。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:125
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:91
|
||||
msgid "A HEX Color (default: #483d8b)."
|
||||
msgstr "十六进制颜色值(预设为:#483d8b)。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "A HEX color (default: #5e72e4)."
|
||||
msgstr "十六进制颜色值(预设为:#5e72e4)。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:86
|
||||
msgid "API key"
|
||||
msgstr "API 密钥"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:189
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:155
|
||||
msgid "Action"
|
||||
msgstr "操作"
|
||||
|
||||
@@ -45,7 +41,7 @@ msgstr "Argon 主题设置"
|
||||
msgid "Argon theme configuration"
|
||||
msgstr "Argon 主题设置"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:209
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:175
|
||||
msgid "Background file list"
|
||||
msgstr "背景文件列表"
|
||||
|
||||
@@ -57,47 +53,35 @@ msgstr "Bing"
|
||||
msgid "Built-in"
|
||||
msgstr "内建"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
msgid "Collection ID"
|
||||
msgstr "分类 ID"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
msgid "Collection ID for Unsplash or Wallhaven."
|
||||
msgstr "为 Unsplash 或 Wallhaven 指定分类 ID"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:63
|
||||
msgid "Dark mode"
|
||||
msgstr "暗黑模式"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:204
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:170
|
||||
msgid "Delete"
|
||||
msgstr "删除"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:107
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "Expecting: %s"
|
||||
msgstr "请输入:%s"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:173
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:139
|
||||
msgid "Failed to upload file: %s."
|
||||
msgstr "上传文件失败:%s。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:186
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:152
|
||||
msgid "Filename"
|
||||
msgstr "文件名"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:163
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:129
|
||||
msgid "Files will be uploaded to <code>%s</code>."
|
||||
msgstr "文件将被上传至<code>%s</code>。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:95
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:61
|
||||
msgid "Follow system"
|
||||
msgstr "跟随系统"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "GHSer"
|
||||
msgstr "GHSer"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr "授予 luci-app-argon-config 访问 UCI 配置的权限"
|
||||
@@ -110,72 +94,60 @@ msgstr ""
|
||||
"在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。推"
|
||||
"荐使用 Chrome。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:119
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:143
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:85
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:109
|
||||
msgid "Larger value will more blurred (suggest: clear: 1 or blur preset: 10)."
|
||||
msgstr "值越大越模糊(建议:清透 1 或 模糊预设 10)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:96
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:62
|
||||
msgid "Light mode"
|
||||
msgstr "亮色模式"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:187
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:153
|
||||
msgid "Modified date"
|
||||
msgstr "修改时间"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:206
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:172
|
||||
msgid "No files found."
|
||||
msgstr "没有找到文件。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:150
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:116
|
||||
msgid "Save current settings"
|
||||
msgstr "保存当前设置"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:148
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:114
|
||||
msgid "Save settings"
|
||||
msgstr "保存设置"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:188
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:154
|
||||
msgid "Size"
|
||||
msgstr "大小"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:86
|
||||
msgid "Specify API key for Unsplash or Wallhaven."
|
||||
msgstr "为 Unsplash 或 Wallhaven 指定 API 密钥。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:48
|
||||
msgid "Theme configuration"
|
||||
msgstr "主题配置"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:94
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:60
|
||||
msgid "Theme mode"
|
||||
msgstr "主题模式"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "Unsplash"
|
||||
msgstr "Unsplash"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:162
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:128
|
||||
msgid "Upload background"
|
||||
msgstr "上传背景"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:156
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:122
|
||||
msgid "Upload background (available space: %1024.2mB)"
|
||||
msgstr "上传背景(可用空间:%1024.2mB)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:165
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
msgid "Upload..."
|
||||
msgstr "上传..."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "Use exact resolution"
|
||||
msgstr "精确匹配分辨率"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "Use exact resolution or at least 1080P for Wallhaven."
|
||||
msgstr "精确匹配 1080P 分辨率或至少 1080P 分辨率(Wallhaven)。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:57
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
msgid "Wallhaven"
|
||||
msgstr "Wallhaven"
|
||||
|
||||
@@ -183,38 +155,38 @@ msgstr "Wallhaven"
|
||||
msgid "Wallpaper source"
|
||||
msgstr "壁纸来源"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:158
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
msgid ""
|
||||
"You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the "
|
||||
"login page background."
|
||||
msgstr ""
|
||||
"你可以上传 gif/jpg/mp4/png/webm/webp 等格式的文件,以创建自己喜欢的登录界面。"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:142
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:108
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr "[暗色模式] 毛玻璃模糊半径"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr "[暗色模式] 主色调"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:135
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr "[暗色模式] 透明度"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:118
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:84
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr "[亮色模式] 毛玻璃模糊半径"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr "[亮色模式] 主色调"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:111
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:77
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr "[亮色模式] 透明度"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:107
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "valid HEX color value"
|
||||
msgstr "有效十六进制颜色值"
|
||||
|
||||
@@ -0,0 +1,273 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Victor Tseng <palatis@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: zh_TW\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 3.2.2\n"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:102
|
||||
msgid "0 transparent - 1 opaque (suggest: black translucent preset: 0.5)."
|
||||
msgstr "0 全透明 - 1 不透明(建議:黑色半透明 0.5)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:78
|
||||
msgid ""
|
||||
"0 transparent - 1 opaque (suggest: transparent: 0 or translucent preset: "
|
||||
"0.5)."
|
||||
msgstr "0 全透明 - 1 不透明(建議:全透明 0 或半透明 0.5)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:91
|
||||
msgid "A HEX Color (default: #483d8b)."
|
||||
msgstr "十六進制顏色(預設 #483d8b)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "A HEX color (default: #5e72e4)."
|
||||
msgstr "十六進制顏色(預設 #5e72e4)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:155
|
||||
msgid "Action"
|
||||
msgstr "動作"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/luci/menu.d/luci-app-argon-config.json:3
|
||||
msgid "Argon Config"
|
||||
msgstr "Argon 設定"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:45
|
||||
msgid "Argon theme configuration"
|
||||
msgstr "Argon 主題設定"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:175
|
||||
msgid "Background file list"
|
||||
msgstr "背景檔案清單"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:54
|
||||
msgid "Bing"
|
||||
msgstr "Bing"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:53
|
||||
msgid "Built-in"
|
||||
msgstr "內建"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:63
|
||||
msgid "Dark mode"
|
||||
msgstr "深色模式"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:170
|
||||
msgid "Delete"
|
||||
msgstr "刪除"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "Expecting: %s"
|
||||
msgstr "期望:%s"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:139
|
||||
msgid "Failed to upload file: %s."
|
||||
msgstr "上傳檔案失敗:%s"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:152
|
||||
msgid "Filename"
|
||||
msgstr "檔案名稱"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:129
|
||||
msgid "Files will be uploaded to <code>%s</code>."
|
||||
msgstr "檔案將被上傳至 <code>%s</code>"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:61
|
||||
msgid "Follow system"
|
||||
msgstr "跟隨系統"
|
||||
|
||||
#: applications/luci-app-argon-config/root/usr/share/rpcd/acl.d/luci-app-argon-config.json:3
|
||||
msgid "Grant UCI access for luci-app-argon-config"
|
||||
msgstr "為 luci-app-argon-config 授予 UCI 權限"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:46
|
||||
msgid ""
|
||||
"Here you can set the blur and transparency of the login page of argon theme, "
|
||||
"and manage the background pictures and videos. Chrome is recommended."
|
||||
msgstr "您可以在此設定登入畫面的模糊度、透明度、以及管理背景圖片與影片(推薦使用 Chrome)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:85
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:109
|
||||
msgid "Larger value will more blurred (suggest: clear: 1 or blur preset: 10)."
|
||||
msgstr "數值越大越模糊(建議:清晰 1 或模糊程度 10)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:62
|
||||
msgid "Light mode"
|
||||
msgstr "淺色模式"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:153
|
||||
msgid "Modified date"
|
||||
msgstr "修改時間"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:172
|
||||
msgid "No files found."
|
||||
msgstr "未找到任何檔案"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:116
|
||||
msgid "Save current settings"
|
||||
msgstr "保存目前設定"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:114
|
||||
msgid "Save settings"
|
||||
msgstr "保存設定"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:154
|
||||
msgid "Size"
|
||||
msgstr "容量"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:48
|
||||
msgid "Theme configuration"
|
||||
msgstr "主題設定"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:60
|
||||
msgid "Theme mode"
|
||||
msgstr "佈景主題模式"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:55
|
||||
msgid "Unsplash"
|
||||
msgstr "Unsplash"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:128
|
||||
msgid "Upload background"
|
||||
msgstr "上傳背景"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:122
|
||||
msgid "Upload background (available space: %1024.2mB)"
|
||||
msgstr "上傳背景(可用空間:%1024.2mB)"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:131
|
||||
msgid "Upload..."
|
||||
msgstr "上傳..."
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:56
|
||||
msgid "Wallhaven"
|
||||
msgstr "Wallhaven"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:52
|
||||
msgid "Wallpaper source"
|
||||
msgstr "背景圖片來源"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:124
|
||||
msgid ""
|
||||
"You can upload files such as gif/jpg/mp4/png/webm/webp files, to change the "
|
||||
"login page background."
|
||||
msgstr "可以上傳諸如 gif、jpg、mp4、png、webm、webp 等類型的檔案來更換登入畫面的背景"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:108
|
||||
msgid "[Dark mode] Frosted Glass Radius"
|
||||
msgstr "[深色模式] 模糊效果半徑"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:90
|
||||
msgid "[Dark mode] Primary Color"
|
||||
msgstr "[深色模式] 主色彩"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:101
|
||||
msgid "[Dark mode] Transparency"
|
||||
msgstr "[深色模式] 透明度"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:84
|
||||
msgid "[Light mode] Frosted Glass Radius"
|
||||
msgstr "[淺色模式] 模糊效果半徑"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:67
|
||||
msgid "[Light mode] Primary Color"
|
||||
msgstr "[淺色模式] 主色彩"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:77
|
||||
msgid "[Light mode] Transparency"
|
||||
msgstr "[淺色模式] 透明度"
|
||||
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:73
|
||||
#: applications/luci-app-argon-config/htdocs/luci-static/resources/view/argon-config.js:97
|
||||
msgid "valid HEX color value"
|
||||
msgstr "有效的十六進制顏色值"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "0 transparent - 1 opaque ; ( Suggest: Black translucent preset: 0.5 )"
|
||||
#~ msgstr "0 全透明 - 1 不透明(建議:黑色半透明 0.5)"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "0 transparent - 1 opaque ; ( Suggest: transparent: 0 or translucent "
|
||||
#~ "preset: 0.5 )"
|
||||
#~ msgstr "0 全透明 - 1 不透明(建議:全透明 0,或半透明 0.5)"
|
||||
|
||||
#~ msgid "A HEX Color ; ( Default: #483d8b )"
|
||||
#~ msgstr "十六進制顏色(預設 #483d8b)"
|
||||
|
||||
#~ msgid "A HEX Color ; ( Default: #5e72e4 )"
|
||||
#~ msgstr "十六進制顏色(預設 #5e72e4)"
|
||||
|
||||
#~ msgid "Bing Wallpapers"
|
||||
#~ msgstr "Bing桌布"
|
||||
|
||||
#~ msgid "Choose local file:"
|
||||
#~ msgstr "選擇本地檔案:"
|
||||
|
||||
#~ msgid "Create upload file error."
|
||||
#~ msgstr "建立上傳檔案錯誤。"
|
||||
|
||||
#~ msgid "File name"
|
||||
#~ msgstr "檔案名稱"
|
||||
|
||||
#~ msgid "File saved to"
|
||||
#~ msgstr "檔案已儲存至"
|
||||
|
||||
#~ msgid "Follow System"
|
||||
#~ msgstr "跟隨系統配色"
|
||||
|
||||
#~ msgid "Force Dark"
|
||||
#~ msgstr "強制深色"
|
||||
|
||||
#~ msgid "Force Light"
|
||||
#~ msgstr "強制淺色"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Here you can set the blur and transparency of the login page of argon "
|
||||
#~ "theme, and manage the background pictures and videos.[Chrome is "
|
||||
#~ "recommended]"
|
||||
#~ msgstr ""
|
||||
#~ "可以在此設定登入畫面的模糊度、透明度、以及管理背景圖片與影片(推薦使用 "
|
||||
#~ "Chrome)。"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Larger value will more blurred ; ( Suggest: clear: 1 or blur preset: 10 )"
|
||||
#~ msgstr "數值越大越模糊(建議:清晰 1,或模糊程度 10)"
|
||||
|
||||
#~ msgid "Modify time"
|
||||
#~ msgstr "修改時間"
|
||||
|
||||
#~ msgid "No specify upload file."
|
||||
#~ msgstr "沒有選擇要上傳的檔案。"
|
||||
|
||||
#~ msgid "Remove"
|
||||
#~ msgstr "移除"
|
||||
|
||||
#~ msgid "Save Changes"
|
||||
#~ msgstr "保存變更"
|
||||
|
||||
#~ msgid "Upload"
|
||||
#~ msgstr "上傳"
|
||||
|
||||
#~ msgid "Upload (Free:"
|
||||
#~ msgstr "上傳(剩餘空間:"
|
||||
|
||||
#~ msgid "Upload file to '/www/luci-static/argon/background/'"
|
||||
#~ msgstr "上傳檔案至'/www/luci-static/argon/background/'"
|
||||
|
||||
#~ msgid "Wallpaper Source"
|
||||
#~ msgstr "桌布來源"
|
||||
|
||||
#~ msgid "You can choose Theme color mode here"
|
||||
#~ msgstr "可以在此選擇佈景主題的顏色模式"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "You can upload files such as jpg,png,gif,mp4,webm files, To change the "
|
||||
#~ "login page background."
|
||||
#~ msgstr ""
|
||||
#~ "可以上傳諸如 jpg、png、gif、mp4、webm 等類型的檔案來更換登入畫面的背景。"
|
||||
@@ -1,10 +1,10 @@
|
||||
config global
|
||||
option primary '#5e72e4'
|
||||
option dark_primary '#483d8b'
|
||||
option blur '0'
|
||||
option blur_dark '0'
|
||||
option transparency '0.3'
|
||||
option transparency_dark '0.3'
|
||||
option mode 'normal'
|
||||
option blur '10'
|
||||
option blur_dark '10'
|
||||
option transparency '0.5'
|
||||
option transparency_dark '0.5'
|
||||
option mode 'dark'
|
||||
option online_wallpaper 'bing'
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ readonly tmp_path="/tmp/argon_background.tmp"
|
||||
case "$1" in
|
||||
"list")
|
||||
json_init
|
||||
json_add_object "avail"
|
||||
json_close_object
|
||||
json_add_object "remove"
|
||||
json_add_string "filename" "filename"
|
||||
json_close_object
|
||||
@@ -20,6 +22,12 @@ case "$1" in
|
||||
;;
|
||||
"call")
|
||||
case "$2" in
|
||||
"avail")
|
||||
json_init
|
||||
json_add_int "avail" "$(df | grep -E '/$' | awk '{print $4}')"
|
||||
json_dump
|
||||
json_cleanup
|
||||
;;
|
||||
"remove")
|
||||
read -r input
|
||||
json_load "$input"
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
"/www/luci-static/argon/background/*": [ "list" ]
|
||||
},
|
||||
"ubus": {
|
||||
"luci.argon": [ "remove", "rename" ],
|
||||
"system": [ "info" ]
|
||||
"luci.argon": [ "avail", "remove", "rename" ]
|
||||
},
|
||||
"uci": [ "argon" ]
|
||||
},
|
||||
|
||||
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-passwall
|
||||
PKG_VERSION:=26.8.26
|
||||
PKG_RELEASE:=250
|
||||
PKG_RELEASE:=251
|
||||
PKG_PO_VERSION:=$(PKG_VERSION)
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
|
||||
@@ -747,21 +747,32 @@ load_acl() {
|
||||
}
|
||||
|
||||
filter_haproxy() {
|
||||
[ "$(config_n_get @global_haproxy[0] balancing_enable 0)" != "1" ] && return
|
||||
for item in $(uci show $CONFIG | grep ".lbss=" | cut -d "'" -f 2); do
|
||||
local ip=$(get_host_ip "ipv4" "$(echo $item | awk -F ":" '{print $1}')" 1)
|
||||
[ -n "$ip" ] && ! echo "$ip" | grep -Eq "$EXCLUDE_VPSIP" && ipset -q add $IPSET_VPS $ip
|
||||
done
|
||||
echolog " - [$?]加入负载均衡的节点到ipset[$IPSET_VPS]直连完成"
|
||||
echolog " - [$?]加入负载均衡节点IP到ipset[$IPSET_VPS]直连完成"
|
||||
}
|
||||
|
||||
filter_vpsip() {
|
||||
uci show $CONFIG | grep -E "(\.address=|\.download_address=|\.domain_resolver_dns=|\.domain_resolver_dns_https=)" | cut -d "'" -f 2 | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -Ev "$EXCLUDE_VPSIP" | sed "s/^/add $IPSET_VPS /" | awk '1; END{print "COMMIT"}' | ipset -! -R
|
||||
echolog " - [$?]加入所有IPv4节点到ipset[$IPSET_VPS]直连完成"
|
||||
uci show $CONFIG | grep -E "(\.address=|\.download_address=|\.domain_resolver_dns=|\.domain_resolver_dns_https=)" | cut -d "'" -f 2 | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?" | sed "s/^/add $IPSET_VPS6 /" | awk '1; END{print "COMMIT"}' | ipset -! -R
|
||||
echolog " - [$?]加入所有IPv6节点到ipset[$IPSET_VPS6]直连完成"
|
||||
local vps_addrs=$(uci show $CONFIG | grep -E "(\.address=|\.download_address=|\.domain_resolver_dns=|\.domain_resolver_dns_https=)" | cut -d "'" -f 2 | grep -Ev "$EXCLUDE_VPSIP")
|
||||
local ipv4_addrs=$(echo "$vps_addrs" | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}")
|
||||
[ -n "$ipv4_addrs" ] && {
|
||||
echo "$ipv4_addrs" | sed "s/^/add $IPSET_VPS /" | awk '1; END{print "COMMIT"}' | ipset -! -R
|
||||
echolog " - [$?]加入所有IPv4节点服务器IP到ipset[$IPSET_VPS]直连完成"
|
||||
}
|
||||
local ipv6_addrs=$(echo "$vps_addrs" | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?")
|
||||
[ -n "$ipv6_addrs" ] && {
|
||||
echo "$ipv6_addrs" | sed "s/^/add $IPSET_VPS6 /" | awk '1; END{print "COMMIT"}' | ipset -! -R
|
||||
echolog " - [$?]加入所有IPv6节点服务器IP到ipset[$IPSET_VPS6]直连完成"
|
||||
}
|
||||
#订阅方式为直连时
|
||||
get_subscribe_host | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -Ev "$EXCLUDE_VPSIP" | sed "s/^/add $IPSET_VPS /" | awk '{print $0} END{print "COMMIT"}' | ipset -! -R
|
||||
get_subscribe_host | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?" | sed "s/^/add $IPSET_VPS6 /" | awk '{print $0} END{print "COMMIT"}' | ipset -! -R
|
||||
local subscribe_host=$(get_subscribe_host | grep -Ev "$EXCLUDE_VPSIP")
|
||||
[ -n "$subscribe_host" ] && {
|
||||
echo "$subscribe_host" | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}" | sed "s/^/add $IPSET_VPS /" | awk '{print $0} END{print "COMMIT"}' | ipset -! -R
|
||||
echo "$subscribe_host" | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?" | sed "s/^/add $IPSET_VPS6 /" | awk '{print $0} END{print "COMMIT"}' | ipset -! -R
|
||||
}
|
||||
}
|
||||
|
||||
filter_server_port() {
|
||||
@@ -1022,7 +1033,7 @@ add_firewall_rule() {
|
||||
|
||||
# 过滤所有节点IP
|
||||
filter_vpsip > /dev/null 2>&1 &
|
||||
# filter_haproxy > /dev/null 2>&1 &
|
||||
filter_haproxy > /dev/null 2>&1 &
|
||||
|
||||
accept_icmp=$(config_n_get @global_forwarding[0] accept_icmp 0)
|
||||
accept_icmpv6=$(config_n_get @global_forwarding[0] accept_icmpv6 0)
|
||||
|
||||
@@ -810,10 +810,11 @@ load_acl() {
|
||||
}
|
||||
|
||||
filter_haproxy() {
|
||||
[ "$(config_n_get @global_haproxy[0] balancing_enable 0)" != "1" ] && return
|
||||
for item in $(uci show $CONFIG | grep ".lbss=" | cut -d "'" -f 2); do
|
||||
get_host_ip "ipv4" "$(echo $item | awk -F ":" '{print $1}')" 1
|
||||
done | grep -Ev "$EXCLUDE_VPSIP" | insert_nftset $NFTSET_VPS
|
||||
echolog " - [$?]加入负载均衡的节点到nftset[$NFTSET_VPS]直连完成"
|
||||
echolog " - [$?]加入负载均衡节点IP到nftset[$NFTSET_VPS]直连完成"
|
||||
}
|
||||
|
||||
filter_vps_addr() {
|
||||
@@ -827,13 +828,23 @@ filter_vps_addr() {
|
||||
}
|
||||
|
||||
filter_vpsip() {
|
||||
uci show $CONFIG | grep -E "(\.address=|\.download_address=|\.domain_resolver_dns=|\.domain_resolver_dns_https=)" | cut -d "'" -f 2 | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -Ev "$EXCLUDE_VPSIP" | insert_nftset $NFTSET_VPS
|
||||
echolog " - [$?]加入所有IPv4节点到nftset[$NFTSET_VPS]直连完成"
|
||||
uci show $CONFIG | grep -E "(\.address=|\.download_address=|\.domain_resolver_dns=|\.domain_resolver_dns_https=)" | cut -d "'" -f 2 | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?" | insert_nftset $NFTSET_VPS6
|
||||
echolog " - [$?]加入所有IPv6节点到nftset[$NFTSET_VPS6]直连完成"
|
||||
local vps_addrs=$(uci show $CONFIG | grep -E "(\.address=|\.download_address=|\.domain_resolver_dns=|\.domain_resolver_dns_https=)" | cut -d "'" -f 2 | grep -Ev "$EXCLUDE_VPSIP")
|
||||
local ipv4_addrs=$(echo "$vps_addrs" | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}")
|
||||
[ -n "$ipv4_addrs" ] && {
|
||||
echo "$ipv4_addrs" | insert_nftset $NFTSET_VPS
|
||||
echolog " - [$?]加入所有IPv4节点服务器IP到nftset[$NFTSET_VPS]直连完成"
|
||||
}
|
||||
local ipv6_addrs=$(echo "$vps_addrs" | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?")
|
||||
[ -n "$ipv6_addrs" ] && {
|
||||
echo "$ipv6_addrs" | insert_nftset $NFTSET_VPS6
|
||||
echolog " - [$?]加入所有IPv6节点服务器IP到nftset[$NFTSET_VPS6]直连完成"
|
||||
}
|
||||
#订阅方式为直连时
|
||||
get_subscribe_host | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -Ev "$EXCLUDE_VPSIP" | insert_nftset $NFTSET_VPS
|
||||
get_subscribe_host | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?" | insert_nftset $NFTSET_VPS6
|
||||
local subscribe_host=$(get_subscribe_host | grep -Ev "$EXCLUDE_VPSIP")
|
||||
[ -n "$subscribe_host" ] && {
|
||||
echo "$subscribe_host" | grep -Eo "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -Ev "$EXCLUDE_VPSIP" | insert_nftset $NFTSET_VPS
|
||||
echo "$subscribe_host" | grep -Eo "\[?[A-Fa-f0-9:]*:[A-Fa-f0-9:]+\]?" | insert_nftset $NFTSET_VPS6
|
||||
}
|
||||
}
|
||||
|
||||
filter_server_port() {
|
||||
@@ -1111,7 +1122,7 @@ add_firewall_rule() {
|
||||
|
||||
# 过滤所有节点IP
|
||||
filter_vpsip > /dev/null 2>&1 &
|
||||
# filter_haproxy > /dev/null 2>&1 &
|
||||
filter_haproxy > /dev/null 2>&1 &
|
||||
# Prevent some conditions
|
||||
filter_vps_addr $(config_n_get $NODE address) $(config_n_get $NODE download_address) > /dev/null 2>&1 &
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ LUCI_NAME:=luci-theme-footstrap
|
||||
FOOTSTRAP_VERSION?=
|
||||
ifneq ($(FOOTSTRAP_VERSION),)
|
||||
PKG_VERSION:=$(FOOTSTRAP_VERSION)
|
||||
PKG_RELEASE:=40
|
||||
PKG_RELEASE:=41
|
||||
endif
|
||||
|
||||
LUCI_TITLE:=Footstrap Theme
|
||||
|
||||
@@ -19,11 +19,6 @@
|
||||
* friends) live in those blocks too, beside the fills they must be legible against: a
|
||||
* dark palette has light fills and needs a dark ink, and one global `#fff` failed WCAG AA
|
||||
* on seven of the eight dark-palette fills (down to 1.69:1). */
|
||||
--card-bg-color: var(--fs-panel) !important;
|
||||
--border-color: var(--fs-border) !important;
|
||||
--app-container_title-color: var(--fs-text) !important;
|
||||
--item-label_key-span-color: var(--app-container_title-color) !important;
|
||||
--app-container_status-label_block: var(--app-container_title-color) !important;
|
||||
--fs-shadow: 0 1px 3px rgba(15,23,37,.08);
|
||||
/* pop surfaces (menus, dropdown lists, the select picker): one value rather than a
|
||||
* literal per site */
|
||||
|
||||
Reference in New Issue
Block a user