Commit 68e85070 authored by Tiago Cunha's avatar Tiago Cunha

Extracted more strings

parent ffacfed8
......@@ -36,7 +36,7 @@ public class AddServerActivity extends AbstractFragmentActivity {
if (config == null || config.getState() == ServerConfig.STATE_CONNECTION_ERROR) {
showFragment(new InputHostnameFragment());
} else {
showFragment(WaitingFragment.create("Connecting to server..."));
showFragment(WaitingFragment.create(getString(R.string.add_server_activity_waiting_server)));
}
});
......
......@@ -76,7 +76,7 @@ public class ServerConfigActivity extends AbstractFragmentActivity {
final String token = session.getToken();
if (!TextUtils.isEmpty(token)) {
if (TextUtils.isEmpty(session.getError())) {
showFragment(WaitingFragment.create("Authenticating..."));
showFragment(WaitingFragment.create(getString(R.string.server_config_activity_authenticating)));
} else {
showFragment(new RetryLoginFragment());
}
......
......@@ -11,12 +11,12 @@ public class HomeFragment extends AbstractChatRoomFragment {
}
@Override protected void onSetupView() {
activityToolbar.setTitle("Rocket.Chat - Home");
activityToolbar.setTitle(R.string.home_fragment_title);
}
@Override public void onResume() {
super.onResume();
activityToolbar.setNavigationIcon(null);
activityToolbar.setTitle("Rocket.Chat - Home");
activityToolbar.setTitle(R.string.home_fragment_title);
}
}
<resources>
<string name="app_name">Rocket.Chat.Android</string>
<string name="fragment_sidebar_main_channels_title">CHANNELS</string>
<string name="fragment_sidebar_main_direct_messages_title">DIRECT MESSAGES</string>
<string name="user_status_online">Online</string>
<string name="user_status_away">Away</string>
<string name="user_status_busy">Busy</string>
<string name="user_status_invisible">Invisible</string>
<string name="fragment_sidebar_main_logout_title">Logout</string>
<string name="app_name">Rocket.Chat.Android</string>
<string name="fragment_sidebar_main_channels_title">CHANNELS</string>
<string name="fragment_sidebar_main_direct_messages_title">DIRECT MESSAGES</string>
<string name="user_status_online">Online</string>
<string name="user_status_away">Away</string>
<string name="user_status_busy">Busy</string>
<string name="user_status_invisible">Invisible</string>
<string name="fragment_sidebar_main_logout_title">Logout</string>
<string name="start_of_conversation">Start of conversation</string>
<string name="users_of_room_title">Members List</string>
<string name="fmt_room_user_count">Total: %,d users</string>
<string name="sending">Sending...</string>
<string name="sending">Sending</string>
<string name="resend">Resend</string>
<string name="discard">Discard</string>
......@@ -25,4 +25,7 @@
<string name="fragment_login_password">Password</string>
<string name="fragment_retry_login_retry_title">RETRY</string>
<string name="fragment_retry_login_error_title">Oops…</string>
<string name="add_server_activity_waiting_server">Connecting to server…</string>
<string name="server_config_activity_authenticating">Authenticating…</string>
<string name="home_fragment_title">Rocket.Chat - Home</string>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment