Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug of not localize Menu and Context-Menu #322

Merged
merged 1 commit into from
Jul 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 88 additions & 10 deletions def/ar/context.cson
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Context:
"atom-text-editor":
"color-picker:open": "منتقي الألوان"
"minimap:toggle": "بدل الخريطة المصغرة"
# added for atom/bookmarks
"bookmarks:toggle-bookmark": "Toggle Bookmark"
"atom-text-editor, .overlayer":
"core:undo": "تراجع"
"core:redo": "أعد"
Expand Down Expand Up @@ -57,10 +59,10 @@ Context:
"tree-view:copy": "انسخ"
"tree-view:cut": "قص"
"tree-view:paste": "ألصق"
"tree-view:open-selected-entry-up": "اقسم للأعلى"
"tree-view:open-selected-entry-down": "اقسم للأسفل"
"tree-view:open-selected-entry-left": "اقسم يسارا"
"tree-view:open-selected-entry-right": "اقسم يمينا"
# "tree-view:open-selected-entry-up": "اقسم للأعلى"
# "tree-view:open-selected-entry-down": "اقسم للأسفل"
# "tree-view:open-selected-entry-left": "اقسم يسارا"
# "tree-view:open-selected-entry-right": "اقسم يمينا"
"application:add-project-folder": "أضف مجلد مشروع"
"tree-view:copy-full-path": "انسخ كامل المسار"
"tree-view:copy-project-path": "انسخ مسار المشروع"
Expand All @@ -79,12 +81,14 @@ Context:
"tree-view:copy": "انسخ"
"tree-view:cut": "قص"
"tree-view:paste": "ألصق"
"tree-view:open-selected-entry-up": "اقسم للأعلى"
"tree-view:open-selected-entry-down": "لقسم للأسفل"
"tree-view:open-selected-entry-left": "لقسم يسارا"
"tree-view:open-selected-entry-right": "لقسم يمينا"
# "tree-view:open-selected-entry-up": "اقسم للأعلى"
# "tree-view:open-selected-entry-down": "لقسم للأسفل"
# "tree-view:open-selected-entry-left": "لقسم يسارا"
# "tree-view:open-selected-entry-right": "لقسم يمينا"
"application:add-project-folder": "إضافة مجلد مشروع"
"tree-view:remove-project-folder": "حذف مجلد مشروع"
# added for atom/tree-view
"tree-view:collapse-all": "Collapse All Project Folders"
"tree-view:copy-full-path": "انسخ كامل المسار"
"tree-view:copy-project-path": "انسخ مسار المشروع"
"tree-view:open-in-new-window": "افتح في نافذة جديدة"
Expand All @@ -94,8 +98,8 @@ Context:
"tree-view:show-in-file-manager": "اعرض في المستكشف"
".platform-linux .tree-view .full-menu":
"tree-view:show-in-file-manager": "اعرض في مدير الملفات"
".tree-view li.directory":
"project-find:show-in-current-directory": "ابحث في الدليل"
# ".tree-view li.directory":
# "project-find:show-in-current-directory": "ابحث في الدليل"
".tree-view .multi-select":
"tree-view:remove": "احذف"
"tree-view:copy": "انسخ"
Expand All @@ -118,3 +122,77 @@ Context:
"tree-view:show-current-file-in-file-manager": "اعرض في المستكشف"
".platform-linux atom-text-editor:not([mini])":
"tree-view:show-current-file-in-file-manager": "اعرض في مدير الملفات"
# added for atom/find-and-replace
".tree-view li.directory":
"project-find:show-in-current-directory": "ابحث في الدليل"
".list-item.match-row":
"find-and-replace:open-in-new-tab": "Open in New Tab"
"core:copy": "'Copy"
"find-and-replace:copy-path": "Copy Path"
".list-item.path-row":
"find-and-replace:open-in-new-tab": "Open in New Tab"
"find-and-replace:copy-path": "Copy Path"
# added for atom/github/menu/git.cson
".github-FilePatchListView-item":
"github:jump-to-file": "Jump to File"
".github-FilePatchView--staged":
"github:jump-to-file": "Jump to File"
"core:confirm": "Unstage Selection"
".github-FilePatchView--unstaged":
"github:jump-to-file": "Jump to File"
"core:confirm": "Stage Selection"
"github:discard-selected-lines": "Discard Selection"
"github-DotComMarkdownHtml .issue-link":
"github:open-link-in-new-tab": "Open in New Tab"
"github:open-link-in-this-tab": "Open in This Tab"
"github:open-link-in-browser": "Open in Browser"
".github-CommitView":
"github:toggle-expanded-commit-message-editor": "Toggle Expanded Commit Message Editor"
".item-views > atom-text-editor":
"github:view-unstaged-changes-for-current-file": "View Unstaged Changes"
"github:view-staged-changes-for-current-file": "View Staged Changes"
".github-PushPull":
"github:fetch": "Fetch"
"github:pull": "Pull"
"github:push": "Push"
"github:force-push": "Force Push"
".most-recent":
"github:amend-last-commit": "Amend"
".github-RecentCommit":
"github:copy-commit-sha": "Copy Commit SHA"
"github:copy-commit-subject": "Copy Commit Subject"
# added for atom/github/lib/github-package.js
".github-UnstagedChanges .github-FilePatchListView":
"core:confirm": "Stage"
"github:discard-changes-in-selected-files": "Discard Changes"
".github-StagedChanges .github-FilePatchListView":
"core:confirm": "Unstage"
".github-MergeConflictPaths .github-FilePatchListView":
"core:confirm": "Stage"
"github:resolve-file-as-ours": "Resolve File As Ours"
"github:resolve-file-as-theirs": "Resolve File As Theirs"
# added for packages/link
"atom-text-editor .syntax--markup.syntax--underline.syntax--link":
"link:open": "Open link"
# added for atom/markdown-preview
".markdown-preview":
"markdown-preview:select-all": "Select All"
"core:save-as": "Save As HTML\u2026"
".markdown-preview.has-selection":
"core:copy": "Copy"
".markdown-preview:not(.has-selection)":
"core:copy": "Copy As HTML"
".tree-view .file .name[data-name$=\\.markdown]":
"markdown-preview:preview-file": "Markdown Preview"
".tree-view .file .name[data-name$=\\.md]":
"markdown-preview:preview-file": "Markdown Preview"
".tree-view .file .name[data-name$=\\.mdown]":
"markdown-preview:preview-file": "Markdown Preview"
".tree-view .file .name[data-name$=\\.mkd]":
"markdown-preview:preview-file": "Markdown Preview"
".tree-view .file .name[data-name$=\\.mkdown]":
"markdown-preview:preview-file": "Markdown Preview"
".tree-view .file .name[data-name$=\\.ron]":
"markdown-preview:preview-file": "Markdown Preview"
".tree-view .file .name[data-name$=\\.txt]":
"markdown-preview:preview-file": "Markdown Preview"
174 changes: 172 additions & 2 deletions def/ar/menu_darwin.cson
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ Menu:
value: "اطو"
Unfold:
value: "ابسط"
"Unfold All":
value: "اطو الكل"
"Fold All":
value: "ابسط الكل"
"Unfold All":
value: "اطو الكل"
"Fold Level 1":
value: "اطو المستوى 1"
"Fold Level 2":
Expand Down Expand Up @@ -225,6 +225,14 @@ Menu:
value: "بدل اللف السلس"
"Toggle Command Palette":
value: "بدل لوحة الأوامر"
# added the following menus, for "Packages"->"GitHub"
"Toggle Git Tab":
value: "Toggle Git Tab"
"Toggle GitHub Tab":
value: "Toggle GitHub Tab"
"Open Reviews Tab":
value: "Open Reviews Tab"
#
"Toggle Tree View":
value: "بدل العرض الشجري"
Selection:
Expand Down Expand Up @@ -295,6 +303,168 @@ Menu:
value: "ابحث عن ملف معدل"
Packages:
value: "الحزم"
submenu:
"Bracket Matcher":
value: "Bracket Matcher"
submenu:
"Go To Matching Bracket":
value: "Go To Matching Bracket"
"Select Inside Brackets":
value: "Select Inside Brackets"
"Remove Brackets From Selection":
value: "Remove Brackets From Selection"
"Close Current Tag":
value: "Close Current Tag"
"Remove Matching Brackets":
value: "Remove Matching Brackets"
"Select Matching Brackets":
value: "Select Matching Brackets"
"Command Palette":
value: "Command Palette"
submenu:
"Toggle":
value: "Toggle"
"Dev Live Reload":
value: "Dev Live Reload"
submenu:
"Reload All Styles":
value: "Reload All Styles"
"Git Diff":
value: "Git Diff"
submenu:
"Move to Next Diff":
value: "Move to Next Diff"
"Move to Previous Diff":
value: "Move to Previous Diff"
"Toggle Diff List":
value: "Toggle Diff List"
"GitHub":
value: "GitHub"
submenu:
"Toggle Git Tab":
value: "Toggle Git Tab"
"Toggle GitHub Tab":
value: "Toggle GitHub Tab"
"Open Reviews Tab":
value: "Open Reviews Tab"
"Keybinding Resolver":
value: "Keybinding Resolver"
submenu:
"Toggle":
value: "Toggle"
"Go To Matching Bracket":
value: "Go To Matching Bracket"
"Markdown Preview":
value: "Markdown Preview"
submenu:
"Toggle Preview":
value: "Toggle Preview"
"Toggle Break on Single Newline":
value: "Toggle Break on Single Newline"
"Toggle GitHub Style":
value: "Toggle GitHub Style"
"Open On GitHub":
value: "Open On GitHub"
submenu:
"Blame":
value: "Blame"
"Branch Compare":
value: "Branch Compare"
"Copy URL":
value: "Copy URL"
"File":
value: "File"
"File on Master":
value: "File on Master"
"History":
value: "History"
"Issues":
value: "Issues"
"Pull Requests":
value: "Pull Requests"
"Repository":
value: "Repository"
"Package Generator":
value: "Package Generator"
submenu:
"Generate Atom Package":
value: "Generate Atom Package"
"Generate Atom Syntax Theme":
value: "Generate Atom Syntax Theme"
"Settings View":
value: "Settings View"
submenu:
"Open":
value: "Open"
"Show Keybindings":
value: "Show Keybindings"
"Install Packages/Themes":
value: "Install Packages/Themes"
"Update Packages/Themes":
value: "Update Packages/Themes"
"Manage Packages":
value: "Manage Packages"
"Manage Themes":
value: "Manage Themes"
"Snippets":
value: "Snippets"
submenu:
"Expand":
value: "Expand"
"Next Stop":
value: "Next Stop"
"Previous Stop":
value: "Previous Stop"
"Available":
value: "Available"
"Spell Check":
value: "Spell Check"
submenu:
"Toggle":
value: "Toggle"
"Styleguide":
value: "Styleguide"
submenu:
"Show":
value: "Show"
"Symbols":
value: "Symbols"
submenu:
"File Symbols":
value: "File Symbols"
"Project Symbols":
value: "File Symbols"
"Timecop":
value: "Timecop"
submenu:
"Show":
value: "Show"
"Tree View":
value: "Tree View"
submenu:
"Focus":
value: "Focus"
"Toggle":
value: "Toggle"
"Reveal Active File":
value: "Reveal Active File"
"Toggle Tree Side":
value: "Toggle Tree Side"
"Whitespace":
value: "Whitespace"
submenu:
"Remove Trailing Whitespace":
value: "Remove Trailing Whitespace"
"Save With Trailing Whitespace":
value: "Save With Trailing Whitespace"
"Save Without Trailing Whitespace":
value: "Save Without Trailing Whitespace"
"Convert Tabs To Spaces":
value: "Convert Tabs To Spaces"
"Convert Spaces To Tabs":
value: "Convert Spaces To Tabs"
"Convert All Tabs To Spaces":
value: "Convert All Tabs To Spaces"
Window:
value: "النافذة"
submenu:
Expand Down
Loading