Modify TOS placeholders so the

text matches those already translated.
This commit is contained in:
Jimmy Shih
2011-12-16 10:33:20 -08:00
parent c604c12297
commit 2dc92dcc98
2 changed files with 29 additions and 35 deletions
+20 -19
View File
@@ -486,9 +486,9 @@ limitations under the License.
translation_description="The footer in the Google mobile terms of service. See translation_description="The footer in the Google mobile terms of service. See
http://m.google.com/toscountry. http://m.google.com/toscountry.
%1$s: legal notice url, 'm.google.com/legalnotices'"> %1$s: host name, 'm.google.com'">
The Services may contain third party content. Any required attribution or notice for the third The Services may contain third party content. Any required attribution or notice for the third
party content may be found at %1$s. party content may be found at %1$s/legalnotices.
</string> </string>
<string name="eula_message_header" <string name="eula_message_header"
translation_description="The header in the Google mobile terms of service. See translation_description="The header in the Google mobile terms of service. See
@@ -499,22 +499,23 @@ limitations under the License.
translation_description="The first item in the Google mobile terms of service. See translation_description="The first item in the Google mobile terms of service. See
http://m.google.com/toscountry. http://m.google.com/toscountry.
%1$s: youtube terms of service url, 'm.google.com/tos_youtube' %1$s: host name, 'm.google.com'
%2$s: maps terms of service url, 'm.google.com/tos_maps' %2$s: host name, 'm.google.com'
%3$s: buzz terms of service url, 'm.google.com/tos_buzz' %3$s: host name, 'm.google.com'
%4$s: books terms of service url, 'm.google.com/tos_books' %4$s: host name, 'm.google.com'
%5$s: google terms of service url, 'm.google.com/utos'"> %5$s: host name, 'm.google.com'">
1. Agree to be bound by these terms and a) the YouTube Terms of Use (%1$s) for YouTube-related Agree to be bound by these terms and a) the YouTube Terms of Use (%1$s/tos_youtube) for
Services, b) the Google Maps Terms and Conditions (%2$s) for mapping, local and location-based YouTube-related Services, b) the Google Maps Terms and Conditions (%2$s/tos_maps) for mapping,
Services, c) the Google Buzz Terms and Conditions for Google Buzz-related Services (%3$s), d) local and location-based Services, c) the Google Buzz Terms and Conditions for Google
the Google Books Terms of Service (%4$s) for Books-related Services, and e) the Google Terms of Buzz-related Services (%3$s/tos_buzz), d) the Google Books Terms of Service (%4$s/tos_books) for
Service (%5$s) for all other Services, as updated from time to time. You may use the Services Books-related Services, and e) the Google Terms of Service (%5$s/utos) for all other Services,
only as set forth in these agreements. Do not manipulate while driving. as updated from time to time. You may use the Services only as set forth in these agreements. Do
not manipulate while driving.
</string> </string>
<string name="eula_message_item2" <string name="eula_message_item2"
translation_description="The second item in the Google mobile terms of service. See translation_description="The second item in the Google mobile terms of service. See
http://m.google.com/toscountry."> http://m.google.com/toscountry.">
2. Acknowledge and agree that third parties may offer Services, and that you may be subject to Acknowledge and agree that third parties may offer Services, and that you may be subject to
third party terms and that third parties may enforce terms against you. Google is not third party terms and that third parties may enforce terms against you. Google is not
responsible for third party changes to the Services. responsible for third party changes to the Services.
</string> </string>
@@ -522,15 +523,15 @@ limitations under the License.
translation_description="The third item in the Google mobile terms of service. See translation_description="The third item in the Google mobile terms of service. See
http://m.google.com/toscountry. http://m.google.com/toscountry.
%1$s: privacy url, 'm.google.com/privacy'"> %1$s: host name, 'm.google.com'">
3. Consent to the collection, use, sharing, and onward transfer of your data, including but not Consent to the collection, use, sharing, and onward transfer of your data, including but not
limited to voice and location data, as outlined in the Mobile Privacy Policy (%1$s). Location limited to voice and location data, as outlined in the Mobile Privacy Policy (%1$s/privacy).
data may be from mixed sources and may not be accurate. Use at your own risk. Location data may be from mixed sources and may not be accurate. Use at your own risk.
</string> </string>
<string name="eula_message_item4" <string name="eula_message_item4"
translation_description="The fourth item in the Google mobile terms of service. See translation_description="The fourth item in the Google mobile terms of service. See
http://m.google.com/toscountry."> http://m.google.com/toscountry.">
4. Acknowledge that certain Services require phone service, data access or text messaging Acknowledge that certain Services require phone service, data access or text messaging
capability. Except as otherwise noted, Google does not charge for the Services, but carrier capability. Except as otherwise noted, Google does not charge for the Services, but carrier
rates for phone, data and text messaging may apply. rates for phone, data and text messaging may apply.
</string> </string>
@@ -31,13 +31,7 @@ public class EulaUtil {
private static final String EULA_PREFERENCE_KEY = "eula.google_mobile_tos_accepted"; private static final String EULA_PREFERENCE_KEY = "eula.google_mobile_tos_accepted";
private static final String COPYRIGHT = "©2011"; private static final String COPYRIGHT = "©2011";
private static final String LEGAL_NOTICES_URL = "m.google.com/legalnotices"; private static final String HOST_NAME = "m.google.com";
private static final String PRIVACY_URL = "m.google.com/privacy";
private static final String YOUTUBE_TOS_URL = "m.google.com/tos_youtube";
private static final String MAPS_TOS_URL = "m.google.com/tos_maps";
private static final String BUZZ_TOS_URL = "m.google.com/tos_buzz";
private static final String BOOKS_TOS_URL = "m.google.com/tos_books";
private static final String GOOGLE_TOS_URL = "m.google.com/utos";
private EulaUtil() {} private EulaUtil() {}
@@ -56,11 +50,10 @@ public class EulaUtil {
} }
public static String getEulaMessage(Context context) { public static String getEulaMessage(Context context) {
String item1 = String.format(context.getString(R.string.eula_message_item1), YOUTUBE_TOS_URL, String item1 = String.format(context.getString(R.string.eula_message_item1), HOST_NAME,
MAPS_TOS_URL, BUZZ_TOS_URL, BOOKS_TOS_URL, GOOGLE_TOS_URL); HOST_NAME, HOST_NAME, HOST_NAME, HOST_NAME);
String item3 = String.format(context.getString(R.string.eula_message_item3), PRIVACY_URL); String item3 = String.format(context.getString(R.string.eula_message_item3), HOST_NAME);
String footer = String.format( String footer = String.format(context.getString(R.string.eula_message_footer), HOST_NAME);
context.getString(R.string.eula_message_footer), LEGAL_NOTICES_URL);
return context.getString(R.string.eula_message_date) return context.getString(R.string.eula_message_date)
+ "\n\n" + "\n\n"
@@ -68,13 +61,13 @@ public class EulaUtil {
+ "\n\n" + "\n\n"
+ context.getString(R.string.eula_message_body) + context.getString(R.string.eula_message_body)
+ "\n\n" + "\n\n"
+ item1 + "1. " + item1
+ "\n\n" + "\n\n"
+ context.getString(R.string.eula_message_item2) + "2. " + context.getString(R.string.eula_message_item2)
+ "\n\n" + "\n\n"
+ item3 + "3. " + item3
+ "\n\n" + "\n\n"
+ context.getString(R.string.eula_message_item4) + "4. " + context.getString(R.string.eula_message_item4)
+ "\n\n" + "\n\n"
+ footer + footer
+ "\n\n" + "\n\n"