From d55fc7cd6954cdfeaae41d8ed294253ec80b465e Mon Sep 17 00:00:00 2001 From: Rene Treffer Date: Sun, 16 Mar 2014 13:44:25 +0100 Subject: [PATCH] Fix build failure with newer toolchains. Android somehow wants every string to be externalized on newer toolchains, let's prepare for that. This fixes in-tree building of f-droid. --- res/layout/repodiscoveryitem.xml | 4 ++-- res/values/strings.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/res/layout/repodiscoveryitem.xml b/res/layout/repodiscoveryitem.xml index 4b0a215f0..c7fc54f88 100644 --- a/res/layout/repodiscoveryitem.xml +++ b/res/layout/repodiscoveryitem.xml @@ -10,7 +10,7 @@ android:maxLines="1" android:paddingLeft="8sp" android:paddingStart="8sp" - android:text="Discovered Repo Name" + android:text="@string/discovered_repo_name" android:textSize="16sp" android:textStyle="bold" /> @@ -23,7 +23,7 @@ android:paddingLeft="8sp" android:paddingStart="8sp" android:maxLines="1" - android:text="Repo Address" + android:text="@string/repo_address" android:textSize="14sp" /> diff --git a/res/values/strings.xml b/res/values/strings.xml index 54b027945..3ff4a69d4 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -210,4 +210,7 @@ Your device is not on the same WiFi as the local repo you just added! Try joining this network: %s Requires: %1$s + Discovered Repo Name + Repo Address +