mercury-rails 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/mercury.js +1 -0
- data/app/assets/javascripts/mercury/lightview.js.coffee +26 -12
- data/app/assets/javascripts/mercury/locales/ar.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/da.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/de.locale.js.coffee +4 -6
- data/app/assets/javascripts/mercury/locales/es.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/example.local.js.coffee +3 -1
- data/app/assets/javascripts/mercury/locales/fr.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/it.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/ko.local.js.coffee +4 -6
- data/app/assets/javascripts/mercury/locales/nl.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/pt.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/sv.local.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +3 -5
- data/app/assets/javascripts/mercury/locales/zh.local.js.coffee +3 -5
- data/app/assets/javascripts/mercury/mercury.js.coffee +1 -1
- data/app/assets/javascripts/mercury/modal.js.coffee +38 -23
- data/app/assets/javascripts/mercury/modals/htmleditor.js.coffee +1 -0
- data/app/assets/javascripts/mercury/modals/insertcharacter.js.coffee +1 -0
- data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +111 -60
- data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +80 -35
- data/app/assets/javascripts/mercury/modals/insertsnippet.js.coffee +1 -0
- data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +59 -51
- data/app/assets/javascripts/mercury/page_editor.js.coffee +1 -1
- data/app/assets/javascripts/mercury/regions/full.coffee +1 -1
- data/app/assets/javascripts/mercury/regions/image.js.coffee +1 -1
- data/app/assets/javascripts/mercury/regions/markdown.coffee +1 -1
- data/app/assets/javascripts/mercury/regions/simple.js.coffee +1 -1
- data/app/assets/javascripts/mercury/regions/snippets.js.coffee +1 -1
- data/app/assets/javascripts/mercury/table_editor.js.coffee +16 -0
- data/app/assets/javascripts/mercury/toolbar.js.coffee +2 -2
- data/app/assets/stylesheets/mercury.css +0 -5
- data/app/assets/stylesheets/mercury/bootstrap-ish.css +1367 -0
- data/app/assets/stylesheets/mercury/bootstrap-overrides.css +60 -0
- data/app/assets/stylesheets/mercury/lightview.css +2 -52
- data/app/assets/stylesheets/mercury/mercury.css +2 -2
- data/app/assets/stylesheets/mercury/modal.css +13 -31
- data/app/assets/stylesheets/mercury/uploader.css +3 -3
- data/app/views/mercury/modals/htmleditor.html +2 -6
- data/app/views/mercury/modals/link.html +70 -64
- data/app/views/mercury/modals/media.html +80 -71
- data/app/views/mercury/modals/table.html +79 -73
- data/app/views/mercury/snippets/example/options.html.erb +11 -30
- data/features/loading/loading.feature +1 -1
- data/features/regions/full/inserting_links.feature +4 -4
- data/features/regions/full/inserting_media.feature +3 -3
- data/features/step_definitions/mercury_steps.rb +5 -5
- data/features/support/env.rb +1 -1
- data/lib/mercury/version.rb +1 -1
- data/spec/javascripts/mercury/lightview_spec.js.coffee +136 -129
- data/spec/javascripts/mercury/modal_spec.js.coffee +143 -139
- data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +105 -31
- data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +76 -38
- data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +32 -35
- data/spec/javascripts/mercury/toolbar_spec.js.coffee +8 -0
- data/spec/javascripts/templates/mercury/modals/insertlink.html +58 -21
- data/spec/javascripts/templates/mercury/modals/insertmedia.html +69 -27
- data/spec/javascripts/templates/mercury/modals/inserttable.html +66 -20
- metadata +5 -5
- data/app/assets/stylesheets/mercury/buttons.css +0 -73
- data/app/assets/stylesheets/mercury/form.css +0 -125
@@ -19,6 +19,7 @@
|
|
19
19
|
*
|
20
20
|
* Require any localizations you wish to support
|
21
21
|
* Example: es.locale, or fr.locale -- regional dialects are in each language file so never en_US for instance.
|
22
|
+
* Make sure you enable the localization feature in the configuration.
|
22
23
|
* require mercury/locales/swedish_chef.locale
|
23
24
|
*
|
24
25
|
* Add all requires for plugins that extend or change the behavior of Mercury Editor.
|
@@ -1,19 +1,26 @@
|
|
1
1
|
@Mercury.lightview = (url, options = {}) ->
|
2
|
-
Mercury.lightview.
|
3
|
-
|
2
|
+
Mercury.lightview.instance ||= new Mercury.Lightview(url, options)
|
3
|
+
Mercury.lightview.instance.show(url, options)
|
4
|
+
return Mercury.lightview.instance
|
4
5
|
|
5
|
-
jQuery.extend Mercury.lightview,
|
6
|
-
minWidth: 400
|
7
6
|
|
8
|
-
|
7
|
+
class @Mercury.Lightview
|
8
|
+
|
9
|
+
constructor: (@url, @options = {}) ->
|
10
|
+
|
11
|
+
|
12
|
+
show: (url, options) ->
|
13
|
+
@url = url || @url
|
14
|
+
@options = options || @options
|
15
|
+
|
9
16
|
Mercury.trigger('focus:window')
|
10
|
-
@
|
17
|
+
@initializeLightview()
|
11
18
|
if @visible then @update() else @appear()
|
12
19
|
if @options.content
|
13
|
-
setTimeout
|
20
|
+
setTimeout((=> @loadContent(@options.content)), 500)
|
14
21
|
|
15
22
|
|
16
|
-
|
23
|
+
initializeLightview: ->
|
17
24
|
return if @initialized
|
18
25
|
@build()
|
19
26
|
@bindEvents()
|
@@ -160,7 +167,7 @@ jQuery.extend Mercury.lightview,
|
|
160
167
|
|
161
168
|
|
162
169
|
loadContent: (data, options = null) ->
|
163
|
-
@
|
170
|
+
@initializeLightview()
|
164
171
|
@options = options || @options
|
165
172
|
@setTitle()
|
166
173
|
@loaded = true
|
@@ -175,9 +182,17 @@ jQuery.extend Mercury.lightview,
|
|
175
182
|
@options.afterLoad.call(@) if @options.afterLoad
|
176
183
|
if @options.handler
|
177
184
|
if Mercury.modalHandlers[@options.handler]
|
178
|
-
Mercury.modalHandlers[@options.handler]
|
185
|
+
if typeof(Mercury.modalHandlers[@options.handler]) == 'function'
|
186
|
+
Mercury.modalHandlers[@options.handler].call(@)
|
187
|
+
else
|
188
|
+
jQuery.extend(@, Mercury.modalHandlers[@options.handler])
|
189
|
+
@initialize()
|
179
190
|
else if Mercury.lightviewHandlers[@options.handler]
|
180
|
-
Mercury.lightviewHandlers[@options.handler]
|
191
|
+
if typeof(Mercury.lightviewHandlers[@options.handler]) == 'function'
|
192
|
+
Mercury.lightviewHandlers[@options.handler].call(@)
|
193
|
+
else
|
194
|
+
jQuery.extend(@, Mercury.lightviewHandlers[@options.handler])
|
195
|
+
@initialize()
|
181
196
|
|
182
197
|
@element.localize(Mercury.locale()) if Mercury.config.localization.enabled
|
183
198
|
@resize()
|
@@ -195,7 +210,6 @@ jQuery.extend Mercury.lightview,
|
|
195
210
|
hide: ->
|
196
211
|
return if @showing
|
197
212
|
@options = {}
|
198
|
-
@initialized = false
|
199
213
|
|
200
214
|
Mercury.trigger('focus:frame')
|
201
215
|
@element.hide()
|
@@ -74,6 +74,8 @@ Mercury.I18n['ar'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor غير قاد على تحميل: %s\n\nمن فضلك حدث الصفحة ."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "نوع المساحة تالف, لا يوجد نوع , أو \"%s\" غير معروف للمساحة \"%s\""
|
76
76
|
"Mercury was unable to save to the url: %s": "غير قادر على حفظ الرابط: %s"
|
77
|
+
"invalid": "باطل"
|
78
|
+
"can't be blank": "لا يمكن أن تكون فارغة"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes.Are you sure you want to leave without saving them first?": "لديك تغييرات غير محفوظة. هل أنت متأكد أنك تريد أن تترك دون حفظها أولا؟"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['ar'] =
|
|
110
112
|
"Size: %s": "حجم: %s"
|
111
113
|
"Type: %s": "نوع: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "خطأ: عنوان اليوتيوب غير صحيح"
|
115
|
-
"Error: The provided vimeo url was invalid.": "خطأ: عنوان فيميو غير صحيح"
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "مسار:"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['ar'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "صور"
|
143
141
|
"Videos": "فيديو"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "رابط يوتيوب"
|
145
143
|
"Vimeo URL": "رابط فيميو"
|
146
144
|
"Alignment": "المحاذاة"
|
147
145
|
"None": "لا شيء"
|
@@ -74,6 +74,8 @@ Mercury.I18n['da'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor kunne ikke starte: %s\n\n Prøv venligst at opdatere siden."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regionstype er forkert formateret. Enten blev ingen datatype angivet, ellers er \"%s\" ukendt for \"%s\"regionen."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury var ikke i stand til at gemme til addressen: %s"
|
77
|
+
"invalid": "ugyldig"
|
78
|
+
"can't be blank": "kan ikke være tomt"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Du har ændringer der ikke er blevet gemt. Er du sikker på, at du vil forlade siden uden først at gemme dem?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['da'] =
|
|
110
112
|
"Size: %s": "Størrelse: %s"
|
111
113
|
"Type: %s": "Type: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Fejl: Den angivede delningsadressen for YouTube er forkert."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Fejl: Den angivede Vimeo-adresse er forkert."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Sti:"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['da'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Billeder"
|
143
141
|
"Videos": "Videoer"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "YouTube-URL"
|
145
143
|
"Vimeo URL": "Vimeo-URL"
|
146
144
|
"Alignment": "Justering"
|
147
145
|
"None": "Ingen"
|
@@ -74,6 +74,8 @@ Mercury.I18n['de'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor konnte nicht geladen werden: %s\n\nBitte versuche die Seite neu zu laden."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regionstyp ist ungültig, kein Datentyp angegeben, oder \"%s\" ist unbekannt für die \"%s\"-Region."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury war nicht in der Lage unter der URL zu speichern: %s"
|
77
|
+
"invalid": "ungültig"
|
78
|
+
"can't be blank": "darf nicht leer sein"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Es gibt ungespeicherte Änderungen. Möchtest du wirklich beenden, ohne die Änderungen vorher zu speichern?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['de'] =
|
|
110
112
|
"Size: %s": "Größe: %s"
|
111
113
|
"Type: %s": "Typ: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Fehler: Die angegebene YouTube Share-URL war ungültig."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Fehler: Die angegebene Vimeo-URL war ungültig."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Pfad"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['de'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Bilder"
|
143
141
|
"Videos": "Videos"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "YouTube-URL"
|
145
143
|
"Vimeo URL": "Vimeo-URL"
|
146
144
|
"Alignment": "Ausrichtung"
|
147
145
|
"None": "Normal"
|
@@ -203,4 +201,4 @@ Mercury.I18n['de'] =
|
|
203
201
|
|
204
202
|
"First Name": "Vorname"
|
205
203
|
"Favorite Beer": "Lieblingsbier"
|
206
|
-
"Insert Snippet": "Snippet einfügen"
|
204
|
+
"Insert Snippet": "Snippet einfügen"
|
@@ -74,6 +74,8 @@ Mercury.I18n['es'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor no se ha podido cargar: %s\n\nPor favor intentalo de nuevo refrescando."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "El tipo de Region es incorrecto, no se ha especificado un data-type , o \"%s\" es desconocido para la region \"%s\""
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury no pudo guardar en la url: %s"
|
77
|
+
"invalid": "inválido"
|
78
|
+
"can't be blank": "no puede estar en blanco"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes.Are you sure you want to leave without saving them first?": "Has hecho cambios que no han sido guardados. ¿Estás seguro de que quieres salir sin guardar estos cambios?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['es'] =
|
|
110
112
|
"Size: %s": "Tamaño: %s"
|
111
113
|
"Type: %s": "Tipo: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Error: La URL de YouTube introducida no es válida"
|
115
|
-
"Error: The provided vimeo url was invalid.": "Error: La URL de Vimeo introducida no es válida"
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Ruta:"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['es'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Imágenes"
|
143
141
|
"Videos": "Videos"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "YouTube URL"
|
145
143
|
"Vimeo URL": "Vimeo URL"
|
146
144
|
"Alignment": "Alineación"
|
147
145
|
"None": "Ninguna"
|
@@ -74,6 +74,8 @@ Mercury.I18n['en'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": ""
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": ""
|
76
76
|
"Mercury was unable to save to the url: %s": ""
|
77
|
+
"invalid": ""
|
78
|
+
"can't be blank": ""
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": ""
|
79
81
|
|
@@ -141,7 +143,7 @@ Mercury.I18n['en'] =
|
|
141
143
|
# Insert Media Modal (media.html)
|
142
144
|
"Images": ""
|
143
145
|
"Videos": ""
|
144
|
-
"YouTube
|
146
|
+
"YouTube URL": ""
|
145
147
|
"Vimeo URL": ""
|
146
148
|
"Alignment": ""
|
147
149
|
"None": ""
|
@@ -74,6 +74,8 @@ Mercury.I18n['fr'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor n'a pas pu démarrer: %s\n\nEssayez de rafraichir la page."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "La région est mal formée, le type de donnée est manquant ou \"%s\" est inconnu pour la région \"%s\"."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury n'a pas pu sauvegarder sur l'URL : %s"
|
77
|
+
"invalid": "invalide"
|
78
|
+
"can't be blank": "ne peut pas être vide"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Il y a des changements non sauvegardés. Etes-vous sûr de vouloir quitter sans les enregistrer ?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['fr'] =
|
|
110
112
|
"Size: %s": "Taille : %s"
|
111
113
|
"Type: %s": "Type : %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Erreur : l'URL Youtube indiquée est invalide."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Erreur : l'URL Vimeo indiquée est invalide."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Chemin :"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['fr'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Images"
|
143
141
|
"Videos": "Vidéos"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "URL Youtube"
|
145
143
|
"Vimeo URL": "URL Vimeo"
|
146
144
|
"Alignment": "Alignement"
|
147
145
|
"None": "Aucun"
|
@@ -74,6 +74,8 @@ Mercury.I18n['it'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "È fallito il caricamento di Mercury.PageEditor: %s\n\nProva a ricaricare la pagina."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Il tipo di regione è malformato, data-type non è stato fornito, o \"%s\" è sconosciuto per la regione \"%s\"."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury non è stato in grado di salvare l'url: %s"
|
77
|
+
"invalid": "non valido"
|
78
|
+
"can't be blank": "non può essere vuota"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Hai cambiamenti non salvati. Sei sicuro di voler abbandonare questa pagina senza prima salvarli?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['it'] =
|
|
110
112
|
"Size: %s": "Grandezza: %s"
|
111
113
|
"Type: %s": "Tipo: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Errore: l'url della condivisione di youtube non è valido"
|
115
|
-
"Error: The provided vimeo url was invalid.": "Errore: l'url vimeo non è valido"
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Percorso"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['it'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Immagini"
|
143
141
|
"Videos": "Video"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "URL YouTube"
|
145
143
|
"Vimeo URL": "URL Vimeo"
|
146
144
|
"Alignment": "Allineamento"
|
147
145
|
"None": "Nessuno"
|
@@ -74,6 +74,8 @@ Mercury.I18n['ko'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor 가 읽기에 실패했습니다. : %s\n\n새로고침을 해보세요."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "위치 종류가 올바르지 않거나 데이터 타입이 제공되지 않았습니다. 혹은 \"%s\"가 \"%s\" 위치에 알려지지 않았습니다."
|
76
76
|
"Mercury was unable to save to the url: %s": "머큐리는 그 경로에 저장 할 수 없습니다.: %s"
|
77
|
+
"invalid": "무효"
|
78
|
+
"can't be blank": "비워 둘 수 없습니다"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "저장하지 않은 변경사항이 있습니다. 저장하지 않고 이 페이지를 벗어나시겠습니까?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['ko'] =
|
|
110
112
|
"Size: %s": "용량: %s"
|
111
113
|
"Type: %s": "형식: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "오류 : 존재하지 않는 유투브 공유 주소입니다."
|
115
|
-
"Error: The provided vimeo url was invalid.": "오류 : 존재하지 않는 비메오 주소 입니다."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "경로:"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['ko'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "그림:"
|
143
141
|
"Videos": "영상:"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "유투브 URL"
|
145
143
|
"Vimeo URL": "비메오 URL"
|
146
144
|
"Alignment": "정렬"
|
147
145
|
"None": "정렬 안함"
|
@@ -203,4 +201,4 @@ Mercury.I18n['ko'] =
|
|
203
201
|
|
204
202
|
"First Name": "이름"
|
205
203
|
"Favorite Beer": "선호하는 맥주"
|
206
|
-
"Insert Snippet": "글감 넣기"
|
204
|
+
"Insert Snippet": "글감 넣기"
|
@@ -74,6 +74,8 @@ Mercury.I18n['nl'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury was unable to save to the url: %s"
|
77
|
+
"invalid": "ongeldig"
|
78
|
+
"can't be blank": "niet leeg"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Je hebt nog niet opgeslagen. Weet je zeker dat je de pagina wilt verlaten zonder eerst op te slaan?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['nl'] =
|
|
110
112
|
"Size: %s": "Grootte: %s"
|
111
113
|
"Type: %s": "Type: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Irrur: Zee prufeeded youtube shere-a url ves infeleed."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Irrur: Zee prufeeded vimeo url ves infeleed."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Pad"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['nl'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Afbeeldingen"
|
143
141
|
"Videos": "Video's"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "Youtube URL"
|
145
143
|
"Vimeo URL": "Vimeo URL"
|
146
144
|
"Alignment": "Uitlijning"
|
147
145
|
"None": "Geen"
|
@@ -74,6 +74,8 @@ Mercury.I18n['pt'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor não pôde carregar: %s\n\nPor favor, recarregue a página."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "A região não digitada corretamente, não foi definido um 'data-type', ou \"%s\" é desconhecido na região de \"%s\"."
|
76
76
|
"Mercury was unable to save to the url: %s": ""
|
77
|
+
"invalid": "inválido"
|
78
|
+
"can't be blank": "não pode estar em branco"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Você modificou esta página. Quer sair sem salvar seu trabalho?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['pt'] =
|
|
110
112
|
"Size: %s": "Tamanho: \"%s\"."
|
111
113
|
"Type: %s": "Tipo: \"%s\"."
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Erro: Link inválido no youtube."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Erro: Link inválido no vimeo."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Caminho"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['pt'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Imagens"
|
143
141
|
"Videos": "Vídeos"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "Link do Youtube"
|
145
143
|
"Vimeo URL": "Link do Vimeo"
|
146
144
|
"Alignment": "Alinhamento"
|
147
145
|
"None": "Nenhum"
|
@@ -74,6 +74,8 @@ Mercury.I18n['sv'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor misslyckades att ladda: %s\n\nVänligen försök att ladda om sidan."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regionstyp är felaktigt formaterad, ingen datatyp angavs, eller \"%s\" är okänt för \"%s\" regionen."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury kunde inte spara till adressen: %s"
|
77
|
+
"invalid": "ogiltig"
|
78
|
+
"can't be blank": "kan inte vara tomt"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Du har osparade ändringar. Är du säker på att du vill lämna sidan utan att spara dem först?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['sv'] =
|
|
110
112
|
"Size: %s": "Storlek: %s"
|
111
113
|
"Type: %s": "Typ: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Fel: Den angivna delningsadressen för Youtube är felaktig."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Fel: Den angivna Vimeo-adressen är felaktig."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Sökväg:"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['sv'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Bilder"
|
143
141
|
"Videos": "Video"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "YouTube-URL"
|
145
143
|
"Vimeo URL": "Vimeo-URL"
|
146
144
|
"Alignment": "Justering"
|
147
145
|
"None": "Ingen"
|
@@ -74,6 +74,8 @@ Mercury.I18n['swedish_chef'] =
|
|
74
74
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PegeEdeetur feeeled tu lued: %s\n\nPleese-a try reffresheeng."
|
75
75
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regeeun type-a is melffurmed, nu deta-type-a prufeeded, oor \"%s\" is unknoon fur zee \"%s\" regeeun."
|
76
76
|
"Mercury was unable to save to the url: %s": "Mercury ves uneble-a tu sefe-a tu zee url: %s"
|
77
|
+
"invalid": "infeleed"
|
78
|
+
"can't be blank": "cun't be-a blunk"
|
77
79
|
# Confirmations
|
78
80
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "Yuoo hefe-a unsefed chunges. Ere-a yuoo soore-a yuoo vunt tu leefe-a veethuoot sefeeng zeem furst?"
|
79
81
|
|
@@ -110,10 +112,6 @@ Mercury.I18n['swedish_chef'] =
|
|
110
112
|
"Size: %s": "Seeze-a: %s"
|
111
113
|
"Type: %s": "Type-a: %s"
|
112
114
|
|
113
|
-
# Inserting Media
|
114
|
-
"Error: The provided youtube share url was invalid.": "Irrur: Zee prufeeded youtube shere-a url ves infeleed."
|
115
|
-
"Error: The provided vimeo url was invalid.": "Irrur: Zee prufeeded vimeo url ves infeleed."
|
116
|
-
|
117
115
|
# Statusbar
|
118
116
|
"Path:": "Pet:"
|
119
117
|
|
@@ -141,7 +139,7 @@ Mercury.I18n['swedish_chef'] =
|
|
141
139
|
# Insert Media Modal (media.html)
|
142
140
|
"Images": "Imeges"
|
143
141
|
"Videos": "Feedeus"
|
144
|
-
"YouTube
|
142
|
+
"YouTube URL": "YouTube URL"
|
145
143
|
"Vimeo URL": "Vimeo URL"
|
146
144
|
"Alignment": "Eleegnment"
|
147
145
|
"None": "Nune-a"
|
@@ -76,6 +76,8 @@ Mercury.I18n['zh'] =
|
|
76
76
|
"Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor 载入失败:%s\n\n请尝试刷新一下本页。"
|
77
77
|
"Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "地区不正确,没有提供数据类型,或“%s”不在“%s”区域中。"
|
78
78
|
"Mercury was unable to save to the url: %s": "Mercury 无法保存至这一 URL:%s"
|
79
|
+
"invalid": "无效"
|
80
|
+
"can't be blank": "不能为空"
|
79
81
|
# Confirmations
|
80
82
|
"You have unsaved changes. Are you sure you want to leave without saving them first?": "您还有未保存的修改,确定要放弃修改并离开吗?"
|
81
83
|
|
@@ -112,10 +114,6 @@ Mercury.I18n['zh'] =
|
|
112
114
|
"Size: %s": "文件大小:%s"
|
113
115
|
"Type: %s": "文件类型:%s"
|
114
116
|
|
115
|
-
# Inserting Media
|
116
|
-
"Error: The provided youtube share url was invalid.": "错误:您输入的 YouTube 分享链接无效。"
|
117
|
-
"Error: The provided vimeo url was invalid.": "错误:您输入的 Vimeo 分享链接无效。"
|
118
|
-
|
119
117
|
# Statusbar
|
120
118
|
"Path:": "路径:"
|
121
119
|
|
@@ -143,7 +141,7 @@ Mercury.I18n['zh'] =
|
|
143
141
|
# Insert Media Modal (media.html)
|
144
142
|
"Images": "图片"
|
145
143
|
"Videos": "视频"
|
146
|
-
"YouTube
|
144
|
+
"YouTube URL": "YouTube 分享链接"
|
147
145
|
"Vimeo URL": "Vimeo 分享链接"
|
148
146
|
"Alignment": "对齐方式"
|
149
147
|
"None": "默认"
|