Nextcloud Theme (#541)

- Changed strings from ownCloud to neutral "server" where possible
- Changed strings from ownCloud to Nextcloud in values.xml
This commit is contained in:
Stefan Niedermann 2016-12-14 22:10:49 +01:00
parent 4779d47c55
commit 6510263a50
5 changed files with 10 additions and 10 deletions

View file

@ -458,7 +458,7 @@ public class NewsReaderListActivity extends PodcastFragmentActivity implements
MaterialShowcaseSequence sequence = new MaterialShowcaseSequence(this, "SWIPE_LEFT_RIGHT_AND_PTR");
sequence.setConfig(config);
sequence.addSequenceItem(getNewsReaderDetailFragment().pbLoading,
"Pull-to-Refresh to sync with ownCloud", "GOT IT");
"Pull-to-Refresh to sync with server", "GOT IT");
sequence.addSequenceItem(getNewsReaderDetailFragment().pbLoading,
"Swipe Left/Right to mark article as read", "GOT IT");
sequence.start();

View file

@ -257,7 +257,7 @@ public class NewsReaderListFragment extends Fragment implements OnCreateContextM
new MaterialShowcaseView.Builder(getActivity())
.setTarget(headerLogo)
.setDismissText("GOT IT")
.setContentText("Tap this logo to sync with ownCloud")
.setContentText("Tap this logo to sync with server")
.setDelay(300) // optional but starting animations immediately in onCreate can make them choppy
.singleUse("LOGO_SYNC") // provide a unique ID used to ensure it is only shown once
.show();

View file

@ -16,9 +16,9 @@ public class AccountGeneral {
* Auth token types
*/
public static final String AUTHTOKEN_TYPE_READ_ONLY = "Read only";
public static final String AUTHTOKEN_TYPE_READ_ONLY_LABEL = "Read only access to an ownCloud News account";
public static final String AUTHTOKEN_TYPE_READ_ONLY_LABEL = "Read only access to an Nextcloud News account";
public static final String AUTHTOKEN_TYPE_FULL_ACCESS = "Full access";
public static final String AUTHTOKEN_TYPE_FULL_ACCESS_LABEL = "Full access to an ownCloud News account";
public static final String AUTHTOKEN_TYPE_FULL_ACCESS_LABEL = "Full access to an Nextcloud News account";
}

View file

@ -153,7 +153,7 @@ public class DownloadImagesService extends IntentService {
Intent intentNewsReader = new Intent(this, NewsReaderListActivity.class);
PendingIntent pIntent = PendingIntent.getActivity(this, 0, intentNewsReader, 0);
NotificationCompat.Builder notifyBuilder = new NotificationCompat.Builder(this)
.setContentTitle("ownCloud News Reader")
.setContentTitle("Nextcloud News")
.setContentText("Only " + limit + " images can be cached at once")
.setSmallIcon(R.drawable.ic_notification)
.setContentIntent(pIntent);

View file

@ -2,7 +2,7 @@
<resources>
<string name="auto_sync_string">Auto sync</string>
<string name="app_name">ownCloud News</string>
<string name="app_name">Nextcloud News</string>
<string name="title_activity_sync_interval_selector">Sync Interval Selector</string>
<string name="title_activity_news_detail">NewsDetailActivity</string>
<string name="empty_view_content">No items here</string>
@ -10,7 +10,7 @@
<string name="no_wifi_available">No WiFi connected</string>
<string name="do_you_want_to_download_without_wifi">Do you want to download the images without a WiFi connection</string>
<string name="current_version">You\'re using Version %s</string>
<string name="widget_header">ownCloud News</string>
<string name="widget_header">Nextcloud News</string>
<plurals name="message_bar_new_articles_available">
<item quantity="one">%d new item available</item>
<item quantity="other">%d new items available</item>
@ -80,8 +80,8 @@
<!-- Strings related to login -->
<string name="pref_title_username">Username</string>
<string name="pref_title_password">Password</string>
<string name="pref_title_owncloudRootPath">ownCloud root address</string>
<string name="pref_default_owncloudRootPath">https://1.2.3.4/owncloud</string>
<string name="pref_title_owncloudRootPath">Nextcloud root address</string>
<string name="pref_default_owncloudRootPath">https://1.2.3.4/nextcloud</string>
<string name="action_sign_in_short">Sign in</string>
<string name="login_progress_signing_in">Signing in…</string>
@ -213,7 +213,7 @@
<string name="login_dialog_title_error">Error</string>
<string name="login_dialog_text_something_went_wrong">Something went wrong :(</string>
<string name="login_dialog_text_zero_version_code">The Web News App returned Version "0". Please take a look at the following bug report: https://github.com/nextcloud/news/issues/5#issuecomment-242883795</string>
<string name="login_dialog_text_not_compatible">This App version is not compatible with your ownCloud News App. Please update the news app and the appframework.</string>
<string name="login_dialog_text_not_compatible">This App version is not compatible with your Nextcloud News App. Please update the news app and the appframework.</string>
<string name="login_dialog_title_security_warning">Security Warning</string>
<string name="login_dialog_text_security_warning">You\'re not using https. An attacker could intercept your traffic and gain access to some sensitive data (e.g. your password). So it\'s strongly recommend to use https!</string>