diff -ruN orig/index.html mod/index.html --- orig/index.html +++ mod/index.html @@ -2,33 +2,11 @@ + Learn Git Branching - - - - - - - - - - - - - - - - - - - - - - - @@ -523,164 +501,12 @@
- - - - - - - - - - - - - diff -ruN orig/src/js/app/index.js mod/src/js/app/index.js --- orig/src/js/app/index.js +++ mod/src/js/app/index.js @@ -120,21 +120,8 @@ $('body').toggleClass('hgMode', !isGit); }; -var insertAlternateLinks = function(pageId) { - // For now pageId is null, which would link to the main page. - // In future if pageId is provided this method should link to a specific page - - // The value of the hreflang attribute identifies the language (in ISO 639-1 format) - // and optionally a region (in ISO 3166-1 Alpha 2 format) of an alternate URL - - var altLinks = LocaleStore.getSupportedLocales().map(function(langCode) { - var url = "https://learngitbranching.js.org/?locale=" + langCode; - return ''; - }); - var defaultUrl = "https://learngitbranching.js.org/?locale=" + LocaleStore.getDefaultLocale(); - altLinks.push(''); - $('head').prepend(altLinks); - +var insertAlternateLinks = function() { + // FredyGames: no alternate-language links to the original site. }; var intlRefresh = function() { @@ -268,28 +255,6 @@ commands = [ 'level ' + unescape(params.level), ]; - } else if (params.gist_level_id) { - $.ajax({ - url: 'https://api.github.com/gists/' + params.gist_level_id, - type: 'GET', - dataType: 'jsonp', - success: function(response) { - var data = response.data || {}; - var files = data.files || {}; - if (!Object.keys(files).length) { - console.warn('no files found'); - return; - } - var file = files[Object.keys(files)[0]]; - if (!file.content) { - console.warn('file empty'); - } - eventBaton.trigger( - 'commandSubmitted', - 'importLevelNow ' + escape(file.content) + '; clear; show goal;' - ); - } - }); } else if (!params.hasOwnProperty('NODEMO')) { commands = [ "help;", diff -ruN orig/src/js/dialogs/sandbox.js mod/src/js/dialogs/sandbox.js --- orig/src/js/dialogs/sandbox.js +++ mod/src/js/dialogs/sandbox.js @@ -20,7 +20,7 @@ '', 'PS: Want to go straight to a sandbox next time?', 'Try out ', - '[this special link](https://pcottle.github.io/learnGitBranching/?NODEMO).' + 'this special link.' ] } }], @@ -43,7 +43,7 @@ '', 'PS: अगली बार सीधे sandbox में जाना चाहते हैं?', 'ट्राई करें ', - '[यह special link](https://pcottle.github.io/learnGitBranching/?locale=hi_IN&NODEMO)' + 'यह special link' ] } }], @@ -66,7 +66,7 @@ '', 'পুনশ্চ: পরের বার সরাসরি sandbox-এ যেতে চাও?', 'এটি চেষ্টা করো: ', - '[এই বিশেষ লিংক](https://pcottle.github.io/learnGitBranching/?NODEMO)।' + 'এই বিশেষ লিংক।' ] } }], @@ -85,11 +85,11 @@ '', 'Si no viste la demo, mirala en esta dirección:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=es_AR&demo](https://pcottle.github.io/learnGitBranching/?locale=es_AR&demo)', + '[?locale=es_AR&demo](?locale=es_AR&demo)', '', '¿Querés dejar de ver este mensaje? Agregale `NODEMO` a la URL para dejar de verlo, como en este link:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=es_AR&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=es_AR&NODEMO)' + '[?locale=es_AR&NODEMO](?locale=es_AR&NODEMO)' ] } }, { @@ -141,11 +141,11 @@ '', 'Si no viste la demo, mirala en ésta dirección:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=es_MX&demo](https://pcottle.github.io/learnGitBranching/?locale=es_MX&demo)', + '[?locale=es_MX&demo](?locale=es_MX&demo)', '', '¿Harto de este mensaje? Agregale `NODEMO` a la URL para dejar de verlo, como en éste link:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=es_MX&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=es_MX&NODEMO)' + '[?locale=es_MX&NODEMO](?locale=es_MX&NODEMO)' ] } }, { @@ -197,11 +197,11 @@ '', 'Si no viste la demo, mírala en esta dirección:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=es_ES&demo](https://pcottle.github.io/learnGitBranching/?locale=es_ES&demo)', + '[?locale=es_ES&demo](?locale=es_ES&demo)', '', '¿Harto de este mensaje? Agrégale `NODEMO` a la URL para dejar de verlo, como en este link:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=es_ES&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=es_ES&NODEMO)' + '[?locale=es_ES&NODEMO](?locale=es_ES&NODEMO)' ] } }, { @@ -256,10 +256,10 @@ '', 'PS: Quer ir direto para um ambiente de testes na próxima vez?', 'Experimente ', - '[este link especial](https://pcottle.github.io/learnGitBranching/?NODEMO).', + 'este link especial.', '', 'PPS: O GitHub começou a nomear a branch padrão como `main` em vez de `master` ', - 'para migrar de uma terminologia enviesada [(mais detalhes disponíveis aqui)](https://github.com/github/renaming).', + 'para migrar de uma terminologia enviesada (mais detalhes disponíveis aqui).', 'Seguindo essa tendência da indústria, também atualizamos o "Learn Git Branching", para ', 'usar `main` em vez de `master` em nossas lições. A mudança de nomes já deve estar bastante estável por', 'enquanto, mas se você notar algum erro, fique à vontade para enviar um PR (ou abrir uma issue).' @@ -285,7 +285,7 @@ '', 'PS: Queres ir diretamente para a sandbox da próxima vez?', 'Experimenta ', - '[este link especial](https://pcottle.github.io/learnGitBranching/?locale=pt_PT&NODEMO).' + 'este link especial.' ] } }], @@ -304,11 +304,11 @@ '', 'Se aínda non viches a demo, olla aquí:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=gl&demo](https://pcottle.github.io/learnGitBranching/?locale=gl&demo)', + '[?locale=gl&demo](?locale=gl&demo)', '', '¿Farto destas mensaxes? Engade `NODEMO` á dirección para librarte dela, como no link de abaixo:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=gl&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=gl&NODEMO)' + '[?locale=gl&NODEMO](?locale=gl&NODEMO)' ] } }, { @@ -357,11 +357,11 @@ '', 'Falls du die Demonstration noch nicht gesehen hast, schau sie dir hier an:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=de_DE&demo](https://pcottle.github.io/learnGitBranching/?locale=de_DE&demo)', + '[?locale=de_DE&demo](?locale=de_DE&demo)', '', 'Genervt von diesem Fenster? Häng `NODEMO` an die URL um es los zu werden, so wie hier:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=de_DE&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=de_DE&NODEMO)' + '[?locale=de_DE&NODEMO](?locale=de_DE&NODEMO)' ] } }, { @@ -413,11 +413,11 @@ '', '簡単なデモを用意してあるので、もしよければこちらもご覧ください:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=ja&demo](https://pcottle.github.io/learnGitBranching/?demo&locale=ja)', + '[?locale=ja&demo](?demo&locale=ja)', '', 'このダイアログ自体を省略するには、以下のようにURLの末尾にクエリストリング`NODEMO`を付加してアクセスしてください。', '', - '[https://pcottle.github.io/learnGitBranching/?locale=ja&NODEMO](https://pcottle.github.io/learnGitBranching/?NODEMO&locale=ja)' + '[?locale=ja&NODEMO](?NODEMO&locale=ja)' ] } }, { @@ -454,7 +454,7 @@ '', 'それでは教材の選択画面に進んでみることにします。', '', - '(なお、日本語版製作者のフォークサイトは[こちら](https://remore.github.io/learnGitBranching-ja/)になります。)' + '(なお、日本語版製作者のフォークサイトはこちらになります。)' ] } }], @@ -475,7 +475,7 @@ '', '如果你还没看过演示,请[到此](?demo)查看。', '', - 'PS:想直接进入沙盒? 在 URL 后头加上 `NODEMO` 就可以了,试一下[这个链接](https://pcottle.github.io/learnGitBranching/?locale=zh_CN&NODEMO)' + 'PS:想直接进入沙盒? 在 URL 后头加上 `NODEMO` 就可以了,试一下这个链接' ] } }], @@ -492,11 +492,11 @@ '', '如果你還沒看過演示,請到此查看:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=zh_TW&demo](https://pcottle.github.io/learnGitBranching/?locale=zh_TW&demo)', + '[?locale=zh_TW&demo](?locale=zh_TW&demo)', '', '厭煩這個對話視窗嗎?在 URL 後頭加上 `NODEMO` 就看不到它了,也可以直接點下邊這個連結:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=zh_TW&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=zh_TW&NODEMO)' + '[?locale=zh_TW&NODEMO](?locale=zh_TW&NODEMO)' ] } }, { @@ -548,15 +548,15 @@ '', '터미널에서 `show commands`로 사용 가능한 모든 명령어를 볼 수 있습니다.', '', - '[안내1] 데모링크로 바로가기 [이동](https://pcottle.github.io/learnGitBranching/?demo&locale=ko)', + '[안내1] 데모링크로 바로가기 이동', '', '[안내2] GitHub는 편향된 용어에서 벗어나기 위해', '기본 브랜치의 이름을 `master` 대신 `main`으로 명명하기 시작했습니다.', '이러한 업계 전반의 움직임에 따라, 저희도 `master` 대신 `main`을 사용하도록', '`Git 브랜치 배우기` 강의를 업데이트했습니다.', - '해당 사항이 반영되지 않은 오류가 발견될 시 언제든지 PR을 제출(또는 이슈를 오픈)해 주세요.[참고](https://github.com/github/renaming)', + '해당 사항이 반영되지 않은 오류가 발견될 시 언제든지 PR을 제출(또는 이슈를 오픈)해 주세요.참고', '', - '이 애플리케이션은 [Peter Cottle](https://github.io/pcottle)님의 [LearnGitBranching](https://pcottle.github.io/learnGitBranching/)를 번역한 것입니다.', + '이 애플리케이션은 Peter Cottle님의 LearnGitBranching를 번역한 것입니다.', ] } }, { @@ -606,11 +606,11 @@ '', 'Si vous n\'avez pas vu la démo, vous pouvez le faire là :', '', - '[https://pcottle.github.io/learnGitBranching/?locale=fr_FR&demo](https://pcottle.github.io/learnGitBranching/?locale=fr_FR&demo)', + '[?locale=fr_FR&demo](?locale=fr_FR&demo)', '', 'Agacé par ce dialogue ? Ajoutez `NODEMO` à l\'URL pour le supprimer, en lien ci-dessous pour votre commodité :', '', - '[https://pcottle.github.io/learnGitBranching/?locale=fr_FR&NODEMO](https://pcottle.github.io/learnGitBranching/?locale=fr_FR&NODEMO)' + '[?locale=fr_FR&NODEMO](?locale=fr_FR&NODEMO)' ] } }, { @@ -684,10 +684,10 @@ "", "P.S. Vrei să ajungi direct în sandbox data viitoare?", "Încearcă ", - "[acest link special](https://pcottle.github.io/learnGitBranching/?NODEMO)", + "acest link special", "", "P.S.S. GitHub a început să numească ramura implicită `main` în loc de `master` ", - "pentru a migra de la terminologia învechită [(mai multe detalii disponibile aici)](https://github.com/github/renaming).", + "pentru a migra de la terminologia învechită (mai multe detalii disponibile aici).", "În conformitate cu acest demers la nivel de industrie, am actualizat și noi „Learn Git Branching” pentru ", "a utiliza `main` în loc de `master` în lecțiile noastre. Această redenumire ar trebui să fie destul de consistentă deja, ", "însă dacă observi vreo eroare, nu ezita să trimiți un PR (sau să deschizi o problemă).", @@ -713,10 +713,10 @@ '', 'PS: Искаш да отидеш директно в пясъчника (sandbox) следващия път?', 'Пробвай ', - '[този специален линк](https://pcottle.github.io/learnGitBranching/?NODEMO)', + 'този специален линк', '', 'PPS: GitHub започна да именува основния клон `main` вместо `master`, ', - 'за да се отдалечи от терминология с предразсъдъци [(повече детайли тук)](https://github.com/github/renaming). ', + 'за да се отдалечи от терминология с предразсъдъци (повече детайли тук). ', 'В съответствие с това движение в цялата индустрия, ние също актуализирахме "Learn Git Branching", за да ', 'използва `main` вместо `master` в нашите уроци. Това преименуване би трябвало да е доста последователно ', 'към момента, но ако забележиш грешки, чувствай се свободен да изпратиш PR (или да отвориш issue).' @@ -738,11 +738,11 @@ '', 'Если ты не видел демонстрацию – посмотри её тут:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=ru_RU&demo](https://pcottle.github.io/learnGitBranching/?locale=ru_RU&demo)', + '[?locale=ru_RU&demo](?locale=ru_RU&demo)', '', 'Достало это сообщение? Добавь `NODEMO` к адресу и навсегда забудь о нём, ниже ссылка для удобства:', '', - '[https://pcottle.github.io/learnGitBranching/?locale=ru_RU&NODEMO](?locale=ru_RU&NODEMO)' + '[./?locale=ru_RU&NODEMO](?locale=ru_RU&NODEMO)' ] } }, { @@ -797,7 +797,7 @@ '', 'P.S. Хочеш перейти одразу до пісочниці наступного разу?', 'Спробуй ', - '[це спеціальне посилання.](https://pcottle.github.io/learnGitBranching/?locale=uk&NODEMO)' + 'це спеціальне посилання.' ] } }], @@ -819,10 +819,10 @@ '', 'Ghi chú: Nếu muốn trực tiếp vào hộp cát (sandbox) ở lần sau?', 'Hãy dùng', - '[đường link đặc biệt này của chúng tôi](https://pcottle.github.io/learnGitBranching/?locale=vi&NODEMO)', + 'đường link đặc biệt này của chúng tôi', '', 'Tái bút: GitHub đã đổi tên cho nhánh mặc định là `main` thay vì `master` ', - 'nhằm tránh dùng thuật ngữ có xu hướng thiên vị [(xem chi tiết tại đây)](https://github.com/github/renaming). ', + 'nhằm tránh dùng thuật ngữ có xu hướng thiên vị (xem chi tiết tại đây). ', 'Để bắt kịp xu hướng công nghệ này, chúng tôi cũng đã cập nhật "Học Nhánh Git" sử ', 'dụng `main` thay thế cho `master` trong các bài học. Việc đổi tên được thực hiện khá nhất quán cho đến ', 'thời điểm hiện tại, nhưng nếu bạn phát hiện bất kỳ lỗi nào, đừng ngần ngại mà gửi một pull request (PR), hoặc tạo một vấn đề (New issue).' @@ -848,7 +848,7 @@ '', 'PS: Bi šel rad naslednjič naravnost v peskovnik?', 'Poizkusi s', - '[to posebno povezavo](https://pcottle.github.io/learnGitBranching/?locale=sl_SI&NODEMO)' + 'to posebno povezavo' ] } }], @@ -868,9 +868,9 @@ '', 'Możesz zobaczyć wszystkie komendy wpisując `show commands` w terminalu.', '', - 'Chcesz następnym razem przejść prosto do trybu piaskownicy? Kilknij [tutaj](https://pcottle.github.io/learnGitBranching/?locale=pl&NODEMO)', + 'Chcesz następnym razem przejść prosto do trybu piaskownicy? Kilknij tutaj', '', - 'PS. GitHub zaczął nazywać domyślną gałąź `main` zamiast `master`, aby odejść od tendencyjnej terminologii. [(więcej informacji tutaj)](https://github.com/github/renaming)', + 'PS. GitHub zaczął nazywać domyślną gałąź `main` zamiast `master`, aby odejść od tendencyjnej terminologii. (więcej informacji tutaj)', 'Zgodnie z tym ogólnobranżowym ruchem, zaktualizowaliśmy również "Learn Git Branching", by używać `main` zamiast `master` w naszych zadaniach.', 'Ta zmiana nazwy powinna być już w miarę spójna, ale jeśli zauważysz jakieś błędy, nie krępuj się dodać pull request (lub zgłosić issue na githubie - prawy górny róg).' ] @@ -894,7 +894,7 @@ 'అందుబాటులో ఉన్న అన్ని కమాండ్లను చూడాలంటే టెర్మినల్‌లో `show commands` టైప్ చేయండి.', '', 'గమనిక: తర్వాతిసారి నేరుగా sandbox లోకి వెళ్ళాలనుకుంటున్నారా? ', - '[ఈ ప్రత్యేక లింక్](https://pcottle.github.io/learnGitBranching/?locale=te_IN&NODEMO) ప్రయత్నించండి.' + 'ఈ ప్రత్యేక లింక్ ప్రయత్నించండి.' ] } }], @@ -918,10 +918,10 @@ '', 'பின்குறிப்பு: அடுத்தமுறை நேராக sandbox செல்ல வேண்டுமா?', 'அப்படியானால் பின் வரும் இணைப்பை பயன்பாடித்துக ', - '[this special link](https://pcottle.github.io/learnGitBranching/?locale=ta_IN&NODEMO)', + 'this special link', '', 'பின்குறிப்பு: GitHub (பெரிய அளவில் பயன்பாட்டில் உள்ள இணையதலம்) `main` என்ற கிளையை `master`-க்கு பதில் ', - 'முன்னிருப்பு கிளையாக பயன் படுத்த உள்ளது [more details available here](https://github.com/github/renaming). ', + 'முன்னிருப்பு கிளையாக பயன் படுத்த உள்ளது more details available here. ', 'இந்த மாற்றத்தை பின்னோக்கி இணக்கமான வழியில் பொருத்துவதற்காக, `main`-ஐ முதன்மையாக கருதி ', 'இந்த இரண்டு பெயர்களும் ஒன்றுக்கொன்று மாற்றுப்பெயர்களாகக் கருதப்படும். ', 'இந்த மாற்றத்தை அனைத்து நிலை உள்ளடக்கங்களிலும் புதுப்பிக்க நாங்கள் சிறந்த முயற்சியை ', @@ -950,10 +950,10 @@ "", "PS: Preferisci andare direttamente al sandbox?", "Prova ", - "[questo link](https://pcottle.github.io/learnGitBranching/?NODEMO?locale=it_IT).", + "questo link.", "", "PPS: GitHub (e il settore in generale) sta modificando il nome del ramo di default in `main` invece che `master` ", - "(leggi [qui per ulteriori dettagli](https://github.com/github/renaming)). Per adattarci a questo cambiamento ", + "(leggi qui per ulteriori dettagli). Per adattarci a questo cambiamento ", "mantenendo la retrocompatibilità, questi nomi saranno considerati equivalenti. `main` sarà comunque ", "il nome predefinito. Ci siamo impegnati per aggiornare tutti i livelli ma ci sarà ", "sicuramente qualcosa che potremmo aver dimenticato. Esegui una PR (o segnala un problema) se ne trovi. ", @@ -981,10 +981,10 @@ '', 'Not: Bir sonraki seferde doğrudan bir deneme ortamına gitmek mi istiyorsunuz\?', 'Denemek için bu özel bağlantıyı kullanın: ', - '[özel bağlantı](https://pcottle.github.io/learnGitBranching/?NODEMO)', + 'özel bağlantı', '', 'Not: GitHub, önyargılı terimlerden uzaklaşmak için varsayılan Branch ismini `master` yerine `main` ', - 'olarak adlandırmaya başladı [(daha fazla detay için tıklayın)](https://github.com/github/renaming). ', + 'olarak adlandırmaya başladı (daha fazla detay için tıklayın). ', 'Biz de sektör genelindeki harekete uygun olarak, "Learn Git Branching" ', 'derslerimizde de `master` yerine `main` kullanımını güncelledik. Bu adlandırmanın ', 'şu anda oldukça tutarlı olması gerekiyor, ancak herhangi bir hata fark ederseniz,', @@ -1011,10 +1011,10 @@ '', 'Tipp: Legközelebb rögtön a homokozóba szeretnél ugrani? ', 'Próbáld ki ezt a speciális linket: ', - '[speciális link](https://pcottle.github.io/learnGitBranching/?NODEMO)', + 'speciális link', '', 'Megjegyzés: A GitHub az elfogult szóhasználattól való eltávolodás érdekében az alapértelmezett ág nevét ', - '`master`-ről `main`-re változtatta [(részletek itt)](https://github.com/github/renaming). ', + '`master`-ről `main`-re változtatta (részletek itt). ', 'Ezzel az iparági változással összhangban a "Learn Git Branching" is ', 'frissítette a leckéit: `master` helyett `main` szerepel. Ez a névváltoztatás ', 'már nagyrészt következetesen érvényesül, de ha hibát találsz, nyugodtan küldj PR-t (vagy nyiss egy issue-t).' diff -ruN orig/src/js/git/commands.js mod/src/js/git/commands.js --- orig/src/js/git/commands.js +++ mod/src/js/git/commands.js @@ -1152,8 +1152,8 @@ var commandOptions = commands[command]; // Add command name with documentation link (skip for custom commands) if (customCommands.indexOf(command) === -1) { - var docUrl = 'https://git-scm.com/docs/git-' + command; - lines.push('git ' + command + ' - 📖 Docs'); + // FredyGames: no documentation links to other sites + lines.push('git ' + command + ''); } else { lines.push('git ' + command + ''); } diff -ruN orig/src/js/log/index.js mod/src/js/log/index.js --- orig/src/js/log/index.js +++ mod/src/js/log/index.js @@ -1,11 +1,6 @@ -var log = function(category, action, label) { - window.gtag = window.gtag || function() {}; - window.gtag('event', action, { - 'event_category': category, - 'event_label': label - }); - //console.log('just logged ', [category, action, label].join('|')); +var log = function() { + // FredyGames: no usage statistics are sent anywhere. }; exports.viewInteracted = function(viewName) { diff -ruN orig/src/js/react_views/MainHelperBarView.jsx mod/src/js/react_views/MainHelperBarView.jsx --- orig/src/js/react_views/MainHelperBarView.jsx +++ mod/src/js/react_views/MainHelperBarView.jsx @@ -68,11 +68,6 @@ }); }.bind(this), title: intl.str('main-helper-bar-languages') - }, { - newPageLink: true, - icon: 'fa-brands fa-threads', - href: 'https://www.threads.net/@pcottle', - title: intl.str('main-helper-bar-threads') }]; } diff -ruN orig/src/js/sandbox/commands.js mod/src/js/sandbox/commands.js --- orig/src/js/sandbox/commands.js +++ mod/src/js/sandbox/commands.js @@ -229,8 +229,8 @@ var commandParts = command.split(' '); if (commandParts[0] === 'git' && commandParts[1] && customGitCommands.indexOf(commandParts[1]) === -1) { var gitCommand = commandParts[1]; - var docUrl = 'https://git-scm.com/docs/git-' + gitCommand; - lines.push('' + command + ' - 📖 Docs'); + // FredyGames: no documentation links to other sites + lines.push('' + command + ''); } else { lines.push('' + command + ''); } @@ -350,8 +350,8 @@ var fullName = vcs + ' ' + method; // same documentation link treatment as `show commands` if (vcs === 'git' && customGitCommands.indexOf(method) === -1) { - var docUrl = 'https://git-scm.com/docs/git-' + method; - lines.push('' + fullName + ' - 📖 Docs'); + // FredyGames: no documentation links to other sites + lines.push('' + fullName + ''); } else { lines.push('' + fullName + ''); } diff -ruN orig/src/js/sandbox/index.js mod/src/js/sandbox/index.js --- orig/src/js/sandbox/index.js +++ mod/src/js/sandbox/index.js @@ -332,7 +332,7 @@ sharePermalink(command, deferred) { var treeJSON = JSON.stringify(this.mainVis.gitEngine.exportTree()); var url = - 'https://learngitbranching.js.org/?NODEMO&command=importTreeNow%20' + escape(treeJSON); + window.location.href.split(/[?#]/)[0] + '?NODEMO&command=importTreeNow%20' + escape(treeJSON); command.setResult( intl.str('sandbox-tree-link') + '\n' + url ); diff -ruN orig/src/js/util/certificate.js mod/src/js/util/certificate.js --- orig/src/js/util/certificate.js +++ mod/src/js/util/certificate.js @@ -49,7 +49,7 @@ 'Cherry-pick & Relative Refs', topicsSecond: 'Undoing Changes • Tags & History • Fetch, Pull & Push', issued: 'ISSUED', - site: 'learngitbranching.js.org' + site: 'Learn Git Branching' }; /** diff -ruN orig/src/js/util/sharing.js mod/src/js/util/sharing.js --- orig/src/js/util/sharing.js +++ mod/src/js/util/sharing.js @@ -1,215 +1,20 @@ /** - * Utility for generating social media sharing URLs. - * Uses each platform's standard deeplink URL scheme to open the composer. - */ - -var intl = require('../intl'); - -var SITE_URL = 'https://learngitbranching.js.org'; - -/** - * Build the share text for a completed level. - * @param {string} levelName Human-readable level name - * @returns {string} - */ -function buildShareText(levelName) { - if (levelName) { - return 'I just completed the "' + levelName + '" level on Learn Git Branching! ' + - 'Learn git interactively at ' + SITE_URL; - } - return 'I just completed a level on Learn Git Branching! ' + - 'Learn git interactively at ' + SITE_URL; -} - -/** - * Build the share text for finishing every level in the game. - * @param {number} levelsTotal How many levels there are - * @returns {string} - */ -function buildAllLevelsShareText(levelsTotal) { - return 'I just completed all ' + levelsTotal + - ' levels of Learn Git Branching and earned my certificate! ' + - 'Learn git interactively at ' + SITE_URL; -} - -/** - * Returns the Twitter/X share URL for a given text. - * @param {string} text - * @returns {string} - */ -function getTwitterUrlForText(text) { - return 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(text); -} - -/** - * Returns the LinkedIn share URL for a given text. - * The share-offsite endpoint only reads the url param and ignores any - * text, so we deeplink into the feed composer which supports prefilled text. - * @param {string} text - * @returns {string} - */ -function getLinkedInUrlForText(text) { - return 'https://www.linkedin.com/feed/?shareActive=true&text=' + - encodeURIComponent(text); -} - -/** - * Returns the Facebook share URL for a given text. - * Facebook policy prohibits prefilling the composer text itself; the quote - * param is the only sanctioned way to attach a message (shown as a quote - * block on the post) and even that is honored inconsistently. - * @param {string} text - * @returns {string} - */ -function getFacebookUrlForText(text) { - return 'https://www.facebook.com/sharer/sharer.php?u=' + - encodeURIComponent(SITE_URL) + - '"e=' + encodeURIComponent(text); -} - -/** - * Returns the Twitter/X share URL for a given level. - * @param {string} levelName - * @returns {string} - */ -function getTwitterUrl(levelName) { - return getTwitterUrlForText(buildShareText(levelName)); -} - -/** - * Returns the LinkedIn share URL for a given level. - * @param {string} levelName - * @returns {string} - */ -function getLinkedInUrl(levelName) { - return getLinkedInUrlForText(buildShareText(levelName)); -} - -/** - * Returns the Facebook share URL for a given level. - * @param {string} levelName - * @returns {string} - */ -function getFacebookUrl(levelName) { - return getFacebookUrlForText(buildShareText(levelName)); -} - -/** - * Open a share URL in a small popup window. - * @param {string} url - */ -function openShareWindow(url) { - var width = 600; - var height = 400; - var left = Math.round((window.screen.width / 2) - (width / 2)); - var top = Math.round((window.screen.height / 2) - (height / 2)); - window.open( - url, - 'share', - 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top + - ',toolbar=no,menubar=no,scrollbars=yes,resizable=yes' - ); -} - -var SHARE_ICONS = { - twitter: '', - linkedin: '', - facebook: '' -}; - -/** - * Escape a string for use inside a double-quoted HTML attribute. - * @param {string} value - * @returns {string} - */ -function escapeAttr(value) { - return String(value) - .replace(/&/g, '&') - .replace(/"/g, '"') - .replace(//g, '>'); -} - -/** - * Markup for one share button. Clicks are handled by delegation on whatever - * container the markup ends up in -- see bindShareButtons. - * @param {string} key twitter | linkedin | facebook - * @param {string} url - * @param {string} label - * @returns {string} - */ -function shareButtonHTML(key, url, label) { - return ''; -} - -/** - * The whole "share your progress" block: a label plus the three network - * buttons, all pointing at the same share text. - * - * @param {string} shareText The message to prefill each composer with - * @param {Object} [options] label: heading text above the buttons - * @returns {string} - */ -function buildShareSectionHTML(shareText, options) { - options = options || {}; - var label = options.label || intl.str('share-progress'); - - return '
' + - '

' + escapeAttr(label) + '

' + - '
' + - shareButtonHTML( - 'twitter', - getTwitterUrlForText(shareText), - intl.str('share-progress-twitter') - ) + - shareButtonHTML( - 'linkedin', - getLinkedInUrlForText(shareText), - intl.str('share-progress-linkedin') - ) + - shareButtonHTML( - 'facebook', - getFacebookUrlForText(shareText), - intl.str('share-progress-facebook') - ) + - '
' + - '
'; -} - -/** - * Wire up share button clicks inside a container via event delegation. - * @param {Object} $container jQuery-wrapped element - */ -function bindShareButtons($container) { - if (!$container) { return; } - $container.on('click', '[data-share-url]', function(e) { - e.preventDefault(); - var url = $(e.currentTarget).attr('data-share-url'); - if (url) { - openShareWindow(url); - } - }); -} + * FredyGames: the original builds links to Twitter/X, LinkedIn and Facebook to share the progress of the + * player. Those buttons were removed; the functions stay (with the same names) so that the callers + * work, and they return nothing. + */ + +function buildShareText() { return ''; } +function buildAllLevelsShareText() { return ''; } +function getTwitterUrl() { return ''; } +function getLinkedInUrl() { return ''; } +function getFacebookUrl() { return ''; } +function getTwitterUrlForText() { return ''; } +function getLinkedInUrlForText() { return ''; } +function getFacebookUrlForText() { return ''; } +function openShareWindow() {} +function buildShareSectionHTML() { return ''; } +function bindShareButtons() {} exports.buildShareText = buildShareText; exports.buildAllLevelsShareText = buildAllLevelsShareText; diff -ruN orig/src/levels/remote/clone.js mod/src/levels/remote/clone.js --- orig/src/levels/remote/clone.js +++ mod/src/levels/remote/clone.js @@ -100,7 +100,7 @@ "", "- More importantly, remotes make coding social! Now that a copy of your project is hosted elsewhere, your friends can contribute to your project (or pull in your latest changes) very easily.", "", - "It's become very popular to use websites that visualize activity around remote repos (like [GitHub](https://github.com/)), but remote repositories _always_ serve as the underlying backbone for these tools. So it's important to understand them!" + "It's become very popular to use websites that visualize activity around remote repos (like GitHub), but remote repositories _always_ serve as the underlying backbone for these tools. So it's important to understand them!" ] } }, @@ -157,7 +157,7 @@ "", "- আরও গুরুত্বপূর্ণ হলো, remote কোডিংকে সামাজিক করে তোলে! এখন তোমার প্রজেক্টের একটি কপি অন্য কোথাও হোস্ট করা আছে, তাই তোমার বন্ধুরা খুব সহজেই তোমার প্রজেক্টে অবদান রাখতে পারে (বা তোমার সর্বশেষ পরিবর্তনগুলো pull করে নিতে পারে)।", "", - "remote repo-কে ঘিরে কার্যকলাপ দেখায় এমন ওয়েবসাইট (যেমন [GitHub](https://github.com/)) ব্যবহার করা খুব জনপ্রিয় হয়ে উঠেছে, কিন্তু এসব টুলের মূল ভিত্তি হিসেবে remote repository _সবসময়ই_ থাকে। তাই এগুলো বোঝা গুরুত্বপূর্ণ!" + "remote repo-কে ঘিরে কার্যকলাপ দেখায় এমন ওয়েবসাইট (যেমন GitHub) ব্যবহার করা খুব জনপ্রিয় হয়ে উঠেছে, কিন্তু এসব টুলের মূল ভিত্তি হিসেবে remote repository _সবসময়ই_ থাকে। তাই এগুলো বোঝা গুরুত্বপূর্ণ!" ] } }, @@ -214,7 +214,7 @@ "", "- مهمتر از آن، ریموت‌ها کدنویسی را اجتماعی می‌کنند! حالا که کپی پروژه شما در جای دیگری میزبانی می‌شود، دوستان شما می‌توانند به راحتی در پروژه شما مشارکت کنند (یا آخرین تغییرات شما را دریافت کنند).", "", - "استفاده از وب‌سایت‌هایی که فعالیت در اطراف مخازن ریموت را به تصویر می‌کشند (مانند [GitHub](https://github.com/)) بسیار محبوب شده است، اما مخازن ریموت _همیشه_ به عنوان ستون فقرات زیربنایی برای این ابزارها عمل می‌کنند. بنابراین درک آن‌ها مهم است!" + "استفاده از وب‌سایت‌هایی که فعالیت در اطراف مخازن ریموت را به تصویر می‌کشند (مانند GitHub) بسیار محبوب شده است، اما مخازن ریموت _همیشه_ به عنوان ستون فقرات زیربنایی برای این ابزارها عمل می‌کنند. بنابراین درک آن‌ها مهم است!" ] } }, @@ -270,7 +270,7 @@ "", "- Plus important encore, les dépôts distants sociabilisent le projet ! Maintenant qu'il est hébergé quelque part ailleurs, vos amis peuvent y contribuer facilement (ou récupérer vos derniers changements).", "", - "Il est devenu courant de visualiser l'activité sur dépôt distant via des sites internet (comme [GitHub](https://github.com/)), mais les dépôts distants servent _toujours_ de colonne vertébrale à ce système. Il est donc important de les comprendre !" + "Il est devenu courant de visualiser l'activité sur dépôt distant via des sites internet (comme GitHub), mais les dépôts distants servent _toujours_ de colonne vertébrale à ce système. Il est donc important de les comprendre !" ] } }, @@ -327,7 +327,7 @@ "", "- Más importante, ¡los remotos sociabilizan la programación! Ahora que hay una copia de tu proyecto hosteada en otro lugar, cualquiera puede contribuir a tu proyecto (o bajarse los últimos cambios) de un modo muy sencillo.", "", - "Se volvió bastante popular el uso de sitios web que muestran la actividad de los repositorios (como [GitHub](https://github.com/)), pero esos repositorios remotos _siempre_ sirven como la base subyacente de esas herramientas. Así que ¡es importante entenderlos!" + "Se volvió bastante popular el uso de sitios web que muestran la actividad de los repositorios (como GitHub), pero esos repositorios remotos _siempre_ sirven como la base subyacente de esas herramientas. Así que ¡es importante entenderlos!" ] } }, @@ -384,7 +384,7 @@ "", "- Más importante, ¡los remotes hacen más social la programación! Ahora que hay una copia de tu proyecto almacenada en otro lugar, tus amigos pueden contribuir a tu proyecto (u obtener los últimos cambios) de un modo muy sencillo.", "", - "Se ha vuelto bastante popular el uso de sitios web que muestran la actividad de los repositorios (como [GitHub](https://github.com/)), pero los repositorios remotos _siempre_ sirven como la base subyacente de esas herramientas. Así que ¡es importante entenderlos!" + "Se ha vuelto bastante popular el uso de sitios web que muestran la actividad de los repositorios (como GitHub), pero los repositorios remotos _siempre_ sirven como la base subyacente de esas herramientas. Así que ¡es importante entenderlos!" ] } }, @@ -441,7 +441,7 @@ "", "- Más importante, ¡los remotos sociabilizan la programación! Ahora que hay una copia de tu proyecto hosteada en otro lugar, tus amigos pueden contribuir a tu proyecto (o bajarse los últimos cambios) de un modo muy sencillo.", "", - "Se volvió bastante popular el uso de sitios web que muestran la actividad de los repositorios (como [GitHub](https://github.com/)), pero esos repositorios remotos _siempre_ sirven como la base subyacente de esas herramientas. Así que ¡es importante entenderlos!" + "Se volvió bastante popular el uso de sitios web que muestran la actividad de los repositorios (como GitHub), pero esos repositorios remotos _siempre_ sirven como la base subyacente de esas herramientas. Así que ¡es importante entenderlos!" ] } }, @@ -498,7 +498,7 @@ "", "- Ainda mais importante, repositórios remotos tornam o desenvolvimento uma atividade social! Agora que uma cópia do seu projeto está hospedada em outro lugar, seus amigos podem contribuir para o seu projeto (ou obter as suas últimas alterações) de uma forma bastante simples.", "", - "Está se tornando bastante popular o uso de websites para visualizar a atividade em repositórios (como o [GitHub](https://github.com/)), mas o recurso de repositórios remotos _sempre_ serve como mecanismo base para essas ferramentas. Então é importante entender como ele funciona!" + "Está se tornando bastante popular o uso de websites para visualizar a atividade em repositórios (como o GitHub), mas o recurso de repositórios remotos _sempre_ serve como mecanismo base para essas ferramentas. Então é importante entender como ele funciona!" ] } }, @@ -555,7 +555,7 @@ "", "- Mais importante ainda, os repositórios remotos tornam a programação social! Agora que há uma cópia do teu projeto alojada noutro sítio, os teus amigos podem contribuir para o projeto (ou ir buscar as tuas alterações mais recentes) com toda a facilidade.", "", - "Tornou-se muito popular usar sites que mostram a atividade à volta dos repositórios remotos (como o [GitHub](https://github.com/)), mas os repositórios remotos são _sempre_ a espinha dorsal destas ferramentas. Por isso, é importante percebê-los!" + "Tornou-se muito popular usar sites que mostram a atividade à volta dos repositórios remotos (como o GitHub), mas os repositórios remotos são _sempre_ a espinha dorsal destas ferramentas. Por isso, é importante percebê-los!" ] } }, @@ -656,7 +656,7 @@ "", "- Máis importante aún, ¡os repositorios remotos fan que o desenvolvemento sexa social! Agora que existe unha copia do teu código noutro lugar, os teus amigos poden contribuír no teu proxecto (ou obter os últimos cambios) dunha forma moi simple.", "", - "Hai webs moi populares onde se pode ver a actividade dos repositorios (como [GitHub](https://github.com/)), pero estes recursos remotos _sempre_ axudan como mecanismo de base para esas ferramentas. ¡Entón é importante saber cómo funcionan!" + "Hai webs moi populares onde se pode ver a actividade dos repositorios (como GitHub), pero estes recursos remotos _sempre_ axudan como mecanismo de base para esas ferramentas. ¡Entón é importante saber cómo funcionan!" ] } }, @@ -713,7 +713,7 @@ "", "- 更重要的是, remote 讓大家一起來 coding!現在你的 project 放在 remote 上面,你的朋友可以很容易地對你的 project 做出貢獻(或者是 pull 你最後的修改) 。", "", - "使用網站去對 remote repository 做視覺化非常流行(例如 [GitHub](https://github.com/) 或者是 [Phabricator](http://phabricator.org/)),但這背後最大的功臣是 remote repository,因此我們務必要了解它。" + "使用網站去對 remote repository 做視覺化非常流行(例如 GitHub 或者是 Phabricator),但這背後最大的功臣是 remote repository,因此我們務必要了解它。" ] } }, @@ -770,7 +770,7 @@ "", "- 还有就是, 远程让代码社交化了! 既然你的项目被托管到别的地方了, 你的朋友可以更容易地为你的项目做贡献(或者拉取最新的变更)", "", - "现在用网站来对远程仓库进行可视化操作变得越发流行了(像 [GitHub](https://github.com/)), 但远程仓库**永远**是这些工具的顶梁柱, 因此理解其概念非常的重要!" + "现在用网站来对远程仓库进行可视化操作变得越发流行了(像 GitHub), 但远程仓库**永远**是这些工具的顶梁柱, 因此理解其概念非常的重要!" ] } }, @@ -826,7 +826,7 @@ "", "- Noch wichtiger: Remotes geben dem Entwickeln eine soziale Komponente! Wenn eine Kopie deines Projekts woanders liegt, können deine Freunde sehr einfach etwas zu dem Projekt beitragen (oder sich deine neuesten Änderungen holen).", "", - "Websites, die die Aktivitäten um diese entfernten Repositorys darstellen (wie [GitHub](https://github.com/)) erfreuen sich zunehmender Beliebtheit. Aber entfernte Repositorys sind _immer_ das Rückgrat für diese Werkzeuge. Deshalb ist es wichtig, sie zu verstehen." + "Websites, die die Aktivitäten um diese entfernten Repositorys darstellen (wie GitHub) erfreuen sich zunehmender Beliebtheit. Aber entfernte Repositorys sind _immer_ das Rückgrat für diese Werkzeuge. Deshalb ist es wichtig, sie zu verstehen." ] } }, @@ -883,7 +883,7 @@ "", "- それよりも大切なこととして、リモートではコードをより一般的に公開できます!プロジェクトのコピーが別の場所に保存されているため、友達などが簡単にそのプロジェクトに参加したり最近の変更をpullしたりできます。", "", - "最近ではリモートリポジトリに関するデータをビジュアル的に表示するウェブサイト([GitHub](https://github.com/)や[Phabricator](http://phabricator.org/)など)の使用が人気を集めていますが、リモートリポジトリは _そのいずれの_ ウェブサイトの裏にも使われています。なので理解する必要があります。" + "最近ではリモートリポジトリに関するデータをビジュアル的に表示するウェブサイト(GitHubやPhabricatorなど)の使用が人気を集めていますが、リモートリポジトリは _そのいずれの_ ウェブサイトの裏にも使われています。なので理解する必要があります。" ] } }, @@ -940,7 +940,7 @@ "", "- Mai important, remote-urile fac ca programarea să fie socială! Acum că o copie a proiectului tău este găzduită în altă parte, prietenii tăi pot contribui cu ușurință la proiectul tău (sau pot obține ultimele tale modificări).", "", - "A devenit foarte popular să folosești site-uri care vizualizează activitatea din jurul repo-urilor remote (cum ar fi [GitHub](https://github.com/)), dar repo-urile remote _întotdeauna_ servesc ca baza pentru aceste instrumente. Așa că este important să le înțelegi!" + "A devenit foarte popular să folosești site-uri care vizualizează activitatea din jurul repo-urilor remote (cum ar fi GitHub), dar repo-urile remote _întotdeauna_ servesc ca baza pentru aceste instrumente. Așa că este important să le înțelegi!" ] } }, @@ -997,7 +997,7 @@ "", "- Още по-важно — remotes правят програмирането социално! След като копие на проекта ти се намира някъде другаде, приятелите ти могат лесно да допринасят към него (или да изтеглят последните ти промени).", "", - "Много популярно е използването на уебсайтове, които визуализират активността около отдалечени хранилища (като [GitHub](https://github.com/)), но отдалечените хранилища _винаги_ са основата, върху която стъпват тези инструменти. Затова е важно да ги разбираме!" + "Много популярно е използването на уебсайтове, които визуализират активността около отдалечени хранилища (като GitHub), но отдалечените хранилища _винаги_ са основата, върху която стъпват тези инструменти. Затова е важно да ги разбираме!" ] } }, @@ -1054,7 +1054,7 @@ "", "- Что ещё более важно, удалённые репозитории позволяют сделать процесс разработки более социальным! Теперь, когда копия вашего проекта размещена в другом месте, ваши друзья запросто могут внести свой вклад в ваш проект или забрать последние и актуальные изменения.", "", - "Набирает популярность использование web-сайтов для визуализации активности удалённых репозиториев (например, [GitHub](https://github.com/)), однако удалённые репозитории _всегда_ выступают в качестве базы для таких инструментов. Поэтому так важно понимать, как устроены удалённые репозитории!" + "Набирает популярность использование web-сайтов для визуализации активности удалённых репозиториев (например, GitHub), однако удалённые репозитории _всегда_ выступают в качестве базы для таких инструментов. Поэтому так важно понимать, как устроены удалённые репозитории!" ] } }, @@ -1111,7 +1111,7 @@ "", "- 더 중요한 것은, 원격 저장소를 통해 코딩을 다른 사람들과 함께 할 수 있다는 것입니다. 여러분의 프로젝트의 복사본이 어느 곳에선가 호스트되기 때문에 여러분의 친구가 프로젝트에 아주 쉽게 기여할 수 있게 됩니다(최근의 변화를 pull하거나).", "", - "원격 저장소에서의 활동을 시각화해주는 웹 사이트들을 사용하는 것이 추세입니다. ([GitHub](https://github.com/) 또는 [Phabricator](http://phabricator.org/)등이 있습니다). 원격 저장소가 _항상_ 이러한 도구들의 중심 뼈대를 이루고 있습니다. 그래서 잘 아는 것이 중요해요!" + "원격 저장소에서의 활동을 시각화해주는 웹 사이트들을 사용하는 것이 추세입니다. (GitHub 또는 Phabricator등이 있습니다). 원격 저장소가 _항상_ 이러한 도구들의 중심 뼈대를 이루고 있습니다. 그래서 잘 아는 것이 중요해요!" ] } }, @@ -1168,7 +1168,7 @@ "", "- Що не менш важливо, віддалені репозиторії роблять програмування соціальним! Коли копія Вашого проекту розміщена в мережі, Ваші друзі мають змогу допомогти Вашому проекту (чи стягнути останні зміни) без зайвих зусиль.", "", - "Стало дуже популярним користуватися веб-сайтами, що візуалізують активність на віддалених репозиторіях (наприклад [GitHub](https://github.com/)), але віддалені репозиторії _завжди_ слугують як основа цих сервісів. Тому важливо розуміти їх!" + "Стало дуже популярним користуватися веб-сайтами, що візуалізують активність на віддалених репозиторіях (наприклад GitHub), але віддалені репозиторії _завжди_ слугують як основа цих сервісів. Тому важливо розуміти їх!" ] } }, @@ -1225,7 +1225,7 @@ "", "- Quan trọng hơn nữa, kho chứa từ xa khiến lập trình có tính cộng đồng hơn! Bây giờ bản sao dự án của bạn đã được lưu trữ ở nơi khác, bạn bè của bạn có thể đóng góp (hoặc kéo về cập nhật mới nhất) dự án của bạn rất dễ dàng.", "", - "Trực quan hóa các kho lưu trữ từ xa bằng cách sử dụng các trang web đang trở nên phổ biến hơn (như [GitHub](https://github.com/)), nhưng các kho lưu trữ từ xa _luôn luôn_ là trụ cột của các công cụ này, vì vậy điều quan trọng là phải hiểu khái niệm này!" + "Trực quan hóa các kho lưu trữ từ xa bằng cách sử dụng các trang web đang trở nên phổ biến hơn (như GitHub), nhưng các kho lưu trữ từ xa _luôn luôn_ là trụ cột của các công cụ này, vì vậy điều quan trọng là phải hiểu khái niệm này!" ] } }, @@ -1282,7 +1282,7 @@ "", "- Še pomembneje, kodiranje lahko naredijo družabno! Sedaj, ko je kopija tvojega projekta nekje objavljena, lahko tvoji prijatelji pomagajo tvojemu projektu (ali pridobijo zadnje spremembe) zelo enostavno.", "", - "Uporaba strani, ki vizualizirajo oddaljene repozitorije je postala zelo popularna (npr. [GitHub](https://github.com/)), ampak bistvo teh strani vseeno predstavljajo oddaljeni repozitoriji. Zato je pomembno, da jih razumemo!" + "Uporaba strani, ki vizualizirajo oddaljene repozitorije je postala zelo popularna (npr. GitHub), ampak bistvo teh strani vseeno predstavljajo oddaljeni repozitoriji. Zato je pomembno, da jih razumemo!" ] } }, @@ -1339,7 +1339,7 @@ "", "- Co ważniejsze, zdalne repozytoria sprawiają, że kodowanie jest społeczne! Teraz, gdy kopia twojego projektu jest umieszczona gdzie indziej, twoi znajomi mogą bardzo łatwo wnieść swój wkład do twojego projektu (lub pobrać najnowsze zmiany).", "", - "Bardzo popularne stało się korzystanie ze stron internetowych, które wizualizują aktywność w zdalnych repozytoriach (takich jak [GitHub](https://github.com/)), ale podstawą tych narzędzi _zawsze_ są zdalne repozytoria. Dlatego ważne jest, aby je zrozumieć!" + "Bardzo popularne stało się korzystanie ze stron internetowych, które wizualizują aktywność w zdalnych repozytoriach (takich jak GitHub), ale podstawą tych narzędzi _zawsze_ są zdalne repozytoria. Dlatego ważne jest, aby je zrozumieć!" ] } }, @@ -1396,7 +1396,7 @@ "", "- Seconda cosa, ancora più importante, l'utilizzo di repository remoti introduce al coding sociale! Ora che una copia del tuo progetto è ospitata anche altrove, i tuoi amici possono contribuire al tuo progetto molto agevolmente (o recuperare le tue ultime modifiche) .", "", - "E' diventato molto popolare l'utilizzo di siti web che mostrano le attività di repository remoti (come [GitHub](https://github.com/)), ma questi repository _sempre_ rappresentano la base sottostante per questi strumenti. Per cui è importante conoscerli a fondo!" + "E' diventato molto popolare l'utilizzo di siti web che mostrano le attività di repository remoti (come GitHub), ma questi repository _sempre_ rappresentano la base sottostante per questi strumenti. Per cui è importante conoscerli a fondo!" ] } }, @@ -1453,7 +1453,7 @@ "", "- Daha da önemlisi, uzak depolar kodlamayı sosyal hale getirir! Projenizin bir kopyası başka bir yerde barındırıldığında, arkadaşlarınız çok kolay bir şekilde projenize katkıda bulunabilir (ya da son değişikliklerinizi çekebilir).", "", - "Uzak depolar etrafındaki etkinlikleri görselleştiren web siteleri kullanmak çok popüler hale geldi (örneğin [GitHub](https://github.com/)), ancak uzak depolar _her zaman_ bu araçların temel altyapısını oluşturur. Bu yüzden onları anlamak önemlidir!" + "Uzak depolar etrafındaki etkinlikleri görselleştiren web siteleri kullanmak çok popüler hale geldi (örneğin GitHub), ancak uzak depolar _her zaman_ bu araçların temel altyapısını oluşturur. Bu yüzden onları anlamak önemlidir!" ] } }, @@ -1510,7 +1510,7 @@ "", "- Ami még fontosabb, a remote-ok szociálissá teszik a kódolást! Most, hogy a projekted egy másolata máshol van tárolva, a barátaid nagyon könnyen hozzájárulhatnak a projektedhez (vagy letölthetik a legújabb változtatásaidat).", "", - "Nagyon népszerűvé vált a távoli repók körüli tevékenységet vizualizáló webhelyek használata (mint a [GitHub](https://github.com/)), de a távoli repók _mindig_ az alapját képezik ezeknek az eszközöknek. Ezért fontos megérteni őket!" + "Nagyon népszerűvé vált a távoli repók körüli tevékenységet vizualizáló webhelyek használata (mint a GitHub), de a távoli repók _mindig_ az alapját képezik ezeknek az eszközöknek. Ezért fontos megérteni őket!" ] } }, @@ -1567,7 +1567,7 @@ "", "- Daha da vacibi, remote-lar kod yazmağı sosial edir! İndi ki layihənin bir nüsxəsi başqa yerdə saxlanılır, dostların layihənə çox rahat töhfə verə (və ya sənin son dəyişikliklərini çəkə) bilər.", "", - "Remote repozitoriyalar ətrafındakı fəaliyyəti vizuallaşdıran veb saytlardan (məsələn, [GitHub](https://github.com/)) istifadə etmək çox populyarlaşıb, amma remote repozitoriyalar _həmişə_ bu alətlərin təməl dayağı olaraq qalır. Ona görə də onları anlamaq vacibdir!" + "Remote repozitoriyalar ətrafındakı fəaliyyəti vizuallaşdıran veb saytlardan (məsələn, GitHub) istifadə etmək çox populyarlaşıb, amma remote repozitoriyalar _həmişə_ bu alətlərin təməl dayağı olaraq qalır. Ona görə də onları anlamaq vacibdir!" ] } }, @@ -1624,7 +1624,7 @@ "", "- ముఖ్యంగా, remotes కోడింగ్ ను సోషల్ చేస్తాయి! మీ ప్రాజెక్ట్ కాపీ మరొక చోట హోస్ట్ చేయబడినందున, మీ స్నేహితులు మీ ప్రాజెక్ట్ కు చాలా సులభంగా కంట్రిబ్యూట్ చేయవచ్చు (లేదా మీ లేటెస్ట్ మార్పులను పుల్ చేయవచ్చు).", "", - "Remote repositories చుట్టూ ఉన్న కార్యాచరణను విజువలైజ్ చేసే వెబ్‌సైట్లను (ఉదాహరణకు [GitHub](https://github.com/)) ఉపయోగించడం చాలా పాపులర్ అయింది, కానీ remote repositories _ఎల్లప్పుడూ_ ఈ టూల్స్ యొక్క అండర్‌లైంింగ్ బ్యాక్‌బోన్ గా పనిచేస్తాయి. కాబట్టి వాటిని అర్థం చేసుకోవడం ముఖ్యం!" + "Remote repositories చుట్టూ ఉన్న కార్యాచరణను విజువలైజ్ చేసే వెబ్‌సైట్లను (ఉదాహరణకు GitHub) ఉపయోగించడం చాలా పాపులర్ అయింది, కానీ remote repositories _ఎల్లప్పుడూ_ ఈ టూల్స్ యొక్క అండర్‌లైంింగ్ బ్యాక్‌బోన్ గా పనిచేస్తాయి. కాబట్టి వాటిని అర్థం చేసుకోవడం ముఖ్యం!" ] } }, @@ -1681,7 +1681,7 @@ "", "- इससे भी ज़रूरी बात, remotes कोडिंग को सोशल बनाते हैं! अब जब आपके प्रोजेक्ट की कॉपी किसी और जगह होस्ट है, तो आपके दोस्त बहुत आसानी से आपके प्रोजेक्ट में कंट्रिब्यूट कर सकते हैं (या आपके लेटेस्ट बदलाव पुल कर सकते हैं)।", "", - "Remote repositories के इर्द-गिर्द की गतिविधि को विज़ुअलाइज़ करने वाली वेबसाइटों (जैसे [GitHub](https://github.com/)) का इस्तेमाल काफी पॉपुलर हो गया है, लेकिन remote repositories _हमेशा_ इन टूल्स की अंडरलाइंग बैकबोन का काम करते हैं। इसलिए इन्हें समझना ज़रूरी है!" + "Remote repositories के इर्द-गिर्द की गतिविधि को विज़ुअलाइज़ करने वाली वेबसाइटों (जैसे GitHub) का इस्तेमाल काफी पॉपुलर हो गया है, लेकिन remote repositories _हमेशा_ इन टूल्स की अंडरलाइंग बैकबोन का काम करते हैं। इसलिए इन्हें समझना ज़रूरी है!" ] } },