mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-25 21:24:36 +02:00
merge main
This commit is contained in:
commit
80b0233ff4
6 changed files with 14 additions and 8 deletions
|
@ -140,7 +140,8 @@ var ConfirmCancelView = ResolveRejectBase.extend({
|
|||
this.deferred = options.deferred || Q.defer();
|
||||
this.JSON = {
|
||||
confirm: options.confirm || intl.str('confirm-button'),
|
||||
cancel: options.cancel || intl.str('cancel-button')
|
||||
cancel: options.cancel || intl.str('cancel-button'),
|
||||
disableCancelButton: !!options.disableCancelButton,
|
||||
};
|
||||
|
||||
this.render();
|
||||
|
|
|
@ -142,7 +142,8 @@ var InteractiveRebaseView = ContainedBase.extend({
|
|||
// finally get our buttons
|
||||
new ConfirmCancelView({
|
||||
destination: this.$('.confirmCancel'),
|
||||
deferred: deferred
|
||||
deferred: deferred,
|
||||
disableCancelButton: !!this.options.aboveAll,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -725,7 +725,7 @@ exports.level = {
|
|||
"type": "GitDemonstrationView",
|
||||
"options": {
|
||||
"beforeMarkdowns": [
|
||||
"Travaillons mainenant dans cette branche. Appuyez sur le bouton ci-dessous."
|
||||
"Travaillons maintenant dans cette branche. Appuyez sur le bouton ci-dessous."
|
||||
],
|
||||
"afterMarkdowns": [
|
||||
"Oh non! La branche `main` a bougé mais pas la branche `newImage` ! C'est parce que nous n'étions pas \"sur\" la nouvelle branche, comme indiqué par l'astérisque (*) sur `main`."
|
||||
|
|
|
@ -11,7 +11,7 @@ exports.level = {
|
|||
"en_US": "Branch Spaghetti",
|
||||
"fr_FR": "Branche spaghetti",
|
||||
"de_DE": "Branch-Spaghetti",
|
||||
"es_AR": "Enslada de branches",
|
||||
"es_AR": "Ensalada de branches",
|
||||
"es_ES": "Ensalada de ramas",
|
||||
"pt_BR": "Espaguete de ramos",
|
||||
"gl": "Espaguete de ramas",
|
||||
|
|
|
@ -643,7 +643,7 @@ exports.level = {
|
|||
"",
|
||||
"Da du jetzt so ziemlich *alles* kennst, was es an Optionen für `git fetch` und `git push` gibt, ist kaum noch etwas zu Optionen für `git pull` zu sagen. :)",
|
||||
"",
|
||||
"Das liegt daran, dass `git pull` letztendlich *wirklich* nur eine Abkürzuung für `fetch` gefolgt von einem `merge` von dem, was auch immer gerade heruntergeladen wurde, ist. Denk es dir als ein `git fetch` mit denselben Optionen und einem anschließenden Merge.",
|
||||
"Das liegt daran, dass `git pull` letztendlich *wirklich* nur eine Abkürzung für `fetch` gefolgt von einem `merge` von dem, was auch immer gerade heruntergeladen wurde, ist. Denk es dir als ein `git fetch` mit denselben Optionen und einem anschließenden Merge.",
|
||||
"",
|
||||
"Das trifft sogar zu, wenn du völlig abgedrehte Optionen verwendest. Ein paar Beispiele:"
|
||||
]
|
||||
|
|
|
@ -326,9 +326,13 @@
|
|||
</script>
|
||||
|
||||
<script type="text/html" id="confirm-cancel-template">
|
||||
<button class="noStyle box cancelButton uiButton uiButtonRed">
|
||||
<%= cancel %>
|
||||
</button>
|
||||
<% if (disableCancelButton) { %>
|
||||
<span></span>
|
||||
<% } else { %>
|
||||
<button class="noStyle box cancelButton uiButton uiButtonRed">
|
||||
<%= cancel %>
|
||||
</button>
|
||||
<% } %>
|
||||
<button class="noStyle box confirmButton uiButton uiButtonYellow">
|
||||
<%= confirm %>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue