add expected strings for butter-box branch

This commit is contained in:
John Hess 2022-10-11 22:02:15 -05:00
parent e0f232f049
commit d88df67d81
3 changed files with 18 additions and 17 deletions

View file

@ -1,14 +1,9 @@
site_name: 'Butter' site_name: 'Butter'
page_logo_alt: 'Butter App Feature Logo' page_logo_alt: 'Butter App Feature Logo'
title: 'Life without internet made smoother. <br /> Get access to tools that help.' title: 'Life without internet made smoother. <br /> Get access to tools that help.'
text: main_text: Butter features a collection of apps to make life without the internet a little smoother. Use it to discover and download free, ad-free apps or to spread the love and share offline.
show_chat: | fdroid_apps_caption: 'Just a few of the apps available via Butter'
This Butter Box offers an Android app store and chat rooms. Download the Butter app to discover and download free, ad-free apps or to spread the love and share apps offline. Or, create a chat room which hangs on to messages while you're gone and delivers them whenever your device reconnects to the Butter Box. fdroid_button_text: 'Download Butter'
dont_show_chat: |
Butter features a collection of apps to make life without the internet a little smoother. Use it to discover and download free, ad-free apps or to spread the love and share offline.
fdroid_apps_caption: Just a few of the apps available via Butter
fdroid_button_text: 'DOWNLOAD ANDROID APP'
chat_button_text: 'CREATE A CHAT ROOM'
app_tiles_image_alt: 'Butter App features collection' app_tiles_image_alt: 'Butter App features collection'
view_all_apps: 'View All Apps' view_all_apps: 'View All Apps'
built_on_fdroid: Built on F-Droid Free Software built_on_fdroid: Built on F-Droid Free Software
@ -26,9 +21,19 @@ modal:
warning: | warning: |
You will need to enable downloads from unknown sources to install this app on your Android phone. You will need to enable downloads from unknown sources to install this app on your Android phone.
# These are for the butter box UI which lives in the separate `butter-box` branch.
butter_box_title: 'Welcome to the Butter Box'
apps_subtitle: 'Get Android Apps.'
apps_text: 'Download the Butter app to view a collection of apps that use less internet and battery.'
fdroid_button_subtext: 'LESS THAN 10 MB'
apps_expander_text: 'Which apps?'
apps_expanded_text: 'Butter features apps for entertainment, sharing offline, navigating, taking pictures, and more!'
chat_subtitle: 'See what people are saying.'
chat_text: 'Check the chat for messages, videos, or files from nearby peers.'
chat_button_text: 'View Chat'
chat_secondary_cta: 'Open my own chat room'
captive: captive:
welcome_message: |
Welcome to Butterbox.
welcome_details: | welcome_details: |
This network doesn't provide internet access, just the next best thing, the Butter app. Butter features a collection of apps to make life without the internet a little smoother. This network doesn't provide internet access, just the next best thing, the Butter app. Butter features a collection of apps to make life without the internet a little smoother.
<br/><br/>Once you've connected, simply open http://butterbox.lan in your browser. <br/><br/>Once you've connected, simply open http://butterbox.lan in your browser.

View file

@ -8,7 +8,7 @@ layout: basic
<div class="container"> <div class="container">
<div class="content-area-wrapper text-center"> <div class="content-area-wrapper text-center">
<img src="{{site.baseurl}}{{ page_data.page_logo }}" alt="{% t page_logo_alt %}" /> <img src="{{site.baseurl}}{{ page_data.page_logo }}" alt="{% t page_logo_alt %}" />
<h1 class="content-title mb-2">{% t captive.welcome_message %}</h1> <h1 class="content-title mb-2">{% t butter_box_title %}</h1>
<p class="content-text text-black ls-40 mb-2">{% t captive.welcome_details %}</p> <p class="content-text text-black ls-40 mb-2">{% t captive.welcome_details %}</p>
<!-- Use NoDogSplash-provided variables to render a "continue" button --> <!-- Use NoDogSplash-provided variables to render a "continue" button -->
<form method="get" action="$authaction"> <form method="get" action="$authaction">

View file

@ -10,11 +10,7 @@ layout: default
<img src="{{site.baseurl}}{{ page_data.page_logo }}" alt="{% t page_logo_alt %}" /> <img src="{{site.baseurl}}{{ page_data.page_logo }}" alt="{% t page_logo_alt %}" />
<h1 class="content-title mb-2 mt-2">{% t title %}</h1> <h1 class="content-title mb-2 mt-2">{% t title %}</h1>
<p class="content-text text-black ls-40 mb-2"> <p class="content-text text-black ls-40 mb-2">
{% if site.data.deployment.show_chat %} {% t main_text %}
{% t text.show_chat %}
{% else %}
{% t text.dont_show_chat %}
{% endif %}
</p> </p>
<div class="content-img"> <div class="content-img">
<img src="{{site.baseurl}}{{ page_data.app_tiles_image }}" alt="{% t app_tiles_image_alt %}" /> <img src="{{site.baseurl}}{{ page_data.app_tiles_image }}" alt="{% t app_tiles_image_alt %}" />