Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-apps-Contacts: Commit

packages/apps/Contacts


Commit MetaInfo

Révisionef61552cb9988d149f5ea0059d13f32db9635995 (tree)
l'heure2010-04-30 03:58:45
AuteurKenny Root <kroot@goog...>
CommiterKenny Root

Message de Log

Position indepdendence for strings with multiple args

Different languages may have different ordering for sentences, so write
the string substitution in position-independent format so the correct
items show up in the right order in other languages.

Change-Id: Ifaac12fb38ee3260f17ba80224689bdadd7286c4

Change Summary

Modification

--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -512,7 +512,7 @@
512512 <string name="returnCall">Return call</string>
513513
514514 <!-- A nicely formatted call duration displayed when viewing call details. For example "42 mins 28 secs" -->
515- <string name="callDetailsDurationFormat"><xliff:g id="minutes" example="42">%s</xliff:g> mins <xliff:g id="seconds" example="28">%s</xliff:g> secs</string>
515+ <string name="callDetailsDurationFormat"><xliff:g id="minutes" example="42">%1$s</xliff:g> mins <xliff:g id="seconds" example="28">%2$s</xliff:g> secs</string>
516516
517517 <!-- A list separator for the Favorites tab indicating that items below it are frequently contacted contacts rather than starred contacts -->
518518 <string name="favoritesFrquentSeparator">Frequently contacted</string>
@@ -730,7 +730,7 @@
730730 <!-- The message shown while reading a vCard file/entry. The first argument is like
731731 "Reading VCard" or "Reading VCard files" and the second is the display name of the current
732732 data being parsed -->
733- <string name="progress_shower_message"><xliff:g id="action" example="Reading VCard">%s</xliff:g>\n<xliff:g id="filename" example="foo.vcf">%s</xliff:g></string>
733+ <string name="progress_shower_message"><xliff:g id="action" example="Reading VCard">%1$s</xliff:g>\n<xliff:g id="filename" example="foo.vcf">%2$s</xliff:g></string>
734734
735735 <!-- Dialog title shown when reading VCard data -->
736736 <string name="reading_vcard_title">Reading vCard</string>
@@ -742,10 +742,10 @@
742742 <string name="reading_vcard_failed_title">Reading of vCard data has failed</string>
743743
744744 <!-- Message while reading one vCard file "(current number) of (total number) contacts" The order of "current number" and "total number" cannot be changed (like "total: (total number), current: (current number)")-->
745- <string name="reading_vcard_contacts"><xliff:g id="current_number">%s</xliff:g> of <xliff:g id="total_number">%s</xliff:g> contacts</string>
745+ <string name="reading_vcard_contacts"><xliff:g id="current_number">%1$s</xliff:g> of <xliff:g id="total_number">%2$s</xliff:g> contacts</string>
746746
747747 <!-- Message while reading multiple vCard files "(current number) of (total number) files" The order of "current number" and "total number" cannot be changed (like "total: (total number), current: (current number)")-->
748- <string name="reading_vcard_files"><xliff:g id="current_number">%s</xliff:g> of <xliff:g id="total_number">%s</xliff:g> files</string>
748+ <string name="reading_vcard_files"><xliff:g id="current_number">%1$s</xliff:g> of <xliff:g id="total_number">%2$s</xliff:g> files</string>
749749
750750 <!-- Dialog title shown when a user confirms whether he/she export Contact data -->
751751 <string name="confirm_export_title">Confirm export</string>
@@ -803,10 +803,10 @@
803803
804804 <!-- The failed reason shown when vCard importer/exporter could not open the file
805805 specified by a user. The file name should be in the message. -->
806- <string name="fail_reason_could_not_open_file">Could not open \"<xliff:g id="file_name">%s</xliff:g>\": <xliff:g id="exact_reason">%s</xliff:g></string>
806+ <string name="fail_reason_could_not_open_file">Could not open \"<xliff:g id="file_name">%1$s</xliff:g>\": <xliff:g id="exact_reason">%2$s</xliff:g></string>
807807
808808 <!-- Message in progress bar while exporting contact list to a file "(current number) of (total number) contacts" The order of "current number" and "total number" cannot be changed (like "total: (total number), current: (current number)")-->
809- <string name="exporting_contact_list_progress"><xliff:g id="current_number">%s</xliff:g> of <xliff:g id="total_number">%s</xliff:g> contacts</string>
809+ <string name="exporting_contact_list_progress"><xliff:g id="current_number">%1$s</xliff:g> of <xliff:g id="total_number">%2$s</xliff:g> contacts</string>
810810
811811 <!-- The string used to describe Contacts as a searchable item within system search settings. -->
812812 <string name="search_settings_description">Names of your contacts</string>
Afficher sur ancien navigateur de dépôt.