add-to-homescreen-rails 3.0.6 → 3.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c4fc2a82b30dde44af90e80d558beb50789fea1
4
- data.tar.gz: 11da6ce686473f07ba70d0043e748a84c6e808dc
3
+ metadata.gz: 2f3bd0d1d633d1f400cc074f544d94eaaec52463
4
+ data.tar.gz: d3df1ef2824690e7c133260e01fdd9a5caa007ea
5
5
  SHA512:
6
- metadata.gz: 52b3e993ac7310eedc56b203eb1a4e8bafd3d902aadca74b364244c51577a3b133da9a2573b33f35190e0aa132061e0fe464fa976d98f0c288903d0b795ab10f
7
- data.tar.gz: 0121ddc56c92d2f78ca33d56cb12f2bc2d782e35c68e378880ed410fa056d5b1d05864eaf0334ee96c5ea3ade5205b80307a488df1f85347f7a6309a39b4492f
6
+ metadata.gz: 248b7e5e8c81123457bb059e1f8790513c42453c7d096b334cb8fc80544d8e15037284465961c79378dbf14caa10d4fb9d80ea8e7f01a0e120c1b61ff9130fc7
7
+ data.tar.gz: 09fcb112d2a419e0f77e70873f28b09c86a8ca331376a51f41396f8d3c0470f9807f84250b4ebea11c8cbedc774ccf4314071ec406bddfa47d6e9d5ec0573eb2
@@ -1,4 +1,4 @@
1
- /* Add to Homescreen v3.0.6 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
1
+ /* Add to Homescreen v3.0.7 ~ (c) 2014 Matteo Spinelli ~ @license: http://cubiq.org/license */
2
2
  (function (window, document) {
3
3
  /*
4
4
  _ _ _____ _____
@@ -50,16 +50,31 @@ ath.intl = {
50
50
  action: { ios: 'Añadir a pantalla de inicio', android: 'Añadir a pantalla de inicio', windows: 'Añadir a inicio' }
51
51
  },
52
52
 
53
+ fr_fr: {
54
+ message: 'Pour ajouter cette application web sur l\'écran d\'accueil : Appuyez %icon et sélectionnez <strong>%action</strong>.',
55
+ action: { ios: 'Ajouter sur l\'écran d\'accueil', android: 'Ajouter à l\'écran d\'accueil', windows: 'Épingler à l\'écran d\'accueil' }
56
+ },
57
+
53
58
  it_it: {
54
59
  message: 'Per Aggiungere questa web app alla schermata iniziale: premi %icon e poi <strong>%action</strong>.',
55
60
  action: { ios: 'Aggiungi a Home', android: 'Aggiungi alla homescreen', windows: 'aggiungi a start' }
56
61
  },
57
62
 
63
+ nb_no: {
64
+ message: 'For å installere denne appen på hjem-skjermen: trykk på %icon og deretter <strong>%action</strong>.',
65
+ action: { ios: 'Legg til på Hjem-skjerm', android: 'Legg til på startsiden', windows: 'fest til start' }
66
+ },
67
+
58
68
  nl_nl: {
59
69
  message: 'Om deze webapp op je telefoon te installeren, klik op %icon en dan <strong>%action</strong>.',
60
70
  action: { ios: 'Voeg toe aan beginscherm', android: 'Toevoegen aan startscherm', windows: 'Aan startscherm vastmaken' }
61
71
  },
62
72
 
73
+ sv_se: {
74
+ message: 'För att lägga till denna webbapplikation på hemskärmen: tryck på %icon och därefter <strong>%action</strong>.',
75
+ action: { ios: 'Lägg till på hemskärmen', android: 'Lägg til på startskärmen', windows: 'fäst på startskärmen' }
76
+ },
77
+
63
78
  zh_cn: {
64
79
  message: '如要把应用程式加至主屏幕,请点击%icon, 然后<strong>%action</strong>',
65
80
  action: { ios: '加至主屏幕', android: '加至主屏幕', windows: '按住启动' }
@@ -71,6 +86,11 @@ ath.intl = {
71
86
  }
72
87
  };
73
88
 
89
+ // Add 2 characters language support (Android mostly)
90
+ for ( var lang in ath.intl ) {
91
+ ath.intl[lang.substr(0, 2)] = ath.intl[lang];
92
+ }
93
+
74
94
  // default options
75
95
  ath.defaults = {
76
96
  appID: 'org.cubiq.addtohome', // local storage name (no need to change)
@@ -107,10 +127,6 @@ _extend(ath, {
107
127
  language: _nav.language && _nav.language.toLowerCase().replace('-', '_') || ''
108
128
  });
109
129
 
110
- // normalize language string so it always looks like aa_bb
111
- if ( ath.language.length == 2 ) {
112
- ath.language += '_' + ath.language;
113
- }
114
130
  // falls back to en_us if language is unsupported
115
131
  ath.language = ath.language && ath.language in ath.intl ? ath.language : 'en_us';
116
132
 
@@ -2,7 +2,7 @@ module Add
2
2
  module To
3
3
  module Homescreen
4
4
  module Rails
5
- VERSION = "3.0.6"
5
+ VERSION = "3.0.7"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: add-to-homescreen-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - RogerE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-26 00:00:00.000000000 Z
11
+ date: 2014-06-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides the 'Add to Home screen' assets for your Rails application.
14
14
  email: