Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit e1bd6da

Browse files
committed
Preview strings with variable names and example values.
1 parent 4932382 commit e1bd6da

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

res/values/strings.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<resources>
2+
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
33

44
<string name="one_entry_hint_desc">Andlytics collects data over time. to see a meaningful chart come back as soon as more data is available.
55
\n\nUsually download stats are updated every 24&#8211;48 hours.</string>
@@ -115,15 +115,15 @@
115115
<string name="notification_title">Andlytics change detection</string>
116116
<string name="import_">Import</string>
117117
<string name="import_no_sdcard_or_file">SD-Card not mounted or invalid file format, can\'t import!</string>
118-
<string name="import_no_stats_file">Stats file not found: %1$s</string>
118+
<string name="import_no_stats_file">Stats file not found: <xliff:g id="fileName">%1$s</xliff:g></string>
119119
<string name="import_no_app">No app selected, can\'t import!</string>
120120
<string name="importing">Importing</string>
121121
<string name="import_started">Import started.</string>
122122
<string name="import_finished">Import finished.</string>
123-
<string name="imported_apps">Imported %d apps.</string>
123+
<string name="imported_apps">Imported <xliff:g example="23" id="appsCount">%d</xliff:g> apps.</string>
124124
<string name="import_error">Error during import.</string>
125125
<string name="import_confirm_dialog_title">Confirm import</string>
126-
<string name="import_confirm_dialog_message">You already have stats for %d apps. Importing will overwrite them. Continue with import?</string>
126+
<string name="import_confirm_dialog_message">You already have stats for <xliff:g example="23" id="appsCount">%d</xliff:g> apps. Importing will overwrite them. Continue with import?</string>
127127
<string name="export_">Export</string>
128128
<string name="export_no_sdcard">SD-Card not mounted, can\'t export!</string>
129129
<string name="export_no_app">No app selected, can\'t export!</string>
@@ -132,7 +132,7 @@
132132
<string name="export_failed_to_load_stats">Failed to load app stats.</string>
133133
<string name="export_saved_to">Saved to</string>
134134
<string name="export_confirm_dialog_title">Confirm export</string>
135-
<string name="export_confirm_dialog_message">An export file \'%s\' already exits. Exporting app stats will overwrite it. Continue with export?</string>
135+
<string name="export_confirm_dialog_message">An export file \'<xliff:g example="andlytics.zip" id="fileName">%s</xliff:g>\' already exits. Exporting app stats will overwrite it. Continue with export?</string>
136136
<string name="share">Share</string>
137137
<string name="manage_accounts">Manage accounts</string>
138138
<string name="preferences">Preferences</string>
@@ -154,12 +154,12 @@
154154

155155
<!-- Errors -->
156156
<string name="network_error">A network error has occurred. Please try again later</string>
157-
<string name="signup_error">%1$s is not an android developer account, sign up at:\n\n %2$s</string>
158-
<string name="auth_error">Authentication failed for: %1$s</string>
159-
<string name="app_access_blocked_error">Not allowed to access apps for: %1$s</string>
157+
<string name="signup_error"><xliff:g id="accountName">%1$s</xliff:g> is not an android developer account, sign up at:\n\n <xliff:g id="uri">%2$s</xliff:g></string>
158+
<string name="auth_error">Authentication failed for: <xliff:g id="accountName">%1$s</xliff:g></string>
159+
<string name="app_access_blocked_error">Not allowed to access apps for: <xliff:g id="accountName">%1$s</xliff:g></string>
160160
<string name="auth_error_open_browser">Additional authentication required. Tap to login via browser.</string>
161161
<string name="admob_ratelimit_error">Can\'t load Admob data because Admob has restricted the number of requests from this app, try again later</string>
162-
<string name="admob_missing_error">AdMob account %1$s is missing. If this happens repeatedly try moving Andlytics from SD card to internal storage</string>
162+
<string name="admob_missing_error">AdMob account <xliff:g id="accountName">%1$s</xliff:g> is missing. If this happens repeatedly try moving Andlytics from SD card to internal storage</string>
163163
<string name="admob_invalid_request_error">Error while requesting AdMob API</string>
164164
<string name="admob_invalid_token_error">Error while authenticating AdMob account. Please try again later</string>
165165
<string name="admob_generic_error">Unable to load Admob data, please try again later</string>
@@ -206,7 +206,7 @@
206206
<string name="revenue_last_30days">30 days revenue</string>
207207
<string name="show_developer_cut_revenue">Show developer cut of revenue</string>
208208
<string name="show_developer_cut_revenue_summary">Show developer cut of sales revenue (70%).</string>
209-
<string name="account_authorization_denied">Authorization for account \'%s\' denied.</string>
209+
<string name="account_authorization_denied">Authorization for account \'<xliff:g id="accountName">%s</xliff:g>\' denied.</string>
210210
<string name="use_new_admob">Use new AdMob</string>
211211

212212
</resources>

0 commit comments

Comments
 (0)