Skip to content

Commit

Permalink
fix: added missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonRan committed Dec 30, 2024
1 parent 96a3fd5 commit 19249ad
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/bin/imports/file-manage.nss
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

menu(separator="after" image=\uE290 title=title.select)
{
item(title="All" image=icon.select_all cmd=command.select_all)
item(title="Invert" image=icon.invert_selection cmd=command.invert_selection)
item(title="None" image=icon.select_none cmd=command.select_none)
item(title=loc.all image=icon.select_all cmd=command.select_all)
item(title=loc.invert image=icon.invert_selection cmd=command.invert_selection)
item(title=loc.none image=icon.select_none cmd=command.select_none)
}

item(type='file|dir|back.dir|drive' title=loc.take_ownership image=[\uE194,#f00] admin
Expand Down
2 changes: 1 addition & 1 deletion src/bin/imports/goto.nss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
menu(type='*' where=window.is_taskbar||sel.count mode=mode.multiple title=title.go_to sep=sep.both image=\uE14A)
{
menu(title='Folder' image=\uE1F4)
menu(title=loc.folder image=\uE1F4)
{
item(title='Windows' image=inherit cmd=sys.dir)
item(title='System' image=inherit cmd=sys.bin)
Expand Down
9 changes: 9 additions & 0 deletions src/bin/imports/lang/en.nss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ windows_notepad="Windows notepad"

// file-manage.nss
file_manage="File manage"
all="All"
invert="Invert"
none="None"
change_extension="Change extension"
take_ownership="Take ownership"
show_hide="Show/Hide"
Expand All @@ -36,12 +39,18 @@ datetime="DateTime"
guid="Guid"

// goto.nss
folder="Folder"
all_control_panel_items="All Control Panel Items"

// taskbar.nss
apps="Apps"
paint="Paint"
edge="Edge"
calculator="Calculator"
cascade_windows="Cascade windows"
Show_windows_stacked="Show windows stacked"
Show_windows_side_by_side="Show windows side by side"
minimize_all_windows="Minimize all windows"
restore_all_windows="Restore all windows"
task_manager="Task Manager"
taskbar_Settings="Taskbar Settings"
9 changes: 9 additions & 0 deletions src/bin/imports/lang/zh-CN.nss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ windows_notepad="Windows 记事本"

// file-manage.nss
file_manage="文件管理"
all="全选"
invert="反选"
none=""
change_extension="更改扩展名"
take_ownership="更改所有权"
show_hide="显示/隐藏"
Expand All @@ -35,12 +38,18 @@ datetime="当前时间"
guid="GUID"

// goto.nss
folder="文件夹"
all_control_panel_items="所有控制面板项"

// taskbar.nss
apps="应用"
paint="画图"
edge="Edge"
calculator="计算器"
cascade_windows="层叠窗口"
Show_windows_stacked="堆叠窗口"
Show_windows_side_by_side="并排窗口"
minimize_all_windows="最小化所有窗口"
restore_all_windows="还原所有窗口"
task_manager="任务管理器"
taskbar_Settings="任务栏设置"
10 changes: 5 additions & 5 deletions src/bin/imports/taskbar.nss
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ menu(where=@(this.count == 0) type="taskbar" image=icon.settings expanded=true)
}
menu(title=title.windows image=\uE1FB)
{
item(title=title.cascade_windows cmd=command.cascade_windows)
item(title=title.Show_windows_stacked cmd=command.Show_windows_stacked)
item(title=title.Show_windows_side_by_side cmd=command.Show_windows_side_by_side)
item(title=loc.cascade_windows cmd=command.cascade_windows)
item(title=loc.Show_windows_stacked cmd=command.Show_windows_stacked)
item(title=loc.Show_windows_side_by_side cmd=command.Show_windows_side_by_side)
sep
item(title=title.minimize_all_windows cmd=command.minimize_all_windows)
item(title=title.restore_all_windows cmd=command.restore_all_windows)
item(title=loc.minimize_all_windows cmd=command.minimize_all_windows)
item(title=loc.restore_all_windows cmd=command.restore_all_windows)
}
item(title=title.desktop image=icon.desktop cmd=command.toggle_desktop)
item(title=title.settings image=icon.settings(auto, image.color1) cmd='ms-settings:')
Expand Down

0 comments on commit 19249ad

Please sign in to comment.