Skip to content

Commit 18a32cd

Browse files
committed
feat: 更新翻译
1. 更新翻译文件,删除无用的条目 2. 添加'打开窗口菜单'的快捷键翻译 3. makefile添加更新翻译文件的命令 Log: 更新翻译 PMS: TASK-385293 Influence: 翻译
1 parent 2ff2e4b commit 18a32cd

101 files changed

Lines changed: 17624 additions & 67484 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ translate: $(addsuffix /LC_MESSAGES/dde-daemon.mo, $(addprefix out/locale/, ${LA
129129
pot:
130130
deepin-update-pot misc/po/locale_config.ini
131131

132+
update-po:
133+
for po in misc/po/*.po; do \
134+
echo "Updating $$po..."; \
135+
msgmerge --update "$$po" misc/po/dde-daemon.pot; \
136+
done
137+
138+
clean-po:
139+
for po in misc/po/*.po; do \
140+
echo "Cleaning obsolete entries from $$po..."; \
141+
msgattrib --no-obsolete "$$po" -o "$$po.tmp"; \
142+
mv "$$po.tmp" "$$po"; \
143+
done
144+
132145
POLICIES=accounts grub2 daemon.system
133146
ts:
134147
for i in $(POLICIES); do \

keybinding1/shortcuts/id_name_map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func getWMIdNameMap() map[string]string {
8686
"panelRunDialog": "Show the run command prompt",
8787
// Don't use
8888
// "set-spew-mark": gettext.Tr(""),
89-
"activateWindowMenu": "Activate window menu",
89+
"activateWindowMenu": gettext.Tr("Activate window menu"),
9090
"toggleFullscreen": "toggle-fullscreen",
9191
"toggleMaximized": "Toggle maximization state",
9292
"toggleAbove": "Toggle window always appearing on top",

0 commit comments

Comments
 (0)