Skip to content

Commit

Permalink
luci-app-music-remote-center: add zh-cn and fix path settings
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Apr 6, 2020
1 parent 7b250de commit 7e22d61
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package/lean/luci-app-music-remote-center/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LUCI_TITLE:=Luci for Music Remote Center
LUCI_DEPENDS:=+alsa-utils +forked-daapd
LUCI_PKGARCH:=all
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_RELEASE:=3

include $(TOPDIR)/feeds/luci/luci.mk

Expand Down
51 changes: 14 additions & 37 deletions package/lean/luci-app-music-remote-center/po/zh-cn/forked-daapd.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,24 @@ msgstr ""
"X-Generator: Poedit 1.8.1\n"
"X-Poedit-SourceCharset: UTF-8\n"

msgid "AirPlay 2 Receiver"
msgstr "AirPlay 2 音频接收器"
msgid "Music Remote Center"
msgstr "PCHiFi 数字转盘遥控"

msgid "Respawn"
msgstr "进程守护"
msgid "Open Web Interface"
msgstr "打开 Web 管理界面"

msgid "Apple AirPlay 2 Receiver"
msgstr "Apple AirPlay 2 无损音频接收服务器"
msgid "Music Remote Center is a DAAP (iTunes Remote), MPD (Music Player Daemon) and RSP (Roku) media server."
msgstr "PCHiFi 数字转盘遥控是一个基于 DAAP (iTunes Remote), MPD (Music Player Daemon) 和 RSP (Roku) media server 的服务器端播放器<br />后端输出支持 路由器本机声卡输出 /Airplay/ Chromecast"

msgid "Apple AirPlay 2 Receiver is a simple AirPlay server implementation"
msgstr "Apple AirPlay 2 是一个强大易用的无损音频服务器( iOS/MacOSX 原生支持)"
msgid "Database File Path"
msgstr "数据库文件路径"

msgid "Airport Name"
msgstr "音频接收器名称"
msgid "Music Directorie Path"
msgstr "音频文件文件夹路径"

msgid "Password Auth"
msgstr "开启密码认证"
msgid "Readme"
msgstr "使用须知"

msgid "Interpolation"
msgstr "音频重采样"
msgid "About iOS Remote Pairing: <br />1. Open the web interface <br /> 2. Start iPhone Remote APP, go to Settings, Add Library<br />3. Enter the pair code in the web interface"
msgstr "关于 iOS 设备匹配: <br />1. 先打开 Web 管理界面,在 Setting 里面找到 Remotes & Outputs <br /> 2. 安装 iTunes 遥控器, 点击 手动连接,获取匹配码<br />3. 在 Remote Pairing 输入刚才获取的匹配码即可"

msgid "Internal Basic Resampler"
msgstr "内置"

msgid "High quality SoX Resampler"
msgstr "高质量 SoX 采样器(需要强力的CPU)"

msgid "Alsa Output Device"
msgstr "音频输出设备"

msgid "Alsa Mixer Control Name"
msgstr "硬件音量控制器名称"

msgid "1st Soundcard"
msgstr "第 1 张声卡"

msgid "2nd Soundcard"
msgstr "第 2 张声卡"

msgid "Alsa Output Rate"
msgstr "音频输出采样率"

msgid "Alsa Buffer Length"
msgstr "音频缓冲区长度"
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gen_config_file() {
cat <<-EOF >/var/etc/forked-daapd.conf
general {
uid = "root"
db_path = "/opt/forked-daapd-songs3.db"
db_path = "$(uci_get_by_type forked-daapd db_path)"
logfile = "/var/log/forked-daapd.log"
loglevel = log
ipv6 = no
Expand Down Expand Up @@ -59,6 +59,6 @@ stop() {

restart() {
stop
sleep 2
sleep 3
start
}

0 comments on commit 7e22d61

Please sign in to comment.