diff --git a/_i18n/en.yml b/_i18n/en.yml index 73e3785..afcd728 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -6,6 +6,57 @@ app_tiles_image_alt: 'Butter App features collection' view_all_apps: 'View All Apps' built_on_fdroid: Built on F-Droid Free Software +butter_box_title: 'Welcome to the Butter Box' +explore: 'Explore' +explore_missing: 'Insert USB drive to broadcast content' +message_board: "Message Board" +app_store: 'App Store' +offline_maps: 'Offline Maps' + +apps: + breadcrumb: "App Store" + footer: The Butter App Store is built on F-Droid free software + title: Discover the Butter App Store + subtitle: 'Featuring free, ad-free Android apps that use less internet and less battery' + main_cta: Download App Store + sub_cta: "Less than 10 MB" + view_in_browser: View in Browser + +maps: + breadcrumb: "Offline Maps" + main_cta: "Download OsmAnd" + sub_cta: "137 MB" + title: "Navigating Offline" + subtitle: "OsmAnd is an offline world map application based on OpenStreetMap" + sections: + section1: + title: "About OsmAnd" + text: OsmAnd allows you to navigate taking into account the preferred roads and vehicle dimensions. Plan routes based on inclines and record GPX tracks without an internet connection. OsmAnd is an open source app. It does not collect user data and you decide what data the app will have access to. + section2: + title: "Map Files" + text: Download map files for your region. To import a map file into OsmAnd, locate the file in your device downloads. Then open it with the OsmAnd app. + +sideloading_modal: + heading: Continue With Confidence + paragraphs: + - 'Downloading apps from unknown sources can expose your device to malicious software. For this reason, your phone will warn against it.' + - 'The Butter App Store and the apps in it are checked for malware before they are shared. Consider it a safe source.' + confirm: Continue to Download + go_back: Go Back + +explore_page: + files: 'Files' + folders: 'Folders' + items: 'items' + sort_by: 'Sort by' + sort_options: + name_a: 'Name: A-Z' + namd_d: 'Name: Z-A' + date_a: 'Date Modified: Oldest' + date_d: 'Date Modified: Newest' + size_a: 'Size: Smallest' + size_d: 'Size: Biggest' + modal: title: 'Butter: Free, ad-free apps to help you offline' butter_app_logo_alt: 'Butter App Logo' @@ -19,11 +70,6 @@ modal: warning: | You will need to enable downloads from unknown sources to install this app on your Android phone. -butter_box_title: 'Welcome to the Butter Box' -explore: 'Explore' -message_board: "Message Board" -app_store: 'App Store' -offline_maps: 'Offline Maps' # Some of these are disused. apps_subtitle: 'Get Android Apps.' diff --git a/_includes/fancybutton.html b/_includes/fancybutton.html index e5e7adc..2aa0b4c 100644 --- a/_includes/fancybutton.html +++ b/_includes/fancybutton.html @@ -5,8 +5,8 @@
- {{ include.main_cta }}
- {{ include.sub_cta }} + {% t include.main_cta %}
+ {% t include.sub_cta %}
\ No newline at end of file diff --git a/_includes/sideload.html b/_includes/sideload.html index 0f7b94e..2e655f2 100644 --- a/_includes/sideload.html +++ b/_includes/sideload.html @@ -4,27 +4,24 @@
- Go Back + {% t sideloading_modal.go_back %}
- Continue to Download + {% t sideloading_modal.confirm %}
diff --git a/apps/index.html b/apps/index.html index 4c431a6..a317ba9 100644 --- a/apps/index.html +++ b/apps/index.html @@ -1,10 +1,10 @@ --- layout: informational -breadcrumb: "App Store" footer_content: | The Butter App Store is built on F-Droid free software +breadcrumb: "App Store" --- @@ -12,12 +12,12 @@ footer_content: | style="max-width: 473px; display: block; margin: 0 auto;"> Butter Tile -

Discover the Butter App Store

-

Featuring free, ad-free Android apps that use less internet and less battery

+

{% t title %}

+

{% t apps.subtitle %}

- {% include fancybutton.html main_cta="Download App Store" sub_cta="Less than 10 MB" href="#" modal="product-modal" %} + {% include fancybutton.html main_cta="apps.main_cta" sub_cta="apps.sub_cta" href="#" modal="product-modal" %}
{% include sideload.html %} -View in Browser +{% t apps.view_in_browser %} diff --git a/maps/index.html b/maps/index.html index 6941d51..d62a36e 100644 --- a/maps/index.html +++ b/maps/index.html @@ -6,21 +6,18 @@ breadcrumb: "Offline Maps" Maps Header OpenStreetMaps Tile -

Navigating Offline

-

OsmAnd is an offline world map application based on OpenStreetMap

+

{% t maps.title %}

+

{% t maps.subtitle %}

{% assign apk_url = site.baseurl | append: "/fdroid/repo/net.osmand.plus_471703.apk" %} - {% include fancybutton.html main_cta="Download OsmAnd" sub_cta="137 MB" href=apk_url %} + {% include fancybutton.html main_cta="maps.main_cta" sub_cta="maps.sub_cta" href=apk_url %}
-

About OsmAnd

-

OsmAnd allows you to navigate taking into account the preferred roads and vehicle dimensions. Plan routes based on - inclines and record GPX tracks without an internet connection. OsmAnd is an open source app. It does not collect - user data and you decide what data the app will have access to.

-

Map Files

-

Download map files for your region. To import a map file into OsmAnd, locate the file in your device downloads. Then - open it with the OsmAnd app.

+{% for section in site.translations[site.lang].maps.sections %} +

{{section[1].title}}

+

{{section[1].text}}

+{% endfor %}
{% assign obf_url= site.basurl | append: "/fdroid/repo/" | append: "Angola_africa_2.obf.zip" %}