diff --git a/TMessagesProj/config/debug/AndroidManifest.xml b/TMessagesProj/config/debug/AndroidManifest.xml index 522a88388..35baff0f2 100644 --- a/TMessagesProj/config/debug/AndroidManifest.xml +++ b/TMessagesProj/config/debug/AndroidManifest.xml @@ -21,7 +21,7 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" - android:label="@string/AppNameBeta" + android:label="@string/NekogramBeta" android:theme="@style/Theme.TMessages.Start" android:hardwareAccelerated="@bool/useHardwareAcceleration" android:largeHeap="true" diff --git a/TMessagesProj/config/debug/AndroidManifest_SDK23.xml b/TMessagesProj/config/debug/AndroidManifest_SDK23.xml index a67164b4e..4c09a0a42 100644 --- a/TMessagesProj/config/debug/AndroidManifest_SDK23.xml +++ b/TMessagesProj/config/debug/AndroidManifest_SDK23.xml @@ -22,7 +22,7 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" - android:label="@string/AppNameBeta" + android:label="@string/NekogramBeta" android:theme="@style/Theme.TMessages.Start" android:name=".ApplicationLoader" android:hardwareAccelerated="@bool/useHardwareAcceleration" diff --git a/TMessagesProj/config/release/AndroidManifest.xml b/TMessagesProj/config/release/AndroidManifest.xml index 616020eb7..d0b445515 100644 --- a/TMessagesProj/config/release/AndroidManifest.xml +++ b/TMessagesProj/config/release/AndroidManifest.xml @@ -21,7 +21,7 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" - android:label="@string/AppName" + android:label="@string/Nekogram" android:theme="@style/Theme.TMessages.Start" android:hardwareAccelerated="@bool/useHardwareAcceleration" android:largeHeap="true" diff --git a/TMessagesProj/config/release/AndroidManifest_SDK23.xml b/TMessagesProj/config/release/AndroidManifest_SDK23.xml index 84274491b..0289a6c5c 100644 --- a/TMessagesProj/config/release/AndroidManifest_SDK23.xml +++ b/TMessagesProj/config/release/AndroidManifest_SDK23.xml @@ -22,7 +22,7 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" - android:label="@string/AppName" + android:label="@string/Nekogram" android:theme="@style/Theme.TMessages.Start" android:hardwareAccelerated="@bool/useHardwareAcceleration" android:largeHeap="true" diff --git a/TMessagesProj/src/main/AndroidManifest.xml b/TMessagesProj/src/main/AndroidManifest.xml index 4e639ed5f..3ea874298 100644 --- a/TMessagesProj/src/main/AndroidManifest.xml +++ b/TMessagesProj/src/main/AndroidManifest.xml @@ -280,7 +280,7 @@ diff --git a/TMessagesProj/src/main/java/org/telegram/ui/Components/PasscodeView.java b/TMessagesProj/src/main/java/org/telegram/ui/Components/PasscodeView.java index 5d5bc1a58..d4d50ac31 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/Components/PasscodeView.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/Components/PasscodeView.java @@ -972,7 +972,7 @@ public class PasscodeView extends FrameLayout { fingerprintStatusTextView.setLayoutParams(layoutParams); AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); - builder.setTitle("\uD83D\uDE36 Nekogram"); + builder.setTitle(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji)); builder.setView(relativeLayout); builder.setNegativeButton(LocaleController.getString("Cancel", R.string.Cancel), null); builder.setOnDismissListener(dialog -> { diff --git a/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java index c361390a9..e1e311fe9 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/DialogsActivity.java @@ -3398,13 +3398,13 @@ public class DialogsActivity extends BaseFragment implements NotificationCenter. if (folderId != 0) { title = LocaleController.getString("ArchivedChats", R.string.ArchivedChats); } else { - title = "Nekogram"; + title = LocaleController.getString("Nekogram", R.string.Nekogram); } } if (FilterPopup.getInstance(currentAccount).getTotalUnreadCount() == 0) { - return "\uD83D\uDE36 " + title; + return LocaleController.getString("NekogramEmojiDialogs", R.string.NekogramEmojiDialogs) + " " + title; } - return "\uD83E\uDD14 " + title; + return LocaleController.getString("NekogramEmojiDialogsUnread", R.string.NekogramEmojiDialogsUnread) + " " + title; } @Override diff --git a/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java index d7d7a7514..e9ecf0592 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java @@ -243,7 +243,7 @@ public class LoginActivity extends BaseFragment { @Override public View createView(Context context) { - actionBar.setTitle("\uD83D\uDE36 Nekogram"); + actionBar.setTitle(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji)); actionBar.setActionBarMenuOnItemClick(new ActionBar.ActionBarMenuOnItemClick() { @Override public void onItemClick(int id) { @@ -895,7 +895,7 @@ public class LoginActivity extends BaseFragment { return; } AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity()); - builder.setTitle("\uD83D\uDE36 Nekogram"); + builder.setTitle(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji)); builder.setMessage(LocaleController.getString("StopLoading", R.string.StopLoading)); builder.setPositiveButton(LocaleController.getString("WaitMore", R.string.WaitMore), null); builder.setNegativeButton(LocaleController.getString("Stop", R.string.Stop), (dialogInterface, i) -> { @@ -1707,14 +1707,14 @@ public class LoginActivity extends BaseFragment { }*/ } if (countryState == 1) { - needShowAlert("\uD83D\uDE36 Nekogram", LocaleController.getString("ChooseCountry", R.string.ChooseCountry)); + needShowAlert(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji), LocaleController.getString("ChooseCountry", R.string.ChooseCountry)); return; } else if (countryState == 2 && !BuildVars.DEBUG_VERSION) { - needShowAlert("\uD83D\uDE36 Nekogram", LocaleController.getString("WrongCountry", R.string.WrongCountry)); + needShowAlert(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji), LocaleController.getString("WrongCountry", R.string.WrongCountry)); return; } if (codeField.length() == 0) { - needShowAlert("\uD83D\uDE36 Nekogram", LocaleController.getString("InvalidPhoneNumber", R.string.InvalidPhoneNumber)); + needShowAlert(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji), LocaleController.getString("InvalidPhoneNumber", R.string.InvalidPhoneNumber)); return; } if (phoneField.length() == 0) { @@ -1732,7 +1732,7 @@ public class LoginActivity extends BaseFragment { if (PhoneNumberUtils.compare(phone, userPhone)) { final int num = a; AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity()); - builder.setTitle("\uD83D\uDE36 Nekogram"); + builder.setTitle(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji)); builder.setMessage(LocaleController.getString("AccountAlreadyLoggedIn", R.string.AccountAlreadyLoggedIn)); builder.setPositiveButton(LocaleController.getString("AccountSwitch", R.string.AccountSwitch), (dialog, which) -> { if (UserConfig.selectedAccount != num) { @@ -2681,7 +2681,7 @@ public class LoginActivity extends BaseFragment { public boolean onBackPressed(boolean force) { if (!force) { AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity()); - builder.setTitle("\uD83D\uDE36 Nekogram"); + builder.setTitle(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji)); builder.setMessage(LocaleController.getString("StopVerification", R.string.StopVerification)); builder.setPositiveButton(LocaleController.getString("Continue", R.string.Continue), null); builder.setNegativeButton(LocaleController.getString("Stop", R.string.Stop), (dialogInterface, i) -> { @@ -3899,7 +3899,7 @@ public class LoginActivity extends BaseFragment { public boolean onBackPressed(boolean force) { if (!force) { AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity()); - builder.setTitle("\uD83D\uDE36 Nekogram"); + builder.setTitle(LocaleController.getString("NekogramWithEmoji", R.string.NekogramWithEmoji)); builder.setMessage(LocaleController.getString("AreYouSureRegistration", R.string.AreYouSureRegistration)); builder.setNegativeButton(LocaleController.getString("Stop", R.string.Stop), (dialogInterface, i) -> { onBackPressed(true); diff --git a/TMessagesProj/src/main/res/values-ar/strings.xml b/TMessagesProj/src/main/res/values-ar/strings.xml index 270667b77..6eb0991fe 100644 --- a/TMessagesProj/src/main/res/values-ar/strings.xml +++ b/TMessagesProj/src/main/res/values-ar/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta العربية الإنجليزية Arabic diff --git a/TMessagesProj/src/main/res/values-de/strings.xml b/TMessagesProj/src/main/res/values-de/strings.xml index 8566c6ea7..5b1940db6 100644 --- a/TMessagesProj/src/main/res/values-de/strings.xml +++ b/TMessagesProj/src/main/res/values-de/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta Deutsch Englisch German diff --git a/TMessagesProj/src/main/res/values-es/strings.xml b/TMessagesProj/src/main/res/values-es/strings.xml index e1c0db3e3..f17d89b1d 100644 --- a/TMessagesProj/src/main/res/values-es/strings.xml +++ b/TMessagesProj/src/main/res/values-es/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta Español Inglés Spanish diff --git a/TMessagesProj/src/main/res/values-it/strings.xml b/TMessagesProj/src/main/res/values-it/strings.xml index 730511a42..693f7c41e 100644 --- a/TMessagesProj/src/main/res/values-it/strings.xml +++ b/TMessagesProj/src/main/res/values-it/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta Italiano Inglese Italian diff --git a/TMessagesProj/src/main/res/values-ko/strings.xml b/TMessagesProj/src/main/res/values-ko/strings.xml index 14917aca0..5e78e5163 100644 --- a/TMessagesProj/src/main/res/values-ko/strings.xml +++ b/TMessagesProj/src/main/res/values-ko/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta 한국어 영어 한국어 diff --git a/TMessagesProj/src/main/res/values-nl/strings.xml b/TMessagesProj/src/main/res/values-nl/strings.xml index 375ad6202..ad517581a 100644 --- a/TMessagesProj/src/main/res/values-nl/strings.xml +++ b/TMessagesProj/src/main/res/values-nl/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta Nederlands Engels Dutch diff --git a/TMessagesProj/src/main/res/values-pt-rBR/strings.xml b/TMessagesProj/src/main/res/values-pt-rBR/strings.xml index 137e6094d..ef0f80d99 100644 --- a/TMessagesProj/src/main/res/values-pt-rBR/strings.xml +++ b/TMessagesProj/src/main/res/values-pt-rBR/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta Português (Brasil) Inglês Portuguese (Brazil) diff --git a/TMessagesProj/src/main/res/values/strings.xml b/TMessagesProj/src/main/res/values/strings.xml index 20a697111..24c8f2374 100644 --- a/TMessagesProj/src/main/res/values/strings.xml +++ b/TMessagesProj/src/main/res/values/strings.xml @@ -1,7 +1,7 @@ - Nekogram - Nekogram Beta + Telegram + Telegram Beta English English English diff --git a/TMessagesProj/src/main/res/values/strings_neko.xml b/TMessagesProj/src/main/res/values/strings_neko.xml index c719adbdd..ca8672cca 100644 --- a/TMessagesProj/src/main/res/values/strings_neko.xml +++ b/TMessagesProj/src/main/res/values/strings_neko.xml @@ -1,5 +1,10 @@ + Nekogram + Nekogram Beta + 😶 Nekogram + 😶 + 🤔 Neko Settings Try connecting through IPv6 Message menu