From 25dc639dedfbf406c1b507fe85498174e0199898 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Tue, 19 Jan 2016 09:16:56 +0100 Subject: [PATCH] Update strings --- res/layout-sw533dp/main.xml | 281 ++++++++ res/layout/assistant_account_creation.xml | 2 +- .../assistant_account_creation_activation.xml | 2 +- res/layout/assistant_ec_calibration.xml | 2 +- .../assistant_remote_provisioning_login.xml | 2 +- res/values/custom.xml | 26 - res/values/non_localizable_custom.xml | 2 +- res/values/non_localizable_strings.xml | 13 +- res/values/strings.xml | 639 +++++++----------- res/xml/account_preferences.xml | 4 +- res/xml/preferences.xml | 21 +- src/org/linphone/SettingsFragment.java | 8 +- 12 files changed, 562 insertions(+), 440 deletions(-) create mode 100644 res/layout-sw533dp/main.xml delete mode 100644 res/values/custom.xml diff --git a/res/layout-sw533dp/main.xml b/res/layout-sw533dp/main.xml new file mode 100644 index 000000000..cff1fe36f --- /dev/null +++ b/res/layout-sw533dp/main.xml @@ -0,0 +1,281 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/assistant_account_creation.xml b/res/layout/assistant_account_creation.xml index bccdfec31..82509f4dd 100644 --- a/res/layout/assistant_account_creation.xml +++ b/res/layout/assistant_account_creation.xml @@ -175,7 +175,7 @@ android:background="@drawable/assistant_button" android:textColor="@drawable/assistant_button_text_color" style="@style/font8" - android:contentDescription="@string/content_description_validate" + android:contentDescription="@string/content_description_valid" android:layout_width="wrap_content" android:layout_height="40dp" android:paddingLeft="10dp" diff --git a/res/layout/assistant_account_creation_activation.xml b/res/layout/assistant_account_creation_activation.xml index 398781197..db3c64506 100644 --- a/res/layout/assistant_account_creation_activation.xml +++ b/res/layout/assistant_account_creation_activation.xml @@ -33,7 +33,7 @@ android:text="@string/assistant_create_account" android:background="@drawable/assistant_button" style="@style/font8" - android:contentDescription="@string/content_description_validate" + android:contentDescription="@string/content_description_valid" android:layout_width="wrap_content" android:layout_height="40dp" android:layout_margin="10dp" diff --git a/res/layout/assistant_ec_calibration.xml b/res/layout/assistant_ec_calibration.xml index 5b243bccf..b1350d11c 100644 --- a/res/layout/assistant_ec_calibration.xml +++ b/res/layout/assistant_ec_calibration.xml @@ -11,7 +11,7 @@ android:textAllCaps="true" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:gravity="center_horizontal"/> + android:layout_centerHorizontal="true"/> - - EEE, d MMM - yyyy/MM/dd - HH:mm - - dd/MM, HH:mm - dd/MM - HH:mm - linphone-mms-%s.jpg - - Linphone - Linphone Service - Linphone - org.linphone - linphone contacts - vnd.android.cursor.item/org.linphone.profile - Linphone - Starting up - Registered to %s - Fails to register to %s - Linphone %s SIP (rfc 3261) compatible phone under GNU Public License V2 - http://www.linphone.org\n\nInstructions\nhttp://www.linphone.org/user-guide.html\n\n© 2015 Belledonne Communications - SIP - - - - diff --git a/res/values/non_localizable_custom.xml b/res/values/non_localizable_custom.xml index fea153c50..6184d448a 100644 --- a/res/values/non_localizable_custom.xml +++ b/res/values/non_localizable_custom.xml @@ -28,7 +28,7 @@ true false true - true + false false false diff --git a/res/values/non_localizable_strings.xml b/res/values/non_localizable_strings.xml index 6ef3b512f..bccb55e45 100644 --- a/res/values/non_localizable_strings.xml +++ b/res/values/non_localizable_strings.xml @@ -62,7 +62,6 @@ pref_video_codec_h263_key pref_video_codec_mpeg4_key pref_video_codec_h264_key - pref_video_automatically_share_my_video_key pref_video_automatically_accept_video_key pref_video_initiate_call_with_video_key pref_video_enable_key @@ -155,6 +154,7 @@ silk 16 Khz silk 24 Khz g729 + 10 15 @@ -163,10 +163,15 @@ 64 128 - - Simple - Stateful + + 10 kbits/s + 15 kbits/s + 20 kbits/s + 36 kbits/s + 64 kbits/s + 128 kbits/s + VP8 SRTP ZRTP diff --git a/res/values/strings.xml b/res/values/strings.xml index 3f49fe82c..da73f4e5e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,7 +1,28 @@ - + + Linphone + Linphone Service + Linphone + Linphone + Starting up + Registered to %s + Fails to register to %s + Linphone %s SIP (rfc 3261) compatible phone under GNU Public License V2 + http://www.linphone.org\n\nInstructions\nhttp://www.linphone.org/user-guide.html\n\n© 2015 Belledonne Communications + + org.linphone + linphone contacts + vnd.android.cursor.item/org.linphone.profile + + EEE, d MMM + yyyy/MM/dd - HH:mm - + dd/MM, HH:mm + dd/MM + HH:mm + linphone-mms-%s.jpg + Username @@ -21,16 +42,17 @@ Deny No account configured Search - outgoing - incoming - missed + Outgoing + Incoming + Missed Settings Connection + Decline - + free SIP VOIP client - + Welcome Assistant Create account @@ -56,26 +78,58 @@ Your account has not been validated yet. Your account has been validated. Incorrect username or passowrd + An error occurred, try again later. + Server unreachable, verify your internet connection. + This username is already in use. + Your username is not valid. + Your email is not valid. + Your password is not valid (6 characters min). + Passwords entered are different. + Your username will be %s.\r\n\r\nIt may differ from what you entered to match some requirements.\r\nDo you accept ? - + Enter a number or an address - + No call in your history No missed call in your history Do you want to delete selected log? + Today + Yesterday - - + No contact in your address book. No SIP contact in your address book. Do you want to delete selected contact? Do you want to delete selected this contact? + SIP address + Phone number + First name + Last name - + No conversations Do you want to delete selected conversation? Do you want to delete selected message? + Remote is writing... + Small + Medium + Large + Real size + Text copied to clipboard + Copy text + Select source + Image saved + Error, image not saved + Please wait... + Processing image, can take up to a few seconds depending on the size of the file + + + Registered + Not Registered + Registration in progress + Registration failed + unread messages @@ -91,73 +145,80 @@ Your correspondent would like to turn on the video No active call Your correspondent paused the call + An error occurred while accepting call ZRTP token is %s\nYou should only accept if you have the same token as your correspondent + Unknown + Audio + Video + Codec: + Upload bandwidth: + Download bandwidth: + ICE connectivity: + Video size: + + + Send log + Reset log + + + Audio call ongoing + Paused call ongoing + Video capturing call ongoing + started + %i unread messages + + + Warning: service is not ready + Error + Cannot build destination address from [%s] + Unknown error + Call declined + User not found + Incompatible media parameters + Your correspondent has low bandwidth, video can\'t be started + Network is unreachable + Bad credentials + Unauthorized + Network error + Download failed. Please check your internet access or try again later. + Failed to download or apply remote provisioning profile... + Remote provisioning + Do you want to change the provisioning URI ? + + + SIP Account + Manage + Disable + Proxy + Domain* + Password* + Username* + Outbound proxy + SIP proxy hostname or ip address (optional) + Route all calls through SIP proxy + Example: john if your account is john@sip.example.org + sip.example.org if your account is john@sip.example.org + You have to re-enter your password if you edit your username and/or the domain + Expire + AVPF + AVPF regular RTCP interval in seconds (between 1 and 5) + Replace + by 00 + Auth userid + Enter authentication userid (optionnal) + Display name + Enter display name (optionnal) + Prefix + Transport + UDP + TCP + TLS + Delete this account + Use as default - - default - high-fps - custom - - - - - Back - Dialer - - Toggle micro - Toggle speaker - Decline - Hang up - Accept - - - Edit button - Valid button - Valid button - - Add to contacts - New contact - Call - Backspace - About page - Chat - Dial back - Contact picture - Send message - Detail - Delete button - Add button - New discussion - - - Search - All contacts - Linphone contacts - Call direction - All calls - Missed calls - Switch video - - Add call - Pause - Numpad - Settings button - History button - Chat button - Contacts button - - Call quality - Encryption - Switch camera - Cancel - Cancel button - Next button - Message status - Conference - - - Disable + SIP Accounts + Default account + Add account Tunnel Hostname Port @@ -169,320 +230,128 @@ always auto + None + Preferences + Enable Video - Audio call ongoing - Paused call ongoing - Video capturing call ongoing - Not ready for a new call - Bad contact : %s - Reset verified %s - Verify %s - Encrypted - Starting up… - An error occurred while accepting call - Error adding new call - Transfer initiated - Transfer call to - New call - Resume call - Cannot resume call paused by remote - Show details - Warning: service is not ready - Close - conf - active - paused - paused by remote - - Bluetooth - Add call - Transfer call - Enter conference - Momentarily leave conference - Terminate conference - Hang up - Merge - Transfer - video - - Dialpad - Conference - You are part of it - Go out - You are out of it - Go in + + Audio + Echo cancellation + Removes the echo heard by other end + Echo canceller calibration + Calibrating… + Calibrated [%s ms] + No echo + failed + Adaptive rate control + Adaptive rate algorithm + + Simple + Stateful + + Codec bitrate limit + Codecs + + + Video + Use front camera + Initiate video calls + Always send video requests + Accept incoming video requests + Always accept video requests + Video preset + + default + high-fps + custom + + Preferred video size + Preferred FPS + + Bandwidth limit in kbits/s + Codecs + + + Call + Send RFC2833 DTMFs + Send SIP INFO DTMFs + Voice mail uri + + + Network + Use wifi only + Stun server + Enable ICE + Enable UPNP + Use random ports + SIP port to use + Video port or port range + Audio port or port range + Video port or port range (minport-maxport) + Audio port or port range (minport-maxport) + Media encryption + Enable push notifications + Allow IPv6 + + + Advanced + Debug + Background mode + Enable Animations + Start at boot time + Incoming call timeout (in seconds) + Sharing server + Remote provisioning + Primary account + Display name + Username + + Audio hacks Use specific mode hack 0=MODE_NORMAL (default), 2=MODE_IN_CALL Use routing API hack Use Galaxy S audio hack - Use software volume - Allow IPv6 - Error while accepting pending call - %s is calling you - Decline - Unknown - Network - Transport - UDP - TCP - TLS - Use random ports - SIP port to use - At least one item is required - Registration successful - Error - Start - Application not ready - Add account - No phone numbers found for %s - Filter contacts - %s\'s phone numbers - Delete this account - Use as default - Echo canceller calibration - Use front camera - Video - Preferences - Codecs - Preferred video size - Display dialer - Front/Rear Camera - Try High resolution - Low resolution - Change resolution - Mute/Unmute camera - Disable camera - Enable camera - Terminate call - Video settings - Share my camera - Accept incoming video requests - Automatically send my camera - Always accept video requests - Initiate video calls - Always send video requests - Enable Video - Bandwidth limit in kbits/s - Enable Animations - Replace + by 00 - iLBC might be unavailable depending on ARM processor and Android OS version. - Echo cancellation - Start at boot time - Outbound proxy - Codecs - Communication timeout - Incoming call timeout - Video port or port range - Audio port or port range - Video port or port range (minport-maxport) - Audio port or port range (minport-maxport) - Incoming call timeout (in seconds) - Place a call - Adaptive rate control - Adaptive rate algorithm - Codec bitrate limit - - 10 kbits/s - 15 kbits/s - 20 kbits/s - 36 kbits/s - 64 kbits/s - 128 kbits/s - - - Debug - Report issue - Describe problem here - Error generating bug report - Logs not found. - Reading logs, may takes time… - Send bug report with… - About - Send log - Reset log - Audio - Prefix - Advanced - Proxy - Domain* - Password* - Username* - SIP Account - wrong user name - wrong password - Wrong domain - Wrong settings - Dialer - Contact - Cannot call %s - Yes - No - Dismiss - Continue - Never remind me - %s, do you want to go to the settings page ? - Starting echo cancelation audio calibration - Cannot initiate a new call because a call is already engaged - History - Cannot build destination address from [%s] - Clear - Cannot get call parameters - Cannot create default call parameters - Cannot invite destination address [%s] - started - Removes the echo heard by other end - Stun server - Enable ICE - A STUN server must be configured to use ICE - Calibrating… - Calibrated [%s ms] - No echo - failed - Enter your username and password to connect to the service. - Username - Password - Connect - Please enter your login and password - Couldn\'t connect; check your login and password and start again - AMR codec might not be present on your phone - Media encryption - None - Codec disabled, build the app from source code to enable it - Codec disabled, build the app from source code to enable it - SIP Accounts - Use wifi only - Enable push notifications - An error occurred, try again later. - Server unreachable, verify your internet connection. - This username is already in use. - Your username is not valid. - Your email is not valid. - Your password is not valid (6 characters min). - Passwords entered are different. - SIP proxy hostname or ip address (optional) - Route all calls through SIP proxy - Example: john if your account is john@sip.example.org - sip.example.org if your account is john@sip.example.org - You have to re-enter your password if you edit your username and/or the domain - - Chat - Call - Add to contacts - Registered - Not Registered - Registration in progress - Registration failed - Conference - Draft - Enter a SIP address to chat with… - Audio - Video - Codec: - Upload bandwidth: - Download bandwidth: - ICE connectivity: - Video size: - - - History - Contacts - Settings - Chat - About - New conversation - Edit - Okay - Back - All - New contact - All - Missed - Delete - Transfer - Add call - Video - Micro - Speaker - Route - Receiver - Bluetooth - Options - Send - Pic - Uploading… - Call update requested - Your correspondent would like to add video to the current call. - Accept - Decline - Small - Medium - Large - Real size - Save picture - Text copied to clipboard - Copy text - Select source - Image saved - Error, image not saved - Friends - New friends - Automatically accept new friend requests - Friend request - wants to share it\'s presence status with you and be aware of yours. - - Sharing server - Remote provisioning - SIP address - Phone number - First name - Last name - Primary account - Display name - Username - Expire - AVPF - AVPF regular RTCP interval in seconds (between 1 and 5) - Send RFC2833 DTMFs - Send SIP INFO DTMFs - Voice mail uri - unread messages - Unknown error - Call declined - User not found - Incompatible media parameters - Your correspondent has low bandwidth, video can\'t be started - Network is unreachable - Bad credentials - Unauthorized - Network error - Today - Yesterday - Missed - Outgoing - Incoming - Background mode - Show - Download - Download failed. Please check your internet access or try again later. - Auth userid - Enter authentication userid (optionnal) - Display name - Enter display name (optionnal) - Enable UPNP - Manage - Please wait... - Updating messages database - Default account - This assistant will download an existing configuration. - provisioning url - The configuration you downloaded doesn\'t include your account. Please fill it in. - Your username will be %s.\r\n\r\nIt may differ from what you entered to match some requirements.\r\nDo you accept ? - - Remote is writing... - %i unread messages - Failed to download or apply remote provisioning profile... - Remote provisioning - Do you want to change the provisioning URI ? - Processing image, can take up to a few seconds depending on the size of the file + + Back + Dialer + Toggle micro + Toggle speaker + Decline + Hang up + Accept + Edit button + Valid button + Add to contacts + New contact + Call + Backspace + Chat + Dial back + Contact picture + Send message + Detail + Delete button + Add button + New discussion + Search + All contacts + Linphone contacts + Call direction + All calls + Missed calls + Switch video + Add call + Pause + Numpad + History button + Chat button + Contacts button + Call quality + Encryption + Switch camera + Cancel button + Message status + Conference + diff --git a/res/xml/account_preferences.xml b/res/xml/account_preferences.xml index ae8bcd940..cd70b14fd 100644 --- a/res/xml/account_preferences.xml +++ b/res/xml/account_preferences.xml @@ -33,7 +33,7 @@ + android:title="@string/pref_preferences_title"> + android:title="@string/pref_audio_title"> @@ -89,13 +89,6 @@ android:summary="@string/pref_video_initiate_call_with_video" android:dependency="@string/pref_video_enable_key"/> - - @@ -113,7 +106,7 @@ android:key="@string/pref_preferred_video_size_key"/> + android:title="@string/pref_call_title"> + android:title="@string/pref_advanced_title"> entries = new ArrayList(); List values = new ArrayList(); - entries.add(getString(R.string.media_encryption_none)); + entries.add(getString(R.string.pref_none)); values.add(getString(R.string.pref_media_encryption_key_none)); LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull(); @@ -402,7 +402,7 @@ public class SettingsFragment extends PreferencesListFragment { private void initializePreferredVideoFpsPreferences(ListPreference pref) { List entries = new ArrayList(); List values = new ArrayList(); - entries.add("none"); + entries.add(getString(R.string.pref_none)); values.add("0"); for (int i = 5; i <= 30; i += 5) { String str = Integer.toString(i); @@ -412,7 +412,7 @@ public class SettingsFragment extends PreferencesListFragment { setListPreferenceValues(pref, entries, values); String value = Integer.toString(mPrefs.getPreferredVideoFps()); if (value.equals("0")) { - value = "none"; + value = getString(R.string.pref_none); } pref.setSummary(value); pref.setValue(value); @@ -620,7 +620,7 @@ public class SettingsFragment extends PreferencesListFragment { int fps = mPrefs.getPreferredVideoFps(); String fpsStr = Integer.toString(fps); if (fpsStr.equals("0")) { - fpsStr = "none"; + fpsStr = getString(R.string.pref_none); } findPreference(getString(R.string.pref_preferred_video_fps_key)).setSummary(fpsStr); findPreference(getString(R.string.pref_bandwidth_limit_key)).setSummary(Integer.toString(mPrefs.getBandwidthLimit()));