From 7d8fcc09696540afd9a628e56a1c7ca2c81c7b55 Mon Sep 17 00:00:00 2001 From: Neil Lalonde <neillalonde@gmail.com> Date: Tue, 23 Jun 2015 14:41:49 -0400 Subject: [PATCH] FIX: subfolder support: welcome messages and emails have broken images --- config/locales/server.en.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 7b968b391..92f5ccdb2 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -1492,47 +1492,47 @@ en: - Selecting a topic title will always take you to the **next unread reply** in the topic. To enter at the top or bottom, select the reply count or last reply date instead. - <img src="/images/welcome/topic-list-select-areas-2x.png" width="593" height="59"> + <img src="%{base_url}/images/welcome/topic-list-select-areas-2x.png" width="593" height="59"> - While reading a topic, select the progress bar at the bottom right for full navigation controls. Quickly jump back to the top by selecting the topic title. Press <kbd>?</kbd> for a list of super-speedy keyboard shortcuts. - <img src="/images/welcome/progress-bar-2x.png" width="153" height="181"> + <img src="%{base_url}/images/welcome/progress-bar-2x.png" width="153" height="181"> ## Replying - - To reply to the **topic in general**, use <img src="/images/welcome/reply-topic-2x.png" width="25" height="23"> at the very bottom of the topic. + - To reply to the **topic in general**, use <img src="%{base_url}/images/welcome/reply-topic-2x.png" width="25" height="23"> at the very bottom of the topic. - - To reply to a **specific person**, use <img src="/images/welcome/reply-post-2x.png" width="25" height="23"> on their post. + - To reply to a **specific person**, use <img src="%{base_url}/images/welcome/reply-post-2x.png" width="25" height="23"> on their post. - - To reply with **a new topic**, use <img src="/images/welcome/reply-as-linked-topic-2x.png" width="20" height="25"> to the right of the post. Both old and new topics will be automatically linked together. + - To reply with **a new topic**, use <img src="%{base_url}/images/welcome/reply-as-linked-topic-2x.png" width="20" height="25"> to the right of the post. Both old and new topics will be automatically linked together. To insert a quote, select the text you wish to quote, then press any Reply button. Repeat for multiple quotes! - <img src="/images/welcome/quote-reply-2x.png" width="326" height="128"> + <img src="%{base_url}/images/welcome/quote-reply-2x.png" width="326" height="128"> To notify someone about your reply, mention their name. Type `@` to begin selecting a username. - <img src="/images/welcome/username-completion-2x.png" width="191" height="125"> + <img src="%{base_url}/images/welcome/username-completion-2x.png" width="191" height="125"> To use [standard Emoji](http://www.emoji.codes/), just type `:` to match by name, or use the traditional smileys `;)` - <img src="/images/welcome/emoji-completion-2x.png" width="144" height="153"> + <img src="%{base_url}/images/welcome/emoji-completion-2x.png" width="144" height="153"> ## Actions There are action buttons at the bottom of each post: - <img src="/images/welcome/like-link-flag-bookmark-2x.png" width="162" height="42"> + <img src="%{base_url}/images/welcome/like-link-flag-bookmark-2x.png" width="162" height="42"> To let someone know that you enjoyed and appreciated their post, use the **like** button. Share the love! - If you see a problem with someone's post, privately let them, or [our staff](/about), know about it with the **flag** button. You can also **share** a link to a post, or **bookmark** it for later reference on your user page. + If you see a problem with someone's post, privately let them, or [our staff](%{base_url}/about), know about it with the **flag** button. You can also **share** a link to a post, or **bookmark** it for later reference on your user page. ## Notifications When someone replies to you, quotes your post, or mentions your `@username`, a number will immediately appear at the top right of the page. Use it to access your **notifications**. - <img src="/images/welcome/notification-panel-2x.png" width="160" height="54"> + <img src="%{base_url}/images/welcome/notification-panel-2x.png" width="160" height="54"> Don't worry about missing a reply – you'll be emailed any notifications that arrive when you are away. @@ -1544,11 +1544,11 @@ en: You will see the blue new and unread number indicators next to these topics: - <img src="/images/welcome/topics-new-unread-2x.png" width="341" height="106"> + <img src="%{base_url}/images/welcome/topics-new-unread-2x.png" width="341" height="106"> You can change your notifications for any topic via the notification control at the bottom of the topic. - <img src="/images/welcome/topic-notification-control-2x.png" width="608" height="312"> + <img src="%{base_url}/images/welcome/topic-notification-control-2x.png" width="608" height="312"> You can also set notification state per category, if you want to watch every new topic in a specific category. @@ -1598,7 +1598,7 @@ en: subject_template: "Backup completed successfully" text_body_template: "The backup was successful. - Visit the [admin > backup section](/admin/backups) to download your new backup." + Visit the [admin > backup section](%{base_url}/admin/backups) to download your new backup." backup_failed: subject_template: "Backup failed"