mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
ok awesome third levle
This commit is contained in:
parent
2ca8d2a7bb
commit
f49937c935
2 changed files with 18 additions and 0 deletions
|
@ -244,6 +244,11 @@ exports.strings = {
|
||||||
'zh_CN': '语言重置为默认的 {locale}'
|
'zh_CN': '语言重置为默认的 {locale}'
|
||||||
},
|
},
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
'show-command': {
|
||||||
|
'__desc__': 'command output from "show"',
|
||||||
|
'en_US': 'Please one of the following commands for more info:'
|
||||||
|
},
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
'cd-command': {
|
'cd-command': {
|
||||||
'__desc__': 'dummy command output for the command in the key',
|
'__desc__': 'dummy command output for the command in the key',
|
||||||
'en_US': 'Directory changed to "/directories/dont/matter/in/this/demo"',
|
'en_US': 'Directory changed to "/directories/dont/matter/in/this/demo"',
|
||||||
|
|
|
@ -32,6 +32,19 @@ var instantCommands = [
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
}],
|
}],
|
||||||
|
[/^show$/, function(bits) {
|
||||||
|
|
||||||
|
lines = [
|
||||||
|
intl.str('show-command'),
|
||||||
|
'show commands',
|
||||||
|
'show solution',
|
||||||
|
'show goal'
|
||||||
|
];
|
||||||
|
|
||||||
|
throw new CommandResult({
|
||||||
|
msg: lines.join('\n')
|
||||||
|
});
|
||||||
|
}],
|
||||||
[/^locale (\w+)$/, function(bits) {
|
[/^locale (\w+)$/, function(bits) {
|
||||||
constants.GLOBAL.locale = bits[1];
|
constants.GLOBAL.locale = bits[1];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue