Skip to content

Commit 9bf2993

Browse files
committed
Added more i18n files
1 parent 804b1df commit 9bf2993

Some content is hidden

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

70 files changed

+640
-141
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changelistItems.select_changelist_new": "Select an existing changelist or create a new",
3+
"changelistItems.changelist_name": "Changelist name",
4+
"changelistItems.changelist_enter_name": "Please enter a changelist name",
5+
"changelistItems.no_changes_commit": "There are no changes to commit.",
6+
"changelistItems.select_changelist_commit": "Select a changelist to commit",
7+
"changelistItems.select_files_commit": "Select files to commit",
8+
"changelistItems.no_changelists_pick": "No changelists to pick from",
9+
"changelistItems.select_changelist": "Select a changelist"
10+
}

i18n/pt-br/out/commands/add.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"add.unable_to_add_file": "Unable to add file"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"changeList.no_version_control": "Files are not under version control and cannot be added to a change list",
3+
"changeList.diff_repo_error": "Unable to add files from different repositories to change list",
4+
"changeList.some_files_untracked": "Some Files are not under version control and cannot be added to a change list",
5+
"changeList.unable_to_remove_file": "Unable to remove file \"{0}\" from changelist",
6+
"changeList.added_files": "Added files \"{0}\" to changelist \"{1}\"",
7+
"changeList.unable_to_add_file": "Unable to add file \"{0}\" to changelist \"{1}\""
8+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"checkout.repo_url": "Repository URL",
3+
"checkout.select_repo_location": "Select Repository Location",
4+
"checkout.folder_name": "Folder name",
5+
"checkout.checkout_repo": "Checkout svn repository '{0}'...",
6+
"checkout.open_checked_out": "Would you like to open the checked out repository?",
7+
"checkout.open_repo": "Open Repository",
8+
"checkout.add_to_workspace": "Add to Workspace",
9+
"checkout.open_or_checkout": "Would you like to open the checked out repository, or add it to the current workspace?"
10+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"command.unable_to_patch": "Unable to patch",
3+
"command.file_ignored": "File(s) is now being ignored",
4+
"command.unable_to_ignore": "Unable to set property ignore"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"deleteUnversioned.delete_selected": "Would you like to delete selected files?",
3+
"deleteUnvirsioned.yes": "Yes",
4+
"deleteUnvirsioned.no": "No"
5+
}

i18n/pt-br/out/commands/log.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"log.unable_to_log": "Unable to log"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"openHeadFile.version_unavailable": "HEAD version of '{0}' is not available."
3+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"promptAuth.username_placeholder": "Svn repository username",
3+
"promptAuth.username_prompt": "Please enter your username",
4+
"promptAuth.password_placeholder": "Svn repository password",
5+
"promptAuth.password_prompt": "Please enter your password"
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"promptRemove.add_to_ignore": "Add to ignored list",
3+
"promptRemove.remove_from_svn": "The file(s) \"{0}\" are removed from disk.\nWould you like remove from SVN?",
4+
"promptRemove.yes": "Yes",
5+
"promptRemove.no": "No"
6+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"pullIncomingChange.unable_to_update": "Unable to update"
3+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"remove.keep_local_copy": "Would you like to keep a local copy of the files?",
3+
"remove.yes": "Yes",
4+
"remove.no": "No",
5+
"remove.unable_to_remove": "Unable to remove files"
6+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"removeUnversioned.remove_all": "Are you sure? This will remove all unversioned files except for ignored.",
3+
"removeUnversioned.yes": "Yes",
4+
"removeUnversioned.no": "No"
5+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"renameExplorer.new_name": "New name name for {0}"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"resolve.select_option": "Select conflict option"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"resolveAll.select_option": "Select conflict option for {0}"
3+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"resolved.mark_resolved": "Mark the conflict as resolved for '{0}'",
3+
"resolved.yes": "Yes",
4+
"resolved.no": "No"
5+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"revert.unable_to_revert": "Unable to revert"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"revertAll.unable_to_revert": "Unable to revert"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"revertExplorer.unable_to_revert": "Unable to revert"
3+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"searchRevision.revision": "Revision?",
3+
"searchRevision.invalid_revision": "Invalid revision",
4+
"searchRevision.unable_to_log": "Unable to log"
5+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"searchText.search_query": "Search query",
3+
"searchText.searching": "Searching Log"
4+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"switchBranch.create_new": "Created new branch {0}",
3+
"switchBranch.commit_message": "Commit message for create branch {0}",
4+
"switchBranch.ancestor_error": "Seems like these branches don't have a common ancestor. Do you want to retry with '--ignore-ancestry' option?",
5+
"switchBranch.yes": "Yes",
6+
"switchBranch.no": "No",
7+
"switchBranch.unable_to_create": "Unable to create new branch",
8+
"switchBranch.unable_to_switch": "Unable to switch branch"
9+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"update.unable": "Unable to update"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"upgrade.yes": "Yes",
3+
"upgrade.no": "No",
4+
"upgrade.dont_show_again": "Don't Show Again",
5+
"upgrade.upgrade_working_copy": "You want upgrade the working copy (svn upgrade)?",
6+
"upgrade.working_copy_upgraded": "Working copy '{0}' upgraded",
7+
"upgrade.upgrade_error": "Error on upgrading working copy '{0}'. See log for more detail"
8+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"conflictItems.base": "base",
3+
"conflictItems.base.description": "Choose the file that was the (unmodified) BASE revision before you tried to integrate changes",
4+
"conflictItems.working": "working",
5+
"conflictItems.working.description": "Assuming that you've manually handled the conflict resolution, choose the version of the file as it currently stands in your working copy.",
6+
"conflictItems.mine_full": "mine-full",
7+
"conflictItems.mine_full.description": "Preserve all local modifications and discarding all changes fetched",
8+
"conflictItems.theirs_full": "theirs-full",
9+
"conflictItems.theirs_full.description": "Discard all local modifications and integrating all changes fetched",
10+
"conflictItems.mine_conflict": "mine-conflict",
11+
"conflictItems.mine_conflict.description": "Resolve conflicted files by preferring local modifications over the changes fetched",
12+
"conflictItems.theirs_conflict": "theirs-conflict",
13+
"conflictItems.theirs_conflict.description": "Resolve conflicted files by preferring the changes fetched from the server over local modifications"
14+
}

i18n/pt-br/out/extension.i18n.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extension.using_svn": "Using svn \"{0}\" from \"{1}\"",
3+
"extension.find_svn_executable": "Find SVN executable",
4+
"extension.svn_download": "Download SVN",
5+
"extension.svn_dont_show": "Don't Show Again",
6+
"extension.svn_not_found": "SVN not found. Install it or configure it using the 'svn.path' setting.",
7+
"extension.update_path": "Updated \"svn.path\" with \"{0}\""
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"branch.checking_remote": "Checking remote branches",
3+
"branch.name": "Please provide a branch name"
4+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"bcp.open_diff": "Open diff"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"common.clipboard_supported": "Clipboard is supported in VS Code 1.30 and newer",
3+
"common.log_entries_dont_exist": "Log entries above do not exist in working copy",
4+
"common.no_working_copy_path": "No working copy for this path",
5+
"common.not_avaialbe_from_copy": "Not available from this working copy: {0}",
6+
"common.not_a_file": "This target is not a file",
7+
"common.failed_open_path": "Failed to open path"
8+
}

i18n/pt-br/out/messages.i18n.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"messages.no_change_to_commit": "There are no changes to commit.",
3+
"messages.commit_message": "Commit Message",
4+
"messages.pick_prev_commit": "Pick a previous commit message",
5+
"messages.enter_commit": "Message (press Ctrl+Enter to commit)",
6+
"messages.commit": "Commit",
7+
"messages.cancel": "Cancel",
8+
"messages.check_empty_commit": "Do you really want to commit an empty message?",
9+
"messages.yes": "Yes"
10+
}

i18n/pt-br/out/repository.i18n.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"repository.inputbox_placeholder": "Message (press Ctrl+Enter to commit)",
3+
"repository.changes": "changes",
4+
"repository.conflicts": "Conflicts",
5+
"repository.unversioned": "Unversioned",
6+
"repository.changelist": "Changelist {0}",
7+
"repository.remote_changes": "Remote Changes",
8+
"repository.create_new_branch": "Created new branch"
9+
}

i18n/pt-br/out/resource.i18n.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"resource.open_diff_head": "Open Diff With Head",
3+
"resource.open_diff_base": "Open Diff With Base",
4+
"resource.renamed_from": "Renamed from {0}",
5+
"resource.property": "Property {0}"
6+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"scm.choose_repo": "Choose a repository"
3+
}

i18n/pt-br/out/svn.i18n.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"svn.failed_to_execute_svn_enoent": "Failed to execute svn (ENOENT)",
3+
"svn.failed_to_execute": "Failed to execute svn"
4+
}

src/changelistItems.ts

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import NewChangeListItem from "./quickPickItems/newChangeListItem";
66
import RemoveChangeListItem from "./quickPickItems/removeChangeListItem";
77
import { Repository } from "./repository";
88
import { FileItem } from "./quickPickItems/fileItem";
9+
import * as nls from "vscode-nls";
10+
11+
const localize = nls.loadMessageBundle();
912

1013
export function getChangelistPickOptions(
1114
repository: Repository,
@@ -70,7 +73,10 @@ export async function inputSwitchChangelist(
7073
);
7174

7275
const selectedChoice: any = await window.showQuickPick(picks, {
73-
placeHolder: "Select an existing changelist or create a new"
76+
placeHolder: localize(
77+
"changelistItems.select_changelist_new",
78+
"Select an existing changelist or create a new"
79+
)
7480
});
7581
if (!selectedChoice) {
7682
return;
@@ -82,8 +88,14 @@ export async function inputSwitchChangelist(
8288
return false;
8389
} else if (selectedChoice instanceof NewChangeListItem) {
8490
const newChangelistName = await window.showInputBox({
85-
placeHolder: "Changelist name",
86-
prompt: "Please enter a changelist name"
91+
placeHolder: localize(
92+
"changelistItems.changelist_name",
93+
"Changelist name"
94+
),
95+
prompt: localize(
96+
"changelistItems.changelist_enter_name",
97+
"Please enter a changelist name"
98+
)
8799
});
88100
if (!newChangelistName) {
89101
return;
@@ -100,7 +112,12 @@ export async function inputCommitChangelist(repository: Repository) {
100112
const picks: ChangeListItem[] = getCommitChangelistPickOptions(repository);
101113

102114
if (picks.length === 0) {
103-
window.showInformationMessage("There are no changes to commit.");
115+
window.showInformationMessage(
116+
localize(
117+
"changelistItems.no_changes_commit",
118+
"There are no changes to commit."
119+
)
120+
);
104121
return;
105122
}
106123

@@ -110,7 +127,10 @@ export async function inputCommitChangelist(repository: Repository) {
110127
choice = picks[0];
111128
} else {
112129
choice = await window.showQuickPick(picks, {
113-
placeHolder: "Select a changelist to commit"
130+
placeHolder: localize(
131+
"changelistItems.select_changelist_commit",
132+
"Select a changelist to commit"
133+
)
114134
});
115135
}
116136

@@ -133,7 +153,10 @@ export async function inputCommitFiles(repository: Repository) {
133153
r => new FileItem(repository, r, selectedAll)
134154
);
135155
const selected = await window.showQuickPick(picks, {
136-
placeHolder: "Select files to commit",
156+
placeHolder: localize(
157+
"changelistItems.select_files_commit",
158+
"Select files to commit"
159+
),
137160
canPickMany: true
138161
});
139162

@@ -163,12 +186,20 @@ export async function getPatchChangelist(repository: Repository) {
163186
const picks: QuickPickItem[] = patchChangelistOptions(repository);
164187

165188
if (!picks.length) {
166-
window.showErrorMessage("No changelists to pick from");
189+
window.showErrorMessage(
190+
localize(
191+
"changelistItems.no_changelists_pick",
192+
"No changelists to pick from"
193+
)
194+
);
167195
return;
168196
}
169197

170198
const selectedChoice: any = await window.showQuickPick(picks, {
171-
placeHolder: "Select a changelist"
199+
placeHolder: localize(
200+
"changelistItems.select_changelist",
201+
"Select a changelist"
202+
)
172203
});
173204
if (!selectedChoice) {
174205
return;

src/commands/add.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { SourceControlResourceState, window } from "vscode";
22
import { Command } from "./command";
3+
import * as nls from "vscode-nls";
4+
5+
const localize = nls.loadMessageBundle();
36

47
export class Add extends Command {
58
constructor() {
@@ -26,7 +29,9 @@ export class Add extends Command {
2629
await repository.addFiles(paths);
2730
} catch (error) {
2831
console.log(error);
29-
window.showErrorMessage("Unable to add file");
32+
window.showErrorMessage(
33+
localize("add.unable_to_add_file", "Unable to add file")
34+
);
3035
}
3136
});
3237
}

0 commit comments

Comments
 (0)