Setup environment variables for shutdown (#2716)

* Setup environment variables for shutdown

* Link fixes

* Review fixes
This commit is contained in:
Gideon Thomas 2019-07-29 13:18:10 -04:00 коммит произвёл GitHub
Родитель 709ac4f55d
Коммит 829c12c5ed
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
52 изменённых файлов: 105 добавлений и 17 удалений

Просмотреть файл

@ -65,3 +65,9 @@ ASSERT_TOKEN=false
# Specify how projects are loaded: load as single tarball ("tarball") or as separate files ("files").
# The default is "tarball" if not specified.
PROJECT_LOAD_STRATEGY="files"
# Shutdown new account creation
SHUTDOWN_NEW_ACCOUNTS=false
# Shutdown new project creation and publishing
SHUTDOWN_NEW_PROJECTS_AND_PUBLISHING=false

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Thimble by Mozilla - Jami
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Dony iyie</a> onyo <a href="#" title="Create an account" id="signup-link" class="navbar-login">Cwe akaunt</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Dony iyie</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Aii, gin mo tye marac!

Просмотреть файл

@ -22,6 +22,7 @@ thimbleFooter=Thimble মজিলা লার্নিং নেটওয়া
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">সাইন ইন করুন</a> অথবা <a href="#" title="Create an account" id="signup-link" class="navbar-login">অ্যাকাউন্ট খুলুন</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">সাইন ইন করুন</a>
# Reload Preview Page

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Mozilla Thimble - Funkcije
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Prijava</a> ili <a href="#" title="Create an account" id="signup-link" class="navbar-login">Napravi račun</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Prijava</a>
# Reload Preview Page
errorCantLoadPreviewTitle=O ne, nešto nije uredu!

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Thimble ruma Mozilla - Taq Samaj
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Titikirisäx molojri'ïl</a> o <a href="#" title="Create an account" id="signup-link" class="navbar-login">Titz'uk jun rub'i' taqoya'l</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Titikirisäx molojri'ïl</a>
# Reload Preview Page
errorCantLoadPreviewTitle=¡Uy, k'o ri man ütz rub'anon!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble od Mozilly - Funkce
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Přihlásit se</a> nebo <a href="#" title="Create an account" id="signup-link" class="navbar-login">Vytvořit účet</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Přihlásit se</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ale ne, něco se pokazilo!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble von Mozilla – Funktionen
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Melden Sie sich an</a> oder <a href="#" title="Create an account" id="signup-link" class="navbar-login">erstellen Sie ein Benutzerkonto</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Melden Sie sich an</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Oh nein, etwas ist schief gegangen!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble wót Mozilla - Funkcije
# Userbar
signInPromptHomepage=<a href="#" title="Pla Thimble pśizjawiś" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Pśizjawśo se</a> abo <a href="#" title="Konto załožyś" id="signup-link" class="navbar-login">Załožćo konto</a>
signInPromptHomepage2=<a href="#" title="Pla Thimble pśizjawiś" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Pśizjawśo se</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ow, něco njejo se raźiło!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble από τη Mozilla - Χαρακτηριστικά
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Σύνδεση</a> ή <a href="#" title="Create an account" id="signup-link" class="navbar-login">Δημιουργία λογαριασμού</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Σύνδεση</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ωχ όχι, κάτι πήγε στραβά!

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Thimble by Mozilla - Features
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Sign in</a> or <a href="#" title="Create an account" id="signup-link" class="navbar-login">Create an account</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Sign in</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Oh no, something's wrong!

Просмотреть файл

@ -36,6 +36,7 @@ startUsingGlitch3=If you have an account on Thimble, please sign in and migrate
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Sign in</a> or <a href="#" title="Create an account" id="signup-link" class="navbar-login">Create an account</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Sign in</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Oh no, something's wrong!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble por Mozilla - Funciones
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Conéctate</a> o <a href="#" title="Create an account" id="signup-link" class="navbar-login">Crea una cuenta</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Conéctate</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Chuta, ¡algo se fue a las pailas!

Просмотреть файл

@ -26,6 +26,7 @@ pageTitleFeatures=Thimble de Mozilla - Funciones
# Userbar
signInPromptHomepage=<a href="#" title="Inicia sesión en Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Inicia sesión</a> o <a href="#" title="Crea una cuenta" id="signup-link" class="navbar-login">crea una cuenta</a>
signInPromptHomepage2=<a href="#" title="Inicia sesión en Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Inicia sesión</a>
# Reload Preview Page
errorCantLoadPreviewTitle=¡Oh, no! Algo fue mal

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble par Mozilla — Fonctionnalités
# Userbar
signInPromptHomepage=<a href="#" title="Se connecter à Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Se connecter</a> ou <a href="#" title="Créer un compte" id="signup-link" class="navbar-login">Créer un compte</a>
signInPromptHomepage2=<a href="#" title="Se connecter à Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Se connecter</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Oups, une erreur sest produite.

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble fan Mozilla - Funksjes
# Userbar
signInPromptHomepage=<a href="#" title="Oanmelde by Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Oanmelde</a> of <a href="#" title="In account oanmeitsje" id="signup-link" class="navbar-login">In account oanmeitsje</a>
signInPromptHomepage2=<a href="#" title="Oanmelde by Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Oanmelde</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Oh nee, der is wat mis!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble wot Mozilla - Funkcije
# Userbar
signInPromptHomepage=<a href="#" title="Pola Thimble přizjewić" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Přizjewće so</a> abo <a href="#" title="Konto załožić" id="signup-link" class="navbar-login">Załožće konto</a>
signInPromptHomepage2=<a href="#" title="Pola Thimble přizjewić" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Přizjewće so</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ow ně, něšto je so nimokuliło!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble a Mozillától – Funkciók
# Userbar
signInPromptHomepage=<a href="#" title="Bejelentkezés a Thimble-be" id="login-link" data-loginurl="{{ loginURL }}" class="navbar-login">Jelentkezz be</a> vagy <a href="#" title="Fiók létrehozása" id="signup-link" class="navbar-login">hozz létre egy fiókot</a>
signInPromptHomepage2=<a href="#" title="Bejelentkezés a Thimble-be" id="login-link" data-loginurl="{{ loginURL }}" class="navbar-login">Jelentkezz be</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ó jaj, valami elromlott!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble di Mozilla – Funzioni
# Userbar
signInPromptHomepage=<a href="#" title="Accedi a Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Accedi</a> oppure <a href="#" title="Crea un account" id="signup-link" class="navbar-login">registrati</a>
signInPromptHomepage2=<a href="#" title="Accedi a Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Accedi</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Spiacenti, qualcosa non ha funzionato.

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Thimble by Mozilla - 機能
# Userbar
signInPromptHomepage=<a href="#" title="Thimble にログイン" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">ログイン</a> または <a href="#" title="アカウント作成" id="signup-link" class="navbar-login">アカウント作成</a>
signInPromptHomepage2=<a href="#" title="Thimble にログイン" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">ログイン</a>
# Reload Preview Page
errorCantLoadPreviewTitle=何か問題が発生しました!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble Mozilla-სგან - შესაძლებლო
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">შედით</a> ან <a href="#" title="Create an account" id="signup-link" class="navbar-login">შექმენით ანგარიში</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">შედით</a>
# Reload Preview Page
errorCantLoadPreviewTitle=სამწუხაროდ, რაღაც ხარვეზი წარმოიქმნა!

Просмотреть файл

@ -27,6 +27,7 @@ pageTitleFeatures=Thimble sγur Mozilla- Timahaltin
# Userbar
signInPromptHomepage=<a href="#" title="Kcem ar Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Kcem</a> or <a href="#" title="Rnu amiḍan" id="signup-link" class="navbar-login">Rnu amiḍan</a>
signInPromptHomepage2=<a href="#" title="Kcem ar Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Kcem</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ihuh, yella wayen yeḍran!
@ -267,7 +268,7 @@ themeFeatureTitle=Siɣ tafat neɣ sens-itt
themeFeatureDesc=Thimble ɣur-s asentel aceɛlal akked usentel ubrik, fren win yernan fell-ak. Tzemreḍ ad tbeddleḍ kra n yiɣewwaṛen am teɣzi n uḍris.
tutorialFeatureTitle=Ḍfeṛ sakin rnu atuṭuryel usliɣ
tutorialFeatureDesc=Kran n yisenfaṛen zemren ad d-sumren ituṭuryalen ad ak-d-imudden afus (neɣ ad mudden afus i yinelmadne) akken ad issinen deg ubeddel n yisenfaṛen-agi.
autocompleteFeatureTitle=Taččart tawurman n tengalt
autocompleteFeatureTitle=Taččart tawurman n tengalt
autocompleteFeatureDesc=Ur ḍeggir ara akud-ik deg uɛraḍ n uceffu n tegrumma n yilugan akked tseddast. Thimble ad ak-d-isumer taččart tawurmant n kra n yiḥricen n tengalt HTML, CSS akked JavaScript.
inlineCSSFeatureTitle=Beddel srid CSS deg isebtar HTML
inlineCSSFeatureDesc=Aru iɣunab CSS i yiferdisen-ik war ma teffɣeḍ seg usebter HTML ara tettaruḍ. Sers taḥnaccaḍt ɣef yal aferdis sakin senneḍ ɣef <span class="key"> Cmd/Ctrl</span>+<span class="key">E</span> akken ad tebduḍ tira n yiɣunab CSS.
@ -338,7 +339,7 @@ peiying16Quote=“Ḥemmleɣ Thimble, daɣen ḥemmleɣ ad fruɣ uguren akked te
th30Contrib1=Ileqqem isemda n tukkit n wumuɣen
th30Contrib2=Yeḍmen d akken ifuyla ad d-banen akken iwata deg umaẓrag
th30Quote=« Axeddim ɣef Thimble d acqirreɣ daɣen d tarrayt meqqren akken ad tkecmeḍ deg umaḍal ilelli. Ayagi yeǧǧa-yi ad kkiɣ daɣen ad xedmeɣ akked imdanen ufrinen, i d-yessefhamen yal tikelt d akken tuccḍiwin-ik d tignatin akken ad tesnerniḍ ayen i d-snulfuyeḍ. Tulsa d ayen ẓẓayen, daɣen ad k-teǧǧ ad terreḍ ayen i d-wwiḍ ar tignatin akken ad tlemdeḍ tiɣawsiwin timaynutin ! »
omytryniukContrib1=Yenerna agrudem n tmeskant tusliɣt n tugniwin
omytryniukContrib1=Yenerna agrudem n tmeskant tusliɣt n tugniwin
omytryniukContrib2=Yerna ddeqs n usnerni deg ugrudem daɣen iseɣta uguren deg uɣanib n ugrudem akked timahilin
omytryniukContrib3=Ileqqem timunent n tengalt deg usenfaṛ Thimble
omytryniukQuote=« Ɣur-i nekk, attekki di Thimble ur yettaǧǧa ara kan ad tissineḍ tarmit ifazen s usihel, ayagi yettmuddu-d ladɣa aḥulfu n wawaḍ ticki nttekka deg ufaris i seqdacen yimdanen deg umaḍal meṛṛa. Ticki walaɣ imelyan deg umaḍal ttfaṛasen tagnit si tengalt i yuriɣ, d ayen i yid-yettmuddun afud di Thimble. Ayen-nniḍend tarbaɛt n yimdukal tuḥdiwt deg usenfaṛ i yiǧǧan attekki-iw ar Thimble d tarmit yessefṛaḥen. »

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Mozilla Thimble - 특징
# Userbar
signInPromptHomepage=<a href="#" title="Thimble에 로그인" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">로그인</a> 또는 <a href="#" title="계정 만들기" id="signup-link" class="navbar-login">계정 만들기</a>
signInPromptHomepage2=<a href="#" title="Thimble에 로그인" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">로그인</a>
# Reload Preview Page
errorCantLoadPreviewTitle=앗, 뭔가 잘못 됐습니다!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble oleh Mozilla - Ciri
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Daftar masuk</a> atau <a href="#" title="Create an account" id="signup-link" class="navbar-login">Cipta akaun</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Daftar masuk</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Alamak, ada yang tidak kena!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble van Mozilla - Functies
# Userbar
signInPromptHomepage=<a href="#" title="Aanmelden bij Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Aanmelden</a> of <a href="#" title="Een account aanmaken" id="signup-link" class="navbar-login">Een account aanmaken</a>
signInPromptHomepage2=<a href="#" title="Aanmelden bij Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Aanmelden</a>
# Reload Preview Page
errorCantLoadPreviewTitle=O nee, er is iets mis!

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Thimble av Mozilla - funksjonar
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Logg inn</a> eller <a href="#" title="Create an account" id="signup-link" class="navbar-login">opprett ein konto</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Logg inn</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Å nei, noko gjekk gale!

Просмотреть файл

@ -24,6 +24,7 @@ pageTitleFeatures=Thimble by Mozilla - Funcionalidades
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Iniciar sessão</a> ou <a href="#" title="Create an account" id="signup-link" class="navbar-login">crie uma conta</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Iniciar sessão</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ah não, algo está errado!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble da Mozilla - Funcionalidades
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Iniciar sessão</a> ou <a href="#" title="Create an account" id="signup-link" class="navbar-login">Criar uma conta</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Iniciar sessão</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Oh não, algo está errado!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble от Mozilla - Возможности
# Userbar
signInPromptHomepage=<a href="#" title="Войти в Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Войти</a> или <a href="#" title="Создать аккаунт" id="signup-link" class="navbar-login">создать аккаунт</a>
signInPromptHomepage2=<a href="#" title="Войти в Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Войти</a>
# Reload Preview Page
errorCantLoadPreviewTitle=О нет, что-то не так!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble od Mozilly - Funkcie
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Prihláste sa</a> alebo <a href="#" title="Create an account" id="signup-link" class="navbar-login">si založte účet</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Prihláste sa</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ale nie, niečo sa pokazilo!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Mozilla Thimble - Možnosti
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Prijava</a> ali <a href="#" title="Create an account" id="signup-link" class="navbar-login">Ustvari račun</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Prijava</a>
# Reload Preview Page
errorCantLoadPreviewTitle=O ne, nekaj je narobe!

Просмотреть файл

@ -31,6 +31,7 @@ pageTitleFeatures=Thimble nga Mozilla - Veçori
# Userbar
signInPromptHomepage=<a href="#" title="Hyni në Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Hyni</a> ose <a href="#" title="Krijoni një llogari" id="signup-link" class="navbar-login">Krijoni një llogari</a>
signInPromptHomepage2=<a href="#" title="Hyni në Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Hyni</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Mos, diç shkoi ters!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble av Mozilla - funktioner
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Logga in</a> eller <a href="#" title="Create an account" id="signup-link" class="navbar-login">skapa ett konto</a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Logga in</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Å nej, nått gick fel!

Просмотреть файл

@ -25,6 +25,7 @@ pageTitleFeatures=Thimble by Mozilla - Хусусиятҳо
# Userbar
signInPromptHomepage=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Воридшавӣ</a> ё <a href="#" title="Create an account" id="signup-link" class="navbar-login">Сохтани аккаунт </a>
signInPromptHomepage2=<a href="#" title="Sign in to Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Воридшавӣ</a>
############
## Editor ##

Просмотреть файл

@ -28,6 +28,7 @@ pageTitleFeatures=Mozilladan Thimble - Özellikler
# Userbar
signInPromptHomepage=<a href="#" title="Thimble'a giriş yap" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Giriş yap</a> veya <a href="#" title="Create an account" id="signup-link" class="navbar-login">hesap oluştur</a>
signInPromptHomepage2=<a href="#" title="Thimble'a giriş yap" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Giriş yap</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Bir şeyler ters gitti!

Просмотреть файл

@ -25,6 +25,7 @@ pageTitleFeatures=Thimble від Mozilla - Функції
# Userbar
signInPromptHomepage=<a href="#" title="Увійти в Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Увійти</a> чи <a href="#" title="Створити обліковий запис" id="signup-link" class="navbar-login">створити обліковий запис</a>
signInPromptHomepage2=<a href="#" title="Увійти в Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Увійти</a>
# Reload Preview Page
errorCantLoadPreviewTitle=Ой леле, щось пішло не так!

Просмотреть файл

@ -22,6 +22,7 @@ thimbleFooter=Thimble là một phần của mạng lưới học tập của M
# Userbar
signInPromptHomepage=<a href="#" title="Đăng nhập Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Đăng nhập</a> hoặc <a href="#" title="Tạo một tài khoản" id="signup-link" class="navbar-login">Tạo một tài khoản</a>
signInPromptHomepage2=<a href="#" title="Đăng nhập Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">Đăng nhập</a>
# Reload Preview Page

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Mozilla Thimble - 功能
# Userbar
signInPromptHomepage=<a href="#" title="登录 Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">登录</a>或<a href="#" title="创建一个账号" id="signup-link" class="navbar-login">创建一个账号</a>
signInPromptHomepage2=<a href="#" title="登录 Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">登录</a>
# Reload Preview Page
errorCantLoadPreviewTitle=哦!好像出错了!

Просмотреть файл

@ -32,6 +32,7 @@ pageTitleFeatures=Thimble by Mozilla - 功能
# Userbar
signInPromptHomepage=<a href="#" title="登入至 Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">登入</a> 或 <a href="#" title="註冊帳號" id="signup-link" class="navbar-login">註冊帳號</a>
signInPromptHomepage2=<a href="#" title="登入至 Thimble" id="login-link" data-loginUrl="{{ loginURL }}" class="navbar-login">登入</a>
# Reload Preview Page
errorCantLoadPreviewTitle=喔不,有點東西不對勁!

Просмотреть файл

@ -55,5 +55,10 @@ module.exports = {
childSrc: [editorDomain, homepageVideoLink],
scriptSrc: [editorDomain],
connectSrc: [editorDomain]
}
},
shutdownNewAccounts: env.get("SHUTDOWN_NEW_ACCOUNTS", false),
shutdownNewProjectsAndPublishing: env.get(
"SHUTDOWN_NEW_PROJECTS_AND_PUBLISHING",
false
)
};

Просмотреть файл

@ -77,7 +77,9 @@ module.exports = function(config, req, res, next) {
logoutURL: config.logoutURL,
queryString: qs,
glitchExportEnabled: req.user && config.glitch.exportEnabled,
glitch: req.user && config.glitch
glitch: req.user && config.glitch,
shutdownNewAccounts: config.shutdownNewAccounts,
shutdownNewProjectsAndPublishing: config.shutdownNewProjectsAndPublishing
};
// We add the localization code to the query params through a URL object

Просмотреть файл

@ -23,7 +23,9 @@ module.exports = function(config, req, res) {
pageName: "features",
glitchExportEnabled: req.user && config.glitch.exportEnabled,
migrationDate: migrationDate,
moreInfoURL: config.glitch.moreInfoURL
moreInfoURL: config.glitch.moreInfoURL,
shutdownNewAccounts: config.shutdownNewAccounts,
shutdownNewProjectsAndPublishing: config.shutdownNewProjectsAndPublishing
};
if (req.user) {

Просмотреть файл

@ -23,7 +23,9 @@ module.exports = function(config, req, res) {
pageName: "get-involved",
glitchExportEnabled: req.user && config.glitch.exportEnabled,
migrationDate: migrationDate,
moreInfoURL: config.glitch.moreInfoURL
moreInfoURL: config.glitch.moreInfoURL,
shutdownNewAccounts: config.shutdownNewAccounts,
shutdownNewProjectsAndPublishing: config.shutdownNewProjectsAndPublishing
};
if (req.user) {

Просмотреть файл

@ -24,7 +24,9 @@ module.exports = function(config, req, res) {
moreInfoURL: config.glitch.moreInfoURL,
URL_PATHNAME: "/" + qs,
languages: req.app.locals.languages,
pageName: "home"
pageName: "home",
shutdownNewAccounts: config.shutdownNewAccounts,
shutdownNewProjectsAndPublishing: config.shutdownNewProjectsAndPublishing
};
if (req.user) {

Просмотреть файл

@ -36,7 +36,9 @@ module.exports = function(config, req, res) {
glitchExportEnabled: req.user && config.glitch.exportEnabled,
glitch: glitch,
migrationDate: glitch.migrationDate,
moreInfoURL: config.glitch.moreInfoURL
moreInfoURL: config.glitch.moreInfoURL,
shutdownNewAccounts: config.shutdownNewAccounts,
shutdownNewProjectsAndPublishing: config.shutdownNewProjectsAndPublishing
};
if (req.user) {

Просмотреть файл

@ -44,12 +44,19 @@ module.exports = function(config, req, res, next) {
}
if (response.statusCode === 404) {
// If there aren't any projects for this user, create one with a redirect
res.redirect(307, "/" + locale + "/projects/new" + qs);
if (config.shutdownNewProjectsAndPublishing) {
res.redirect(
307,
`/${
locale
}/moving-to-glitch/#can-I-keep-using-thimble-until-I-export`
);
} else {
// If there aren't any projects for this user, create one with a redirect
res.redirect(307, "/" + locale + "/projects/new" + qs);
}
return;
}
if (response.statusCode !== 200) {
} else if (response.statusCode !== 200) {
res.status(response.statusCode);
next(
HttpError.format(
@ -68,6 +75,7 @@ module.exports = function(config, req, res, next) {
}
var projects;
try {
projects = JSON.parse(body);
} catch (e) {
@ -122,7 +130,10 @@ module.exports = function(config, req, res, next) {
glitch: req.user && config.glitch,
migrationDate,
queryString: qs,
logoutURL: config.logoutURL
logoutURL: config.logoutURL,
shutdownNewAccounts: config.shutdownNewAccounts,
shutdownNewProjectsAndPublishing:
config.shutdownNewProjectsAndPublishing
};
res.render("projects-list/index.html", options);

Просмотреть файл

@ -23,7 +23,8 @@ module.exports = (config, req, res) => {
title: params.title,
author: params.author,
updated: updated,
lang: lang
lang: lang,
shutdownNewProjectsAndPublishing: config.shutdownNewProjectsAndPublishing
};
res.render("project-remix-bar.html", options);

Просмотреть файл

@ -70,12 +70,14 @@
</div>
<div class="dropdown-content">
<ul>
{% if not shutdownNewProjectsAndPublishing %}
<li>
<a id="new-project-link" href="/{{ locale }}/projects/new">
<img src="/img/icon/new-project.svg" />
{{ gettext("newProjectLink") }}
</a>
</li>
{% endif %}
<li>
<a id="delete-project-link">
<img src="/img/icon/garbage-can.svg" />
@ -103,7 +105,7 @@
</ul>
</div>
</div>
{% else %}
{% elseif not shutdownNewAccounts %}
{% set publishBtnOpenTag = '<span title="{{ publishBtnTitle }}" id="navbar-publish-button"><img src="/img/icon/publish.svg" class="icon-publish">' | instantiate | safe %}
{% set publishBtnCloseTag = '</span>' | safe %}
<div id="navbar-anonymous">
@ -113,7 +115,7 @@
</div>
</div>
{% if username %}
{% if username and not shutdownNewProjectsAndPublishing %}
<div id="navbar-publish" class="nav-chunk">
<div title="{{ publishBtnTitle }}" id="navbar-publish-button"><img src="/img/icon/publish.svg" class="icon-publish">{{ gettext("publishBtn") }}
</div>

Просмотреть файл

@ -55,14 +55,18 @@
<div class='tags'></div>
</div>
<div class='buttons'>
{% if not shutdownNewProjectsAndPublishing %}
<a class="remix">{{ gettext("remix") }}</a>
{% endif %}
<a class="teaching-kit">{{ gettext("lessonPlan") }}</a>
</div>
</div>
{% if not shutdownNewProjectsAndPublishing %}
<p class="contribute-activity">
{{ gettext("submitProject") | safe }}
</p>
{% endif %}
</div>
</div>

Просмотреть файл

@ -12,6 +12,7 @@
<p>
{{ gettext("thimbleDescription1") | safe }}
</p>
{% if not shutdownNewProjectsAndPublishing %}
<div class="new-project-button-wrapper">
<a id="new-project-button" class="feature-button" href="/{{ locale }}/projects/new" title="{{ gettext("newProjectBtnTitle") }}" class="button">
<div class="pencil-animation">
@ -25,6 +26,7 @@
<span id="new-project-button-text">{{ gettext("newProjectBtn") }}</span>
</a>
</div>
{% endif %}
</div>
<div class="video">

Просмотреть файл

@ -53,12 +53,14 @@
<div class="dropdown-content">
<ul class="dropdown">
{% if not shutdownNewProjectsAndPublishing %}
<li>
<a id="new-project-link" href="/{{ locale }}/projects/new">
<img src="/img/icon/new-project.svg" />
{{ gettext("newProjectLink") }}
</a>
</li>
{% endif %}
<li>
<a href="/{{ locale }}/projects/{{ queryString }}" target="_self">
<img src="/img/icon/your-projects.svg" />
@ -75,7 +77,11 @@
</div>
{% else %}
<div id="navbar-anonymous">
{% if shutdownNewAccounts %}
{{ gettext("signInPromptHomepage2") | instantiate | safe }}
{% else %}
{{ gettext("signInPromptHomepage") | instantiate | safe }}
{% endif %}
</div>
{% endif %}
</div>

Просмотреть файл

@ -1,3 +1,4 @@
{% if not shutdownNewProjectsAndPublishing %}
<!-- Project Remix bar -->
<div lang="{{ lang }}" class="details-bar collapsed cleanslate" style="display: none !important">
<a class="thimble-logo" title="{{ gettext("thimbleByMozilla") }}" href="https://thimble.mozilla.org">
@ -20,3 +21,4 @@
</div>
</div>
<!-- End of Remix bar -->
{% endif %}

Просмотреть файл

@ -41,9 +41,11 @@
<div class="project-list-wrapper">
{% if not shutdownNewProjectsAndPublishing %}
<a href="/{{ locale }}/projects/new" id="project-0">
<div title="{{ gettext("prjListNewProjectBtnTitle") }}" class="project-button">{{ gettext("prjListNewProjectBtn") }}</div>
</a>
{% endif %}
<div class="delete-button">
<img src="/img/icon/garbage-can-white.svg">