Skip to content

Commit

Permalink
SwG Release 5/5/21 (#34238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijah Soria authored May 6, 2021
1 parent d405fe0 commit 2e762f0
Show file tree
Hide file tree
Showing 4 changed files with 233 additions and 39 deletions.
2 changes: 1 addition & 1 deletion third_party/subscriptions-project/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** Version: 0.1.22.161 */
/** Version: 0.1.22.163 */
/**
* Copyright 2018 The Subscribe with Google Authors. All Rights Reserved.
*
Expand Down
29 changes: 28 additions & 1 deletion third_party/subscriptions-project/swg-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,24 +288,51 @@
min-height: 44px;
display: inline-flex;
align-items: center;
box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);
box-sizing: border-box;
font-family: 'Google Sans', 'Roboto-Regular', sans-serif, arial;
font-weight: 500;
font-size: 14px;
letter-spacing: .001em;
cursor: pointer;
}

.swg-button-v2-light {
color: #1A73E8;
background-color: #fff;
border: 1px solid #DADCE0;
}

.swg-button-v2-light:hover {
box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);
background: linear-gradient(0deg, rgba(26, 115, 232, 0.04), rgba(26, 115, 232, 0.04)), #FFFFFF;
border: none;
}

.swg-button-v2-light:focus {
box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 2px 6px 2px rgba(60, 64, 67, 0.15);
background: linear-gradient(0deg, rgba(26, 115, 232, 0.08), rgba(26, 115, 232, 0.08)), #FFFFFF;
border: none;
}

.swg-button-v2-light:active {
background-color: #fff;
box-shadow: 0px 6px 10px 4px rgba(60, 64, 67, 0.15), 0px 2px 3px rgba(60, 64, 67, 0.3);
border: none;
}

.swg-button-v2-dark {
color: #FFFFFF;
background-color: #3C4043;
}

.swg-button-v2-dark:hover, .swg-button-v2-dark:active {
box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px rgba(0, 0, 0, 0.3);
}

.swg-button-v2-dark:focus {
box-shadow: 0px 6px 10px 4px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.swg-button-v2-icon-light,
.swg-button-v2-icon-dark {
width: 18px;
Expand Down
12 changes: 11 additions & 1 deletion third_party/subscriptions-project/swg-gaa.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** Version: 0.1.22.161 */
/** Version: 0.1.22.163 */
/**
* Copyright 2018 The Subscribe with Google Authors. All Rights Reserved.
*
Expand All @@ -35,13 +35,17 @@

const I18N_STRINGS = {
'SHOWCASE_REGWALL_TITLE': {
'cs': 'Získejte s Googlem víc',
'de': 'Immer gut informiert mit Google',
'en': 'Get more with Google',
'es-ar': 'Disfruta más artículos con Google',
'fr': 'Plus de contenus avec Google',
'it': 'Con Google puoi avere di più',
'pt-br': 'Veja mais com o Google',
},
'SHOWCASE_REGWALL_DESCRIPTION': {
'cs':
'<strong></strong>Tento obsah je obvykle zpoplatněn, ale pokud se do publikace <ph name="PUBLICATION"><ex>AP News</ex>{publication}</ph> zaregistrujete pomocí účtu Google, získáte od Googlu přístup zdarma.',
'de':
'<strong></strong>Dieser Inhalt ist normalerweise kostenpflichtig. Google gewährt dir jedoch kostenlos Zugriff auf diesen Artikel und andere Inhalte, wenn du dich mit deinem Google-Konto bei <ph name="PUBLICATION"><ex>AP News</ex>{publication}</ph> registrierst.',
'en':
Expand All @@ -50,21 +54,27 @@ const I18N_STRINGS = {
'<strong></strong>Normalmente, es necesario pagar para ver este contenido, pero Google te ofrece acceso gratuito a este y otros artículos si te registras en <ph name="PUBLICATION"><ex>AP News</ex>{publication}</ph> con tu Cuenta&nbsp;de&nbsp;Google.',
'fr':
'<strong></strong>Ce contenu est généralement payant, mais vous pouvez lire cet article et d\'autres contenus gratuitement grâce à Google en vous inscrivant sur <ph name="PUBLICATION"><ex>AP News</ex>{publication}</ph> avec votre compte Google.',
'it':
'<strong></strong>Generalmente questi contenuti sono a pagamento, ma Google ti offre accesso gratuito a questo articolo e ad altri articoli se ti registri a <ph name="PUBLICATION"><ex>AP News</ex>{publication}</ph> usando il tuo Account Google.',
'pt-br':
'<strong></strong>Normalmente, é preciso pagar por este conteúdo. Porém, basta você se registrar na publicação <ph name="PUBLICATION"><ex>AP News</ex>{publication}</ph> usando sua Conta do Google para ter acesso gratuito a esta matéria e muito mais.',
},
'SHOWCASE_REGWALL_PUBLISHER_SIGN_IN_BUTTON': {
'cs': 'Už máte účet?',
'de': 'Du hast bereits ein Konto?',
'en': 'Already have an account?',
'es-ar': '¿Ya tienes una cuenta?',
'fr': 'Vous avez déjà un compte&nbsp;?',
'it': 'Hai già un account?',
'pt-br': 'Já tem uma conta?',
},
'SHOWCASE_REGWALL_GOOGLE_SIGN_IN_BUTTON': {
'cs': 'Přihlásit se přes Google',
'de': 'Über Google anmelden',
'en': 'Sign in with Google',
'es-ar': 'Acceder con Google',
'fr': 'Se connecter avec Google',
'it': 'Accedi con Google',
'pt-br': 'Fazer login com o Google',
},
};
Expand Down
Loading

0 comments on commit 2e762f0

Please sign in to comment.