forked from upstream-mirrors/OpenTracks
Fix the copyright year in the terms of service page.
This commit is contained in:
@@ -483,11 +483,6 @@ limitations under the License.
|
||||
http://m.google.com/toscountry.">
|
||||
By using Google\'s mobile products and services ("Services"), you:
|
||||
</string>
|
||||
<string name="eula_message_copyright"
|
||||
translation_description="The copyright in the Google mobile terms of service. See
|
||||
http://m.google.com/toscountry.">
|
||||
©2011
|
||||
</string>
|
||||
<string name="eula_message_date"
|
||||
translation_description="The date in the Google mobile terms of service. See
|
||||
http://m.google.com/toscountry.">
|
||||
|
||||
@@ -21,6 +21,8 @@ import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.SharedPreferences.Editor;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
/**
|
||||
* Utilities for EULA.
|
||||
*/
|
||||
@@ -53,7 +55,7 @@ public class EulaUtil {
|
||||
HOST_NAME, HOST_NAME, HOST_NAME, HOST_NAME);
|
||||
String item3 = String.format(context.getString(R.string.eula_message_item3), HOST_NAME);
|
||||
String footer = String.format(context.getString(R.string.eula_message_footer), HOST_NAME);
|
||||
|
||||
String copyright = "©" + Calendar.getInstance().get(Calendar.YEAR);
|
||||
return context.getString(R.string.eula_message_date)
|
||||
+ "\n\n"
|
||||
+ context.getString(R.string.eula_message_header)
|
||||
@@ -70,6 +72,6 @@ public class EulaUtil {
|
||||
+ "\n\n"
|
||||
+ footer
|
||||
+ "\n\n"
|
||||
+ context.getString(R.string.eula_message_copyright);
|
||||
+ copyright;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user