forked from treehouse/mastodon
Merge branch 'master' into master
commit
1a5a54eb4b
|
@ -65,4 +65,4 @@ const bg = {
|
||||||
"notifications.column_settings.reblog": "Споделяния:",
|
"notifications.column_settings.reblog": "Споделяния:",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default en;
|
export default bg;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const en = {
|
const de = {
|
||||||
"column_back_button.label": "Zurück",
|
"column_back_button.label": "Zurück",
|
||||||
"lightbox.close": "Schließen",
|
"lightbox.close": "Schließen",
|
||||||
"loading_indicator.label": "Lade…",
|
"loading_indicator.label": "Lade…",
|
||||||
|
@ -74,4 +74,4 @@ const en = {
|
||||||
"missing_indicator.label": "Nicht gefunden"
|
"missing_indicator.label": "Nicht gefunden"
|
||||||
};
|
};
|
||||||
|
|
||||||
export default en;
|
export default de;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
* 1. to add your new string here; and
|
* 1. to add your new string here; and
|
||||||
* 2. to remove old strings that are no longer needed; and
|
* 2. to remove old strings that are no longer needed; and
|
||||||
* 3. to sort the strings by the key.
|
* 3. to sort the strings by the key.
|
||||||
|
# 4. To rename the `en` const name and export default name to match your locale.
|
||||||
* Thanks!
|
* Thanks!
|
||||||
*/
|
*/
|
||||||
const en = {
|
const en = {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
- else
|
- else
|
||||||
%meta{ property: 'og:description', content: @stream_entry.activity.content }/
|
%meta{ property: 'og:description', content: @stream_entry.activity.content }/
|
||||||
|
|
||||||
- if @stream_entry.activity.is_a?(Status) && @stream_entry.activity.media_attachments.size > 0
|
- if @stream_entry.activity.is_a?(Status) && !@stream_entry.activity.sensitive? && @stream_entry.activity.media_attachments.size > 0
|
||||||
%meta{ property: 'og:image', content: full_asset_url(@stream_entry.activity.media_attachments.first.file.url(:small)) }/
|
%meta{ property: 'og:image', content: full_asset_url(@stream_entry.activity.media_attachments.first.file.url(:small)) }/
|
||||||
- else
|
- else
|
||||||
%meta{ property: 'og:image', content: full_asset_url(@account.avatar.url(:original)) }/
|
%meta{ property: 'og:image', content: full_asset_url(@account.avatar.url(:original)) }/
|
||||||
|
|
Loading…
Reference in New Issue