- Added new option in settings to open profile or profile pics when clicking user or group pic in main screen
- Added gradient option to chat background color - Added option to forward link without quoting - Added link to official channel in menu - Bug fixes
This commit is contained in:
parent
8b5e9e2f0d
commit
6b94e8d180
@ -88,8 +88,8 @@ android {
|
|||||||
applicationId "org.telegram.plus"
|
applicationId "org.telegram.plus"
|
||||||
minSdkVersion 8
|
minSdkVersion 8
|
||||||
targetSdkVersion 22
|
targetSdkVersion 22
|
||||||
versionCode 630
|
versionCode 632
|
||||||
versionName "3.2.2.1"
|
versionName "3.2.2.2"
|
||||||
//multiDexEnabled true
|
//multiDexEnabled true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,6 @@ import android.content.pm.PackageInfo;
|
|||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.graphics.drawable.ColorDrawable;
|
import android.graphics.drawable.ColorDrawable;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.graphics.drawable.GradientDrawable;
|
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
@ -92,14 +91,6 @@ public class ApplicationLoader extends Application {
|
|||||||
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||||
int selectedBackground = preferences.getInt("selectedBackground", 1000001);
|
int selectedBackground = preferences.getInt("selectedBackground", 1000001);
|
||||||
selectedColor = preferences.getInt("selectedColor", 0);
|
selectedColor = preferences.getInt("selectedColor", 0);
|
||||||
int cacheColorHint = 0;
|
|
||||||
//
|
|
||||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
|
||||||
if (themePrefs.getBoolean("chatSolidBGColorCheck", false)) {
|
|
||||||
cachedWallpaper = null;
|
|
||||||
selectedColor = themePrefs.getInt("chatSolidBGColor", 0xffffffff);
|
|
||||||
}
|
|
||||||
//
|
|
||||||
if (selectedColor == 0) {
|
if (selectedColor == 0) {
|
||||||
if (selectedBackground == 1000001) {
|
if (selectedBackground == 1000001) {
|
||||||
cachedWallpaper = applicationContext.getResources().getDrawable(R.drawable.background_hd);
|
cachedWallpaper = applicationContext.getResources().getDrawable(R.drawable.background_hd);
|
||||||
@ -123,30 +114,6 @@ public class ApplicationLoader extends Application {
|
|||||||
selectedColor = -2693905;
|
selectedColor = -2693905;
|
||||||
}
|
}
|
||||||
cachedWallpaper = new ColorDrawable(selectedColor);
|
cachedWallpaper = new ColorDrawable(selectedColor);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
|
||||||
int orientation = themePrefs.getInt("chatGradientBG", 0);
|
|
||||||
if(orientation > 0 && themePrefs.getBoolean("chatSolidBGColorCheck", false)) {
|
|
||||||
GradientDrawable.Orientation go;
|
|
||||||
switch(orientation) {
|
|
||||||
case 2:
|
|
||||||
go = GradientDrawable.Orientation.LEFT_RIGHT;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
go = GradientDrawable.Orientation.TL_BR;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
go = GradientDrawable.Orientation.BL_TR;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
go = GradientDrawable.Orientation.TOP_BOTTOM;
|
|
||||||
}
|
|
||||||
int mainColor = selectedColor = themePrefs.getInt("chatSolidBGColor", 0xffffffff);
|
|
||||||
int gradColor = themePrefs.getInt("chatGradientBGColor", 0xffffffff);
|
|
||||||
int[] colors = new int[]{mainColor, gradColor};
|
|
||||||
cachedWallpaper = new GradientDrawable(go, colors);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,12 +37,14 @@ public class DrawerLayoutAdapter extends BaseAdapter {
|
|||||||
|
|
||||||
private Context mContext;
|
private Context mContext;
|
||||||
private int versionType = 4;
|
private int versionType = 4;
|
||||||
private int versionRow = 11;
|
|
||||||
private int contactsRow = 6;
|
private int contactsRow = 6;
|
||||||
private int settingsRow = 9;
|
|
||||||
private int themingRow = 8;
|
|
||||||
private int communityRow = 10;
|
|
||||||
private int themesRow = 7;
|
private int themesRow = 7;
|
||||||
|
private int themingRow = 8;
|
||||||
|
private int settingsRow = 9;
|
||||||
|
private int channelRow = 10;
|
||||||
|
private int communityRow = 11;
|
||||||
|
private int versionRow = 12;
|
||||||
|
|
||||||
|
|
||||||
//private int rowCount = 0;
|
//private int rowCount = 0;
|
||||||
|
|
||||||
@ -63,7 +65,7 @@ public class DrawerLayoutAdapter extends BaseAdapter {
|
|||||||
@Override
|
@Override
|
||||||
public int getCount() {
|
public int getCount() {
|
||||||
//return UserConfig.isClientActivated() ? 10 : 0;
|
//return UserConfig.isClientActivated() ? 10 : 0;
|
||||||
return UserConfig.isClientActivated() ? 12 : 0;
|
return UserConfig.isClientActivated() ? 13 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -135,11 +137,13 @@ public class DrawerLayoutAdapter extends BaseAdapter {
|
|||||||
}/* else if (i == 7) {
|
}/* else if (i == 7) {
|
||||||
actionCell.setTextAndIcon(LocaleController.getString("InviteFriends", R.string.InviteFriends), R.drawable.menu_invite);
|
actionCell.setTextAndIcon(LocaleController.getString("InviteFriends", R.string.InviteFriends), R.drawable.menu_invite);
|
||||||
}*/ else if (i == themesRow) {
|
}*/ else if (i == themesRow) {
|
||||||
actionCell.setTextAndIcon(LocaleController.getString("Themes", R.string.Themes), R.drawable.menu_themes);
|
actionCell.setTextAndIcon(LocaleController.getString("DownloadThemes", R.string.DownloadThemes), R.drawable.menu_themes);
|
||||||
} else if (i == themingRow) {
|
} else if (i == themingRow) {
|
||||||
actionCell.setTextAndIcon(LocaleController.getString("Theming", R.string.Theming), R.drawable.menu_theming);
|
actionCell.setTextAndIcon(LocaleController.getString("Theming", R.string.Theming), R.drawable.menu_theming);
|
||||||
} else if (i == settingsRow) {
|
} else if (i == settingsRow) {
|
||||||
actionCell.setTextAndIcon(LocaleController.getString("Settings", R.string.Settings), R.drawable.menu_settings);
|
actionCell.setTextAndIcon(LocaleController.getString("Settings", R.string.Settings), R.drawable.menu_settings);
|
||||||
|
} else if (i == channelRow) {
|
||||||
|
actionCell.setTextAndIcon(LocaleController.getString("OfficialChannel", R.string.OfficialChannel), R.drawable.menu_broadcast);
|
||||||
} else if (i == communityRow) {
|
} else if (i == communityRow) {
|
||||||
actionCell.setTextAndIcon(LocaleController.getString("Community", R.string.Community), R.drawable.menu_forum);
|
actionCell.setTextAndIcon(LocaleController.getString("Community", R.string.Community), R.drawable.menu_forum);
|
||||||
} /*else if (i == 10) {
|
} /*else if (i == 10) {
|
||||||
|
@ -52,7 +52,9 @@ public class BaseCell extends View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void setDrawableBounds(Drawable drawable, int x, int y) {
|
protected void setDrawableBounds(Drawable drawable, int x, int y) {
|
||||||
setDrawableBounds(drawable, x, y, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
if (drawable != null) {
|
||||||
|
setDrawableBounds(drawable, x, y, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void setDrawableBounds(Drawable drawable, int x, int y, int w, int h) {
|
protected void setDrawableBounds(Drawable drawable, int x, int y, int w, int h) {
|
||||||
|
@ -230,21 +230,8 @@ public class ChatBaseCell extends BaseCell implements MediaController.FileDownlo
|
|||||||
linkColor = themePrefs.getInt("chatRLinkColor", defColor);
|
linkColor = themePrefs.getInt("chatRLinkColor", defColor);
|
||||||
}
|
}
|
||||||
replyTextPaint.linkColor = linkColor;
|
replyTextPaint.linkColor = linkColor;
|
||||||
//ResourceLoader.loadRecources(getContext());
|
|
||||||
/*if(ResourceLoader.mediaBackgroundDrawable == null){
|
|
||||||
ResourceLoader.mediaBackgroundDrawable = getResources().getDrawable(R.drawable.phototime);
|
|
||||||
ResourceLoader.checkDrawable = getResources().getDrawable(R.drawable.msg_check);
|
|
||||||
ResourceLoader.halfCheckDrawable = getResources().getDrawable(R.drawable.msg_halfcheck);
|
|
||||||
ResourceLoader.clockDrawable = getResources().getDrawable(R.drawable.msg_clock);
|
|
||||||
ResourceLoader.checkMediaDrawable = getResources().getDrawable(R.drawable.msg_check_w);
|
|
||||||
ResourceLoader.halfCheckMediaDrawable = getResources().getDrawable(R.drawable.msg_halfcheck_w);
|
|
||||||
ResourceLoader.clockMediaDrawable = getResources().getDrawable(R.drawable.msg_clock_photo);
|
|
||||||
//ResourceLoader.videoIconDrawable = getResources().getDrawable(R.drawable.ic_video);
|
|
||||||
ResourceLoader.docMenuInDrawable = getResources().getDrawable(R.drawable.doc_actions_b);
|
|
||||||
ResourceLoader.docMenuOutDrawable = getResources().getDrawable(R.drawable.doc_actions_g);
|
|
||||||
}*/
|
|
||||||
|
|
||||||
ResourceLoader.mediaBackgroundDrawable.setColorFilter(bColor, PorterDuff.Mode.SRC_IN);
|
if(ResourceLoader.mediaBackgroundDrawable != null)ResourceLoader.mediaBackgroundDrawable.setColorFilter(bColor, PorterDuff.Mode.SRC_IN);
|
||||||
|
|
||||||
ResourceLoader.backgroundDrawableOut.setColorFilter(rBubbleColor, PorterDuff.Mode.SRC_IN);
|
ResourceLoader.backgroundDrawableOut.setColorFilter(rBubbleColor, PorterDuff.Mode.SRC_IN);
|
||||||
ResourceLoader.backgroundMediaDrawableOut.setColorFilter(rBubbleColor, PorterDuff.Mode.SRC_IN);
|
ResourceLoader.backgroundMediaDrawableOut.setColorFilter(rBubbleColor, PorterDuff.Mode.SRC_IN);
|
||||||
@ -889,6 +876,8 @@ public class ChatBaseCell extends BaseCell implements MediaController.FileDownlo
|
|||||||
|
|
||||||
onAfterBackgroundDraw(canvas);
|
onAfterBackgroundDraw(canvas);
|
||||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||||
|
boolean mCheck = AndroidUtilities.getBoolPref("chatMemberColorCheck");
|
||||||
|
int mColor = themePrefs.getInt("chatMemberColor", AndroidUtilities.getIntDarkerColor("themeColor", 0x15));
|
||||||
if (drawName && nameLayout != null) {
|
if (drawName && nameLayout != null) {
|
||||||
canvas.save();
|
canvas.save();
|
||||||
if (media) {
|
if (media) {
|
||||||
@ -897,15 +886,23 @@ public class ChatBaseCell extends BaseCell implements MediaController.FileDownlo
|
|||||||
canvas.translate(currentBackgroundDrawable.getBounds().left + AndroidUtilities.dp(19) - nameOffsetX, AndroidUtilities.dp(10));
|
canvas.translate(currentBackgroundDrawable.getBounds().left + AndroidUtilities.dp(19) - nameOffsetX, AndroidUtilities.dp(10));
|
||||||
}
|
}
|
||||||
if (currentUser != null) {
|
if (currentUser != null) {
|
||||||
if(AndroidUtilities.getBoolPref("chatMemberColorCheck")){
|
if(mCheck){
|
||||||
namePaint.setColor(themePrefs.getInt("chatMemberColor", AndroidUtilities.getIntDarkerColor("themeColor", 0x15)));
|
namePaint.setColor(mColor);
|
||||||
}else {
|
}else {
|
||||||
namePaint.setColor(AvatarDrawable.getNameColorForId(currentUser.id));
|
namePaint.setColor(AvatarDrawable.getNameColorForId(currentUser.id));
|
||||||
}
|
}
|
||||||
} else if (currentChat != null) {
|
} else if (currentChat != null) {
|
||||||
namePaint.setColor(AvatarDrawable.getNameColorForId(currentChat.id));
|
if(mCheck){
|
||||||
|
namePaint.setColor(mColor);
|
||||||
|
}else {
|
||||||
|
namePaint.setColor(AvatarDrawable.getNameColorForId(currentChat.id));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
namePaint.setColor(AvatarDrawable.getNameColorForId(0));
|
if(mCheck){
|
||||||
|
namePaint.setColor(mColor);
|
||||||
|
}else {
|
||||||
|
namePaint.setColor(AvatarDrawable.getNameColorForId(0));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
nameLayout.draw(canvas);
|
nameLayout.draw(canvas);
|
||||||
canvas.restore();
|
canvas.restore();
|
||||||
|
@ -475,6 +475,31 @@ public class ChatMediaCell extends ChatBaseCell {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private String getCurrentNameString(MessageObject messageObject){
|
||||||
|
TLRPC.User currentUser = null;
|
||||||
|
TLRPC.Chat currentChat = null;
|
||||||
|
String s;
|
||||||
|
if (messageObject.messageOwner.from_id > 0) {
|
||||||
|
currentUser = MessagesController.getInstance().getUser(messageObject.messageOwner.from_id);
|
||||||
|
} else if (messageObject.messageOwner.from_id < 0) {
|
||||||
|
currentChat = MessagesController.getInstance().getChat(-messageObject.messageOwner.from_id);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (currentUser != null) {
|
||||||
|
s = UserObject.getUserName(currentUser);
|
||||||
|
String currentUsernameString = currentUser.username;
|
||||||
|
/*if(currentUsernameString != null && AndroidUtilities.getBoolPref("chatShowUsernameCheck")){
|
||||||
|
currentNameString = currentNameString.replaceAll("\\p{C}", " ");
|
||||||
|
currentNameString = currentNameString.trim().replaceAll(" +", " ") + " [@"+currentUsernameString+"]";
|
||||||
|
}*/
|
||||||
|
} else if (currentChat != null) {
|
||||||
|
s = currentChat.title;
|
||||||
|
} else {
|
||||||
|
s = "DELETED";
|
||||||
|
}
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setMessageObject(MessageObject messageObject) {
|
public void setMessageObject(MessageObject messageObject) {
|
||||||
boolean dataChanged = currentMessageObject == messageObject && (isUserDataChanged() || photoNotSet);
|
boolean dataChanged = currentMessageObject == messageObject && (isUserDataChanged() || photoNotSet);
|
||||||
@ -493,6 +518,7 @@ public class ChatMediaCell extends ChatBaseCell {
|
|||||||
drawBackground = true;
|
drawBackground = true;
|
||||||
|
|
||||||
photoImage.setForcePreview(messageObject.isSecretPhoto());
|
photoImage.setForcePreview(messageObject.isSecretPhoto());
|
||||||
|
|
||||||
if (messageObject.type == 9) {
|
if (messageObject.type == 9) {
|
||||||
String name = messageObject.getDocumentName();
|
String name = messageObject.getDocumentName();
|
||||||
if (name == null || name.length() == 0) {
|
if (name == null || name.length() == 0) {
|
||||||
@ -537,20 +563,9 @@ public class ChatMediaCell extends ChatBaseCell {
|
|||||||
infoLayout2 = null;
|
infoLayout2 = null;
|
||||||
|
|
||||||
if(isChat){
|
if(isChat){
|
||||||
TLRPC.User fromUser = MessagesController.getInstance().getUser(messageObject.messageOwner.from_id);
|
|
||||||
|
|
||||||
String senderName = UserObject.getUserName(fromUser);
|
String senderName = getCurrentNameString(messageObject);
|
||||||
/*//String senderName = String.format("%s %s", fromUser.first_name, fromUser.last_name);
|
|
||||||
String senderName = "";
|
|
||||||
if (UserObject.isDeleted(fromUser)) {
|
|
||||||
senderName = "Deleted";
|
|
||||||
} else {
|
|
||||||
if (fromUser.first_name != null && fromUser.first_name.length() > 0) {
|
|
||||||
senderName = fromUser.first_name;
|
|
||||||
} else {
|
|
||||||
senderName = fromUser.last_name;
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
infoWidth2 = Math.min(maxWidth, (int) Math.ceil(senderPaint.measureText(senderName)));
|
infoWidth2 = Math.min(maxWidth, (int) Math.ceil(senderPaint.measureText(senderName)));
|
||||||
CharSequence str2 = TextUtils.ellipsize(senderName, senderPaint, infoWidth2, TextUtils.TruncateAt.END);
|
CharSequence str2 = TextUtils.ellipsize(senderName, senderPaint, infoWidth2, TextUtils.TruncateAt.END);
|
||||||
infoLayout2 = new StaticLayout(str2, senderPaint, infoWidth2, Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false);
|
infoLayout2 = new StaticLayout(str2, senderPaint, infoWidth2, Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false);
|
||||||
@ -587,10 +602,8 @@ public class ChatMediaCell extends ChatBaseCell {
|
|||||||
if(isChat){
|
if(isChat){
|
||||||
infoOffset2 = ResourceLoader.videoIconDrawable.getIntrinsicWidth() + AndroidUtilities.dp(5);
|
infoOffset2 = ResourceLoader.videoIconDrawable.getIntrinsicWidth() + AndroidUtilities.dp(5);
|
||||||
infoOffset = 0;
|
infoOffset = 0;
|
||||||
TLRPC.User fromUser = MessagesController.getInstance().getUser(messageObject.messageOwner.from_id);
|
|
||||||
//String senderName = String.format("%s %s", fromUser.first_name, fromUser.last_name);
|
|
||||||
|
|
||||||
String senderName = UserObject.getUserName(fromUser);
|
String senderName = getCurrentNameString(messageObject);
|
||||||
|
|
||||||
infoWidth2 = (int) Math.ceil(infoPaint.measureText(currentInfoString));
|
infoWidth2 = (int) Math.ceil(infoPaint.measureText(currentInfoString));
|
||||||
//infoWidth = (int) Math.ceil(senderPaint.measureText(senderName));
|
//infoWidth = (int) Math.ceil(senderPaint.measureText(senderName));
|
||||||
@ -605,27 +618,11 @@ public class ChatMediaCell extends ChatBaseCell {
|
|||||||
currentNameString = null;
|
currentNameString = null;
|
||||||
}//Plus: member name in photos
|
}//Plus: member name in photos
|
||||||
else if (messageObject.type == 1) { //PHOTO
|
else if (messageObject.type == 1) { //PHOTO
|
||||||
TLRPC.User fromUser = MessagesController.getInstance().getUser(messageObject.messageOwner.from_id);
|
|
||||||
|
|
||||||
String senderName = UserObject.getUserName(fromUser);
|
currentNameString = getCurrentNameString(messageObject);
|
||||||
/*
|
|
||||||
String currentUsernameString = fromUser.username;
|
String senderName = currentNameString;
|
||||||
|
|
||||||
if(currentUsernameString != null && AndroidUtilities.getBoolPref("chatShowUsernameCheck")){
|
|
||||||
senderName = senderName.replaceAll("\\p{C}", " ");
|
|
||||||
senderName = senderName.trim().replaceAll(" +", " ") + " [@"+currentUsernameString+"]";
|
|
||||||
}*/
|
|
||||||
/*
|
|
||||||
String senderName = String.format("%s %s", fromUser.first_name, fromUser.last_name);
|
|
||||||
if (UserObject.isDeleted(fromUser)) {
|
|
||||||
senderName = "Deleted";
|
|
||||||
} else {
|
|
||||||
if (fromUser.first_name != null && fromUser.first_name.length() > 0) {
|
|
||||||
senderName = fromUser.first_name;
|
|
||||||
} else if (fromUser.last_name != null && fromUser.last_name.length() > 0){
|
|
||||||
senderName = fromUser.last_name;
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
if (currentInfoString == null || !currentInfoString.equals(senderName)) {
|
if (currentInfoString == null || !currentInfoString.equals(senderName)) {
|
||||||
currentInfoString = senderName;
|
currentInfoString = senderName;
|
||||||
infoOffset = 0;
|
infoOffset = 0;
|
||||||
|
@ -12,6 +12,7 @@ import android.content.Context;
|
|||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.graphics.Paint;
|
import android.graphics.Paint;
|
||||||
|
import android.graphics.PorterDuff;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.text.Layout;
|
import android.text.Layout;
|
||||||
@ -22,17 +23,16 @@ import android.view.MotionEvent;
|
|||||||
|
|
||||||
import org.telegram.PhoneFormat.PhoneFormat;
|
import org.telegram.PhoneFormat.PhoneFormat;
|
||||||
import org.telegram.messenger.AndroidUtilities;
|
import org.telegram.messenger.AndroidUtilities;
|
||||||
import org.telegram.messenger.ContactsController;
|
import org.telegram.messenger.ApplicationLoader;
|
||||||
import org.telegram.messenger.ImageReceiver;
|
import org.telegram.messenger.ImageReceiver;
|
||||||
import org.telegram.messenger.LocaleController;
|
import org.telegram.messenger.LocaleController;
|
||||||
import org.telegram.messenger.MessagesController;
|
import org.telegram.messenger.MessagesController;
|
||||||
import org.telegram.messenger.UserObject;
|
|
||||||
import org.telegram.messenger.ApplicationLoader;
|
|
||||||
import org.telegram.messenger.R;
|
import org.telegram.messenger.R;
|
||||||
|
import org.telegram.messenger.UserConfig;
|
||||||
|
import org.telegram.messenger.UserObject;
|
||||||
import org.telegram.tgnet.ConnectionsManager;
|
import org.telegram.tgnet.ConnectionsManager;
|
||||||
import org.telegram.tgnet.TLObject;
|
import org.telegram.tgnet.TLObject;
|
||||||
import org.telegram.tgnet.TLRPC;
|
import org.telegram.tgnet.TLRPC;
|
||||||
import org.telegram.messenger.UserConfig;
|
|
||||||
import org.telegram.ui.Components.AvatarDrawable;
|
import org.telegram.ui.Components.AvatarDrawable;
|
||||||
|
|
||||||
public class ProfileSearchCell extends BaseCell {
|
public class ProfileSearchCell extends BaseCell {
|
||||||
@ -120,6 +120,8 @@ public class ProfileSearchCell extends BaseCell {
|
|||||||
lockDrawable = getResources().getDrawable(R.drawable.list_secret);
|
lockDrawable = getResources().getDrawable(R.drawable.list_secret);
|
||||||
groupDrawable = getResources().getDrawable(R.drawable.list_group);
|
groupDrawable = getResources().getDrawable(R.drawable.list_group);
|
||||||
countDrawable = getResources().getDrawable(R.drawable.dialogs_badge);
|
countDrawable = getResources().getDrawable(R.drawable.dialogs_badge);
|
||||||
|
|
||||||
|
updateTheme();
|
||||||
}
|
}
|
||||||
|
|
||||||
avatarImage = new ImageReceiver(this);
|
avatarImage = new ImageReceiver(this);
|
||||||
@ -127,6 +129,16 @@ public class ProfileSearchCell extends BaseCell {
|
|||||||
avatarDrawable = new AvatarDrawable();
|
avatarDrawable = new AvatarDrawable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void updateTheme(){
|
||||||
|
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||||
|
int tColor = themePrefs.getInt("themeColor", AndroidUtilities.defColor);
|
||||||
|
|
||||||
|
countPaint.setTextSize(AndroidUtilities.dp(themePrefs.getInt("chatsCountSize", 13)));
|
||||||
|
countPaint.setColor(themePrefs.getInt("chatsCountColor", 0xffffffff));
|
||||||
|
countDrawable.setColorFilter(themePrefs.getInt("chatsCountBGColor", tColor), PorterDuff.Mode.SRC_IN);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onTouchEvent(MotionEvent event) {
|
public boolean onTouchEvent(MotionEvent event) {
|
||||||
if (Build.VERSION.SDK_INT >= 21 && getBackground() != null) {
|
if (Build.VERSION.SDK_INT >= 21 && getBackground() != null) {
|
||||||
|
@ -21,6 +21,7 @@ import android.database.Cursor;
|
|||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.PorterDuff;
|
import android.graphics.PorterDuff;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
|
import android.graphics.drawable.ColorDrawable;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.graphics.drawable.GradientDrawable;
|
import android.graphics.drawable.GradientDrawable;
|
||||||
import android.media.ExifInterface;
|
import android.media.ExifInterface;
|
||||||
@ -332,6 +333,8 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
|
|
||||||
private boolean refreshWallpaper;
|
private boolean refreshWallpaper;
|
||||||
|
|
||||||
|
private boolean quote;
|
||||||
|
|
||||||
RecyclerListView.OnItemLongClickListener onItemLongClickListener = new RecyclerListView.OnItemLongClickListener() {
|
RecyclerListView.OnItemLongClickListener onItemLongClickListener = new RecyclerListView.OnItemLongClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(View view, int position) {
|
public void onItemClick(View view, int position) {
|
||||||
@ -360,6 +363,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
public boolean onFragmentCreate() {
|
public boolean onFragmentCreate() {
|
||||||
final int chatId = arguments.getInt("chat_id", 0);
|
final int chatId = arguments.getInt("chat_id", 0);
|
||||||
chat_id = chatId; //Plus
|
chat_id = chatId; //Plus
|
||||||
|
quote = arguments.getBoolean("quote", false);
|
||||||
final int userId = arguments.getInt("user_id", 0);
|
final int userId = arguments.getInt("user_id", 0);
|
||||||
final int encId = arguments.getInt("enc_id", 0);
|
final int encId = arguments.getInt("enc_id", 0);
|
||||||
startLoadFromMessageId = arguments.getInt("message_id", 0);
|
startLoadFromMessageId = arguments.getInt("message_id", 0);
|
||||||
@ -754,6 +758,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
QuoteForward = false;
|
QuoteForward = false;
|
||||||
}
|
}
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
|
//args.putBoolean("quote", QuoteForward);
|
||||||
args.putBoolean("onlySelect", true);
|
args.putBoolean("onlySelect", true);
|
||||||
args.putInt("dialogsType", 1);
|
args.putInt("dialogsType", 1);
|
||||||
DialogsActivity fragment = new DialogsActivity(args);
|
DialogsActivity fragment = new DialogsActivity(args);
|
||||||
@ -1310,8 +1315,9 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
};
|
};
|
||||||
|
|
||||||
SizeNotifierFrameLayout contentView = (SizeNotifierFrameLayout) fragmentView;
|
SizeNotifierFrameLayout contentView = (SizeNotifierFrameLayout) fragmentView;
|
||||||
contentView.setBackgroundImage(ApplicationLoader.getCachedWallpaper());
|
//contentView.setBackgroundImage(ApplicationLoader.getCachedWallpaper());
|
||||||
|
updateBackground(contentView);
|
||||||
|
//.e("mainColor 0", "" + ApplicationLoader.getCachedWallpaper());
|
||||||
emptyViewContainer = new FrameLayout(context);
|
emptyViewContainer = new FrameLayout(context);
|
||||||
emptyViewContainer.setVisibility(View.INVISIBLE);
|
emptyViewContainer.setVisibility(View.INVISIBLE);
|
||||||
contentView.addView(emptyViewContainer, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.CENTER));
|
contentView.addView(emptyViewContainer, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.CENTER));
|
||||||
@ -2175,6 +2181,38 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
return fragmentView;
|
return fragmentView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void updateBackground(SizeNotifierFrameLayout contentView){
|
||||||
|
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||||
|
if(!themePrefs.getBoolean("chatSolidBGColorCheck", false)){
|
||||||
|
contentView.setBackgroundImage(ApplicationLoader.getCachedWallpaper());
|
||||||
|
}else{
|
||||||
|
int mainColor = themePrefs.getInt("chatSolidBGColor", 0xffffffff);
|
||||||
|
int orientation = themePrefs.getInt("chatGradientBG", 0);
|
||||||
|
if(orientation == 0) {
|
||||||
|
contentView.setBackgroundDrawable(new ColorDrawable(mainColor));
|
||||||
|
} else {
|
||||||
|
GradientDrawable.Orientation go;
|
||||||
|
switch(orientation) {
|
||||||
|
case 2:
|
||||||
|
go = GradientDrawable.Orientation.LEFT_RIGHT;
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
go = GradientDrawable.Orientation.TL_BR;
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
go = GradientDrawable.Orientation.BL_TR;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
go = GradientDrawable.Orientation.TOP_BOTTOM;
|
||||||
|
}
|
||||||
|
|
||||||
|
int gradColor = themePrefs.getInt("chatGradientBGColor", 0xffffffff);
|
||||||
|
int[] colors = new int[]{mainColor, gradColor};
|
||||||
|
contentView.setBackgroundDrawable(new GradientDrawable(go, colors));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void openAddMember() {
|
private void openAddMember() {
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putBoolean("onlyUsers", true);
|
args.putBoolean("onlyUsers", true);
|
||||||
@ -2498,9 +2536,10 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
if (arrayList == null || arrayList.isEmpty()) {
|
if (arrayList == null || arrayList.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!fromMyName) {
|
if(quote)fromMyName = false;
|
||||||
SendMessagesHelper.getInstance().sendMessage(arrayList, dialog_id, chatActivityEnterView == null || chatActivityEnterView.asAdmin());
|
if (!fromMyName) {
|
||||||
} else {
|
SendMessagesHelper.getInstance().sendMessage(arrayList, dialog_id, chatActivityEnterView == null || chatActivityEnterView.asAdmin());
|
||||||
|
} else {
|
||||||
for (MessageObject object : arrayList) {
|
for (MessageObject object : arrayList) {
|
||||||
SendMessagesHelper.getInstance().processForwardFromMyName(object, dialog_id, chatActivityEnterView == null || chatActivityEnterView.asAdmin());
|
SendMessagesHelper.getInstance().processForwardFromMyName(object, dialog_id, chatActivityEnterView == null || chatActivityEnterView.asAdmin());
|
||||||
}
|
}
|
||||||
@ -5303,11 +5342,13 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
reportSpamButton.setTextColor(nameColor);
|
reportSpamButton.setTextColor(nameColor);
|
||||||
addToContactsButton.setTextColor(nameColor);
|
addToContactsButton.setTextColor(nameColor);
|
||||||
|
|
||||||
|
|
||||||
if(refreshWallpaper) {
|
if(refreshWallpaper) {
|
||||||
SizeNotifierFrameLayout contentView = (SizeNotifierFrameLayout) fragmentView;
|
SizeNotifierFrameLayout contentView = (SizeNotifierFrameLayout) fragmentView;
|
||||||
contentView.setBackgroundImage(ApplicationLoader.getCachedWallpaper());
|
contentView.setBackgroundImage(ApplicationLoader.getCachedWallpaper());
|
||||||
refreshWallpaper = false;
|
refreshWallpaper = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
FileLog.e("tmessages", e);
|
FileLog.e("tmessages", e);
|
||||||
}
|
}
|
||||||
@ -5617,8 +5658,12 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||||||
items.add(LocaleController.getString("Forward", R.string.Forward));
|
items.add(LocaleController.getString("Forward", R.string.Forward));
|
||||||
options.add(22);
|
options.add(22);
|
||||||
//items.add(LocaleController.getString("Forward", R.string.Forward));
|
//items.add(LocaleController.getString("Forward", R.string.Forward));
|
||||||
items.add(LocaleController.getString("ForwardNoQuote", R.string.ForwardNoQuote));
|
if(selectedObject.messageOwner.media != null && selectedObject.messageOwner.media.caption != null && selectedObject.messageOwner.media.caption.length() > 0){
|
||||||
options.add(2);
|
//with caption quote doesn't appear
|
||||||
|
}else {
|
||||||
|
items.add(LocaleController.getString("ForwardNoQuote", R.string.ForwardNoQuote));
|
||||||
|
options.add(2);
|
||||||
|
}
|
||||||
if (message.canDeleteMessage(currentChat)) {
|
if (message.canDeleteMessage(currentChat)) {
|
||||||
items.add(LocaleController.getString("Delete", R.string.Delete));
|
items.add(LocaleController.getString("Delete", R.string.Delete));
|
||||||
options.add(1);
|
options.add(1);
|
||||||
|
@ -35,13 +35,13 @@ import android.widget.TextView;
|
|||||||
|
|
||||||
import org.telegram.messenger.AndroidUtilities;
|
import org.telegram.messenger.AndroidUtilities;
|
||||||
import org.telegram.messenger.AnimationCompat.ViewProxy;
|
import org.telegram.messenger.AnimationCompat.ViewProxy;
|
||||||
|
import org.telegram.messenger.ApplicationLoader;
|
||||||
import org.telegram.messenger.Emoji;
|
import org.telegram.messenger.Emoji;
|
||||||
|
import org.telegram.messenger.FileLog;
|
||||||
import org.telegram.messenger.LocaleController;
|
import org.telegram.messenger.LocaleController;
|
||||||
import org.telegram.messenger.NotificationCenter;
|
import org.telegram.messenger.NotificationCenter;
|
||||||
import org.telegram.messenger.query.StickersQuery;
|
|
||||||
import org.telegram.messenger.ApplicationLoader;
|
|
||||||
import org.telegram.messenger.FileLog;
|
|
||||||
import org.telegram.messenger.R;
|
import org.telegram.messenger.R;
|
||||||
|
import org.telegram.messenger.query.StickersQuery;
|
||||||
import org.telegram.tgnet.TLRPC;
|
import org.telegram.tgnet.TLRPC;
|
||||||
import org.telegram.ui.Cells.EmptyCell;
|
import org.telegram.ui.Cells.EmptyCell;
|
||||||
import org.telegram.ui.Cells.StickerEmojiCell;
|
import org.telegram.ui.Cells.StickerEmojiCell;
|
||||||
@ -426,27 +426,7 @@ public class EmojiView extends FrameLayout implements NotificationCenter.Notific
|
|||||||
|
|
||||||
//setBackgroundColor(0xfff5f6f7);
|
//setBackgroundColor(0xfff5f6f7);
|
||||||
setBackgroundColor(bgColor);
|
setBackgroundColor(bgColor);
|
||||||
int val = themePrefs.getInt("chatEmojiViewBGGradient", 0);
|
|
||||||
if(val > 0) {
|
|
||||||
GradientDrawable.Orientation go;
|
|
||||||
switch(val) {
|
|
||||||
case 2:
|
|
||||||
go = GradientDrawable.Orientation.LEFT_RIGHT;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
go = GradientDrawable.Orientation.TL_BR;
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
go = GradientDrawable.Orientation.BL_TR;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
go = GradientDrawable.Orientation.TOP_BOTTOM;
|
|
||||||
}
|
|
||||||
int gradColor = themePrefs.getInt("chatEmojiViewBGGradientColor", 0xfff5f6f7);
|
|
||||||
int[] colors = new int[]{bgColor, gradColor};
|
|
||||||
GradientDrawable gd = new GradientDrawable(go, colors);
|
|
||||||
setBackgroundDrawable(gd);
|
|
||||||
}
|
|
||||||
|
|
||||||
pager = new ViewPager(context) {
|
pager = new ViewPager(context) {
|
||||||
@Override
|
@Override
|
||||||
@ -471,6 +451,7 @@ public class EmojiView extends FrameLayout implements NotificationCenter.Notific
|
|||||||
pagerSlidingTabStripContainer.setOrientation(LinearLayout.HORIZONTAL);
|
pagerSlidingTabStripContainer.setOrientation(LinearLayout.HORIZONTAL);
|
||||||
//pagerSlidingTabStripContainer.setBackgroundColor(0xfff5f6f7);
|
//pagerSlidingTabStripContainer.setBackgroundColor(0xfff5f6f7);
|
||||||
pagerSlidingTabStripContainer.setBackgroundColor(bgColor);
|
pagerSlidingTabStripContainer.setBackgroundColor(bgColor);
|
||||||
|
|
||||||
addView(pagerSlidingTabStripContainer, LayoutHelper.createFrame(LayoutParams.MATCH_PARENT, 48));
|
addView(pagerSlidingTabStripContainer, LayoutHelper.createFrame(LayoutParams.MATCH_PARENT, 48));
|
||||||
|
|
||||||
PagerSlidingTabStrip pagerSlidingTabStrip = new PagerSlidingTabStrip(context);
|
PagerSlidingTabStrip pagerSlidingTabStrip = new PagerSlidingTabStrip(context);
|
||||||
@ -535,6 +516,31 @@ public class EmojiView extends FrameLayout implements NotificationCenter.Notific
|
|||||||
View view = new View(context);
|
View view = new View(context);
|
||||||
//view.setBackgroundColor(0xffe2e5e7);
|
//view.setBackgroundColor(0xffe2e5e7);
|
||||||
view.setBackgroundColor(lineColor);
|
view.setBackgroundColor(lineColor);
|
||||||
|
int val = themePrefs.getInt("chatEmojiViewBGGradient", 0);
|
||||||
|
if(val > 0) {
|
||||||
|
GradientDrawable.Orientation go;
|
||||||
|
switch(val) {
|
||||||
|
case 2:
|
||||||
|
go = GradientDrawable.Orientation.LEFT_RIGHT;
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
go = GradientDrawable.Orientation.TL_BR;
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
go = GradientDrawable.Orientation.BL_TR;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
go = GradientDrawable.Orientation.TOP_BOTTOM;
|
||||||
|
}
|
||||||
|
int gradColor = themePrefs.getInt("chatEmojiViewBGGradientColor", 0xfff5f6f7);
|
||||||
|
int[] colors = new int[]{bgColor, gradColor};
|
||||||
|
GradientDrawable gd = new GradientDrawable(go, colors);
|
||||||
|
setBackgroundDrawable(gd);
|
||||||
|
pagerSlidingTabStripContainer.setBackgroundColor(0x00000000);
|
||||||
|
scrollSlidingTabStrip.setUnderlineColor(0x00000000);
|
||||||
|
pagerSlidingTabStrip.setUnderlineColor(0x00000000);
|
||||||
|
view.setBackgroundColor(0x00000000);
|
||||||
|
}
|
||||||
frameLayout.addView(view, LayoutHelper.createFrame(52, 1, Gravity.LEFT | Gravity.BOTTOM));
|
frameLayout.addView(view, LayoutHelper.createFrame(52, 1, Gravity.LEFT | Gravity.BOTTOM));
|
||||||
|
|
||||||
recentsWrap = new FrameLayout(context);
|
recentsWrap = new FrameLayout(context);
|
||||||
|
@ -112,13 +112,15 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
|
|||||||
|
|
||||||
private Runnable lockRunnable;
|
private Runnable lockRunnable;
|
||||||
|
|
||||||
private int versionRow = 11;
|
|
||||||
private int contactsRow = 6;
|
private int contactsRow = 6;
|
||||||
private int settingsRow = 9;
|
|
||||||
private int themingRow = 8;
|
|
||||||
private int communityRow = 10;
|
|
||||||
private int faqRow = 12;
|
|
||||||
private int themesRow = 7;
|
private int themesRow = 7;
|
||||||
|
private int themingRow = 8;
|
||||||
|
private int settingsRow = 9;
|
||||||
|
private int channelRow = 10;
|
||||||
|
private int communityRow = 11;
|
||||||
|
private int versionRow = 12;
|
||||||
|
private int faqRow = 13;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
@ -333,6 +335,18 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
|
|||||||
FileLog.e("tmessages", e);
|
FileLog.e("tmessages", e);
|
||||||
}
|
}
|
||||||
drawerLayoutContainer.closeDrawer(false);
|
drawerLayoutContainer.closeDrawer(false);
|
||||||
|
} else if (position == channelRow) {
|
||||||
|
try {
|
||||||
|
String link = "https://telegram.me/plusmsn";//https://plus.google.com/101839105638971401281/posts"
|
||||||
|
String lg = Locale.getDefault().getLanguage();
|
||||||
|
if(lg.contains("es") || lg.contains("gl") || lg.contains("ca")){
|
||||||
|
link = "https://telegram.me/plusmsnes";
|
||||||
|
}
|
||||||
|
startActivityForResult(new Intent(Intent.ACTION_VIEW, Uri.parse(link)), 504);
|
||||||
|
} catch (Exception e) {
|
||||||
|
FileLog.e("tmessages", e);
|
||||||
|
}
|
||||||
|
drawerLayoutContainer.closeDrawer(false);
|
||||||
} else if (position == communityRow) {
|
} else if (position == communityRow) {
|
||||||
try {
|
try {
|
||||||
String link = "https://plus.google.com/u/0/communities/106927015963860485525";//https://plus.google.com/101839105638971401281/posts"
|
String link = "https://plus.google.com/u/0/communities/106927015963860485525";//https://plus.google.com/101839105638971401281/posts"
|
||||||
|
@ -191,6 +191,7 @@ public class MediaActivity extends BaseFragment implements NotificationCenter.No
|
|||||||
private final static int shared_media_item = 1;
|
private final static int shared_media_item = 1;
|
||||||
private final static int files_item = 2;
|
private final static int files_item = 2;
|
||||||
private final static int links_item = 5;
|
private final static int links_item = 5;
|
||||||
|
private final static int quoteforward = 33;
|
||||||
private final static int forward = 3;
|
private final static int forward = 3;
|
||||||
private final static int delete = 4;
|
private final static int delete = 4;
|
||||||
|
|
||||||
@ -305,10 +306,11 @@ public class MediaActivity extends BaseFragment implements NotificationCenter.No
|
|||||||
});
|
});
|
||||||
builder.setNegativeButton(LocaleController.getString("Cancel", R.string.Cancel), null);
|
builder.setNegativeButton(LocaleController.getString("Cancel", R.string.Cancel), null);
|
||||||
showDialog(builder.create());
|
showDialog(builder.create());
|
||||||
} else if (id == forward) {
|
} else if (id == forward || id == quoteforward) {
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putBoolean("onlySelect", true);
|
args.putBoolean("onlySelect", true);
|
||||||
args.putInt("dialogsType", 1);
|
args.putInt("dialogsType", 1);
|
||||||
|
final boolean quoteForward = id == forward ? false : true;
|
||||||
DialogsActivity fragment = new DialogsActivity(args);
|
DialogsActivity fragment = new DialogsActivity(args);
|
||||||
fragment.setDelegate(new DialogsActivity.MessagesActivityDelegate() {
|
fragment.setDelegate(new DialogsActivity.MessagesActivityDelegate() {
|
||||||
@Override
|
@Override
|
||||||
@ -317,6 +319,9 @@ public class MediaActivity extends BaseFragment implements NotificationCenter.No
|
|||||||
if (lower_part != 0) {
|
if (lower_part != 0) {
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putBoolean("scrollToTopOnResume", true);
|
args.putBoolean("scrollToTopOnResume", true);
|
||||||
|
//Plus
|
||||||
|
args.putBoolean("quote", quoteForward);
|
||||||
|
//
|
||||||
if (lower_part > 0) {
|
if (lower_part > 0) {
|
||||||
args.putInt("user_id", lower_part);
|
args.putInt("user_id", lower_part);
|
||||||
} else if (lower_part < 0) {
|
} else if (lower_part < 0) {
|
||||||
@ -450,6 +455,7 @@ public class MediaActivity extends BaseFragment implements NotificationCenter.No
|
|||||||
actionMode.addView(selectedMessagesCountTextView, LayoutHelper.createLinear(0, LayoutHelper.MATCH_PARENT, 1.0f));
|
actionMode.addView(selectedMessagesCountTextView, LayoutHelper.createLinear(0, LayoutHelper.MATCH_PARENT, 1.0f));
|
||||||
|
|
||||||
if ((int) dialog_id != 0) {
|
if ((int) dialog_id != 0) {
|
||||||
|
actionModeViews.add(actionMode.addItem(quoteforward, R.drawable.ic_ab_fwd_quoteforward, R.drawable.bar_selector_mode, null, AndroidUtilities.dp(54)));
|
||||||
actionModeViews.add(actionMode.addItem(forward, R.drawable.ic_ab_fwd_forward, R.drawable.bar_selector_mode, null, AndroidUtilities.dp(54)));
|
actionModeViews.add(actionMode.addItem(forward, R.drawable.ic_ab_fwd_forward, R.drawable.bar_selector_mode, null, AndroidUtilities.dp(54)));
|
||||||
}
|
}
|
||||||
actionModeViews.add(actionMode.addItem(delete, R.drawable.ic_ab_fwd_delete, R.drawable.bar_selector_mode, null, AndroidUtilities.dp(54)));
|
actionModeViews.add(actionMode.addItem(delete, R.drawable.ic_ab_fwd_delete, R.drawable.bar_selector_mode, null, AndroidUtilities.dp(54)));
|
||||||
|
@ -153,6 +153,10 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
private int keepOriginalFilenameDetailRow;
|
private int keepOriginalFilenameDetailRow;
|
||||||
private int emojiPopupSize;
|
private int emojiPopupSize;
|
||||||
private int disableAudioStopRow;
|
private int disableAudioStopRow;
|
||||||
|
private int dialogsSectionRow;
|
||||||
|
private int dialogsSectionRow2;
|
||||||
|
private int dialogsPicClickRow;
|
||||||
|
private int dialogsGroupPicClickRow;
|
||||||
|
|
||||||
private final static int edit_name = 1;
|
private final static int edit_name = 1;
|
||||||
private final static int logout = 2;
|
private final static int logout = 2;
|
||||||
@ -267,6 +271,11 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
disableAudioStopRow = rowCount++;
|
disableAudioStopRow = rowCount++;
|
||||||
disableMessageClickRow = rowCount++;
|
disableMessageClickRow = rowCount++;
|
||||||
|
|
||||||
|
dialogsSectionRow = rowCount++;
|
||||||
|
dialogsSectionRow2 = rowCount++;
|
||||||
|
dialogsPicClickRow = rowCount++;
|
||||||
|
dialogsGroupPicClickRow = rowCount++;
|
||||||
|
|
||||||
supportSectionRow = rowCount++;
|
supportSectionRow = rowCount++;
|
||||||
supportSectionRow2 = rowCount++;
|
supportSectionRow2 = rowCount++;
|
||||||
askQuestionRow = rowCount++;
|
askQuestionRow = rowCount++;
|
||||||
@ -724,6 +733,54 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
if (view instanceof TextCheckCell) {
|
if (view instanceof TextCheckCell) {
|
||||||
((TextCheckCell) view).setChecked(!keep);
|
((TextCheckCell) view).setChecked(!keep);
|
||||||
}
|
}
|
||||||
|
} else if (i == dialogsPicClickRow) {
|
||||||
|
if (getParentActivity() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
|
||||||
|
builder.setTitle(LocaleController.getString("ClickOnContactPic", R.string.ClickOnContactPic));
|
||||||
|
builder.setItems(new CharSequence[]{
|
||||||
|
LocaleController.getString("RowGradientDisabled", R.string.RowGradientDisabled),
|
||||||
|
LocaleController.getString("ShowPics", R.string.ShowPics),
|
||||||
|
LocaleController.getString("ShowProfile", R.string.ShowProfile)
|
||||||
|
}, new DialogInterface.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
|
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||||
|
SharedPreferences.Editor editor = preferences.edit();
|
||||||
|
editor.putInt("dialogsClickOnPic", which);
|
||||||
|
editor.commit();
|
||||||
|
if (listView != null) {
|
||||||
|
listView.invalidateViews();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
builder.setNegativeButton(LocaleController.getString("Cancel", R.string.Cancel), null);
|
||||||
|
showDialog(builder.create());
|
||||||
|
} else if (i == dialogsGroupPicClickRow) {
|
||||||
|
if (getParentActivity() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
AlertDialog.Builder builder = new AlertDialog.Builder(getParentActivity());
|
||||||
|
builder.setTitle(LocaleController.getString("ClickOnGroupPic", R.string.ClickOnGroupPic));
|
||||||
|
builder.setItems(new CharSequence[]{
|
||||||
|
LocaleController.getString("RowGradientDisabled", R.string.RowGradientDisabled),
|
||||||
|
LocaleController.getString("ShowPics", R.string.ShowPics),
|
||||||
|
LocaleController.getString("ShowProfile", R.string.ShowProfile)
|
||||||
|
}, new DialogInterface.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
|
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||||
|
SharedPreferences.Editor editor = preferences.edit();
|
||||||
|
editor.putInt("dialogsClickOnGroupPic", which);
|
||||||
|
editor.commit();
|
||||||
|
if (listView != null) {
|
||||||
|
listView.invalidateViews();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
builder.setNegativeButton(LocaleController.getString("Cancel", R.string.Cancel), null);
|
||||||
|
showDialog(builder.create());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -1241,7 +1298,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
i == askQuestionRow || i == sendLogsRow || i == sendByEnterRow || i == privacyRow || i == wifiDownloadRow || i == disableAudioStopRow || i == disableMessageClickRow ||
|
i == askQuestionRow || i == sendLogsRow || i == sendByEnterRow || i == privacyRow || i == wifiDownloadRow || i == disableAudioStopRow || i == disableMessageClickRow ||
|
||||||
i == mobileDownloadRow || i == clearLogsRow || i == roamingDownloadRow || i == languageRow || i == usernameRow ||
|
i == mobileDownloadRow || i == clearLogsRow || i == roamingDownloadRow || i == languageRow || i == usernameRow ||
|
||||||
i == switchBackendButtonRow || i == telegramFaqRow || i == contactsSortRow || i == contactsReimportRow || i == saveToGalleryRow || i == keepOriginalFilenameRow ||
|
i == switchBackendButtonRow || i == telegramFaqRow || i == contactsSortRow || i == contactsReimportRow || i == saveToGalleryRow || i == keepOriginalFilenameRow ||
|
||||||
i == stickersRow;
|
i == stickersRow || i == dialogsPicClickRow || i == dialogsGroupPicClickRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -1329,6 +1386,30 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
textCell.setText(LocaleController.getString("ImportContacts", R.string.ImportContacts), true);
|
textCell.setText(LocaleController.getString("ImportContacts", R.string.ImportContacts), true);
|
||||||
} else if (i == stickersRow) {
|
} else if (i == stickersRow) {
|
||||||
textCell.setText(LocaleController.getString("Stickers", R.string.Stickers), true);
|
textCell.setText(LocaleController.getString("Stickers", R.string.Stickers), true);
|
||||||
|
} else if (i == dialogsPicClickRow) {
|
||||||
|
String value;
|
||||||
|
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||||
|
int sort = preferences.getInt("dialogsClickOnPic", 0);
|
||||||
|
if (sort == 0) {
|
||||||
|
value = LocaleController.getString("RowGradientDisabled", R.string.RowGradientDisabled);
|
||||||
|
} else if (sort == 1) {
|
||||||
|
value = LocaleController.getString("ShowPics", R.string.ShowPics);
|
||||||
|
} else {
|
||||||
|
value = LocaleController.getString("ShowProfile", R.string.ShowProfile);
|
||||||
|
}
|
||||||
|
textCell.setTextAndValue(LocaleController.getString("ClickOnContactPic", R.string.ClickOnContactPic), value, false);
|
||||||
|
} else if (i == dialogsGroupPicClickRow) {
|
||||||
|
String value;
|
||||||
|
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||||
|
int sort = preferences.getInt("dialogsClickOnGroupPic", 0);
|
||||||
|
if (sort == 0) {
|
||||||
|
value = LocaleController.getString("RowGradientDisabled", R.string.RowGradientDisabled);
|
||||||
|
} else if (sort == 1) {
|
||||||
|
value = LocaleController.getString("ShowPics", R.string.ShowPics);
|
||||||
|
} else {
|
||||||
|
value = LocaleController.getString("ShowProfile", R.string.ShowProfile);
|
||||||
|
}
|
||||||
|
textCell.setTextAndValue(LocaleController.getString("ClickOnGroupPic", R.string.ClickOnGroupPic), value, true);
|
||||||
}
|
}
|
||||||
} else if (type == 3) {
|
} else if (type == 3) {
|
||||||
if (view == null) {
|
if (view == null) {
|
||||||
@ -1368,6 +1449,8 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
((HeaderCell) view).setText(LocaleController.getString("AutomaticMediaDownload", R.string.AutomaticMediaDownload));
|
((HeaderCell) view).setText(LocaleController.getString("AutomaticMediaDownload", R.string.AutomaticMediaDownload));
|
||||||
} else if (i == numberSectionRow) {
|
} else if (i == numberSectionRow) {
|
||||||
((HeaderCell) view).setText(LocaleController.getString("Info", R.string.Info));
|
((HeaderCell) view).setText(LocaleController.getString("Info", R.string.Info));
|
||||||
|
}else if (i == dialogsSectionRow2) {
|
||||||
|
((HeaderCell) view).setText(LocaleController.getString("DialogsSettings", R.string.DialogsSettings));
|
||||||
}
|
}
|
||||||
} else if (type == 5) {
|
} else if (type == 5) {
|
||||||
if (view == null) {
|
if (view == null) {
|
||||||
@ -1461,11 +1544,11 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
if (i == emptyRow || i == overscrollRow) {
|
if (i == emptyRow || i == overscrollRow) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (i == settingsSectionRow || i == supportSectionRow /*|| i == messagesSectionRow*/ || i == mediaDownloadSection || i == contactsSectionRow) {
|
if (i == settingsSectionRow || i == supportSectionRow /*|| i == messagesSectionRow*/ || i == mediaDownloadSection || i == contactsSectionRow || i == dialogsSectionRow) {
|
||||||
return 1;
|
return 1;
|
||||||
} else if (i == enableAnimationsRow || i == sendByEnterRow || i == saveToGalleryRow || i == disableAudioStopRow || i == disableMessageClickRow || i == showAndroidEmojiRow || i == useDeviceFontRow || i == keepOriginalFilenameRow ) {
|
} else if (i == enableAnimationsRow || i == sendByEnterRow || i == saveToGalleryRow || i == disableAudioStopRow || i == disableMessageClickRow || i == showAndroidEmojiRow || i == useDeviceFontRow || i == keepOriginalFilenameRow ) {
|
||||||
return 3;
|
return 3;
|
||||||
} else if (i == notificationRow || i == backgroundRow || i == askQuestionRow || i == sendLogsRow || i == privacyRow || i == clearLogsRow || i == switchBackendButtonRow || i == telegramFaqRow || i == contactsReimportRow || i == textSizeRow || i == emojiPopupSize || i == languageRow || i == contactsSortRow || i == stickersRow) {
|
} else if (i == notificationRow || i == backgroundRow || i == askQuestionRow || i == sendLogsRow || i == privacyRow || i == clearLogsRow || i == switchBackendButtonRow || i == telegramFaqRow || i == contactsReimportRow || i == textSizeRow || i == emojiPopupSize || i == languageRow || i == contactsSortRow || i == stickersRow || i == dialogsPicClickRow || i == dialogsGroupPicClickRow) {
|
||||||
return 2;
|
return 2;
|
||||||
} else if (i == versionRow) {
|
} else if (i == versionRow) {
|
||||||
return 5;
|
return 5;
|
||||||
@ -1473,7 +1556,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
|||||||
return 6;
|
return 6;
|
||||||
} else if (i == keepOriginalFilenameDetailRow) {
|
} else if (i == keepOriginalFilenameDetailRow) {
|
||||||
return 7;
|
return 7;
|
||||||
} else if (i == settingsSectionRow2 || i == messagesSectionRow2 || i == supportSectionRow2 || i == numberSectionRow || i == mediaDownloadSection2) {
|
} else if (i == settingsSectionRow2 || i == messagesSectionRow2 || i == supportSectionRow2 || i == numberSectionRow || i == mediaDownloadSection2 || i == dialogsSectionRow2) {
|
||||||
return 4;
|
return 4;
|
||||||
} else {
|
} else {
|
||||||
return 2;
|
return 2;
|
||||||
|
@ -26,9 +26,9 @@ import android.widget.FrameLayout;
|
|||||||
import android.widget.ListView;
|
import android.widget.ListView;
|
||||||
|
|
||||||
import org.telegram.messenger.AndroidUtilities;
|
import org.telegram.messenger.AndroidUtilities;
|
||||||
|
import org.telegram.messenger.ApplicationLoader;
|
||||||
import org.telegram.messenger.LocaleController;
|
import org.telegram.messenger.LocaleController;
|
||||||
import org.telegram.messenger.MessagesController;
|
import org.telegram.messenger.MessagesController;
|
||||||
import org.telegram.messenger.ApplicationLoader;
|
|
||||||
import org.telegram.messenger.R;
|
import org.telegram.messenger.R;
|
||||||
import org.telegram.ui.ActionBar.ActionBar;
|
import org.telegram.ui.ActionBar.ActionBar;
|
||||||
import org.telegram.ui.ActionBar.BaseFragment;
|
import org.telegram.ui.ActionBar.BaseFragment;
|
||||||
@ -147,8 +147,8 @@ public class ThemingChatActivity extends BaseFragment {
|
|||||||
solidBGColorCheckRow = rowCount++;
|
solidBGColorCheckRow = rowCount++;
|
||||||
solidBGColorRow = rowCount++;
|
solidBGColorRow = rowCount++;
|
||||||
|
|
||||||
//gradientBGRow = rowCount++;
|
gradientBGRow = rowCount++;
|
||||||
//gradientBGColorRow = rowCount++;
|
gradientBGColorRow = rowCount++;
|
||||||
|
|
||||||
showContactAvatar = rowCount++;
|
showContactAvatar = rowCount++;
|
||||||
avatarAlignTopRow = rowCount++;
|
avatarAlignTopRow = rowCount++;
|
||||||
@ -399,6 +399,9 @@ public class ThemingChatActivity extends BaseFragment {
|
|||||||
if (view instanceof TextCheckCell) {
|
if (view instanceof TextCheckCell) {
|
||||||
((TextCheckCell) view).setChecked(!b);
|
((TextCheckCell) view).setChecked(!b);
|
||||||
}
|
}
|
||||||
|
if (listView != null) {
|
||||||
|
listView.invalidateViews();
|
||||||
|
}
|
||||||
|
|
||||||
} else if (i == memberColorCheckRow) {
|
} else if (i == memberColorCheckRow) {
|
||||||
boolean b = themePrefs.getBoolean( key, true);
|
boolean b = themePrefs.getBoolean( key, true);
|
||||||
@ -474,6 +477,12 @@ public class ThemingChatActivity extends BaseFragment {
|
|||||||
public void colorChanged(int color) {
|
public void colorChanged(int color) {
|
||||||
commitInt("chatSolidBGColor", color);
|
commitInt("chatSolidBGColor", color);
|
||||||
ApplicationLoader.reloadWallpaper();
|
ApplicationLoader.reloadWallpaper();
|
||||||
|
/*AndroidUtilities.runOnUIThread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
NotificationCenter.getInstance().postNotificationName(NotificationCenter.wallpaperChanged);
|
||||||
|
}
|
||||||
|
});*/
|
||||||
}
|
}
|
||||||
|
|
||||||
},themePrefs.getInt("chatSolidBGColor", 0xffffffff), CENTER, 0, true);
|
},themePrefs.getInt("chatSolidBGColor", 0xffffffff), CENTER, 0, true);
|
||||||
@ -488,7 +497,13 @@ public class ThemingChatActivity extends BaseFragment {
|
|||||||
@Override
|
@Override
|
||||||
public void colorChanged(int color) {
|
public void colorChanged(int color) {
|
||||||
commitInt("chatGradientBGColor", color);
|
commitInt("chatGradientBGColor", color);
|
||||||
ApplicationLoader.reloadWallpaper();
|
/*ApplicationLoader.reloadWallpaper();
|
||||||
|
AndroidUtilities.runOnUIThread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
NotificationCenter.getInstance().postNotificationName(NotificationCenter.wallpaperChanged);
|
||||||
|
}
|
||||||
|
});*/
|
||||||
}
|
}
|
||||||
},themePrefs.getInt( "chatGradientBGColor", 0xffffffff), CENTER, 0, false);
|
},themePrefs.getInt( "chatGradientBGColor", 0xffffffff), CENTER, 0, false);
|
||||||
colorDialog.show();
|
colorDialog.show();
|
||||||
@ -508,7 +523,13 @@ public class ThemingChatActivity extends BaseFragment {
|
|||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||||
themePrefs.edit().putInt("chatGradientBG", which).commit();
|
themePrefs.edit().putInt("chatGradientBG", which).commit();
|
||||||
ApplicationLoader.reloadWallpaper();
|
/*ApplicationLoader.reloadWallpaper();
|
||||||
|
AndroidUtilities.runOnUIThread(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
NotificationCenter.getInstance().postNotificationName(NotificationCenter.wallpaperChanged);
|
||||||
|
}
|
||||||
|
});*/
|
||||||
if (listView != null) {
|
if (listView != null) {
|
||||||
listView.invalidateViews();
|
listView.invalidateViews();
|
||||||
}
|
}
|
||||||
@ -1528,7 +1549,7 @@ public class ThemingChatActivity extends BaseFragment {
|
|||||||
textCell.setTag("chatHeaderIconsColor");
|
textCell.setTag("chatHeaderIconsColor");
|
||||||
textCell.setTextAndColor(LocaleController.getString("HeaderIconsColor", R.string.HeaderIconsColor), themePrefs.getInt(textCell.getTag().toString(), 0xffffffff), true);
|
textCell.setTextAndColor(LocaleController.getString("HeaderIconsColor", R.string.HeaderIconsColor), themePrefs.getInt(textCell.getTag().toString(), 0xffffffff), true);
|
||||||
} else if (i == solidBGColorRow) {
|
} else if (i == solidBGColorRow) {
|
||||||
textCell.setTextAndColor(LocaleController.getString("SolidBGColor", R.string.SolidBGColor), themePrefs.getBoolean("chatSolidBGColorCheck", false) ? themePrefs.getInt("chatSolidBGColor", 0xffffffff) : 0x00000000, true);
|
textCell.setTextAndColor(LocaleController.getString("SolidBGColor", R.string.SolidBGColor), themePrefs.getBoolean("chatSolidBGColorCheck", false) ? themePrefs.getInt("chatSolidBGColor", 0xffffffff) : 0x00000000, false);
|
||||||
} else if (i == gradientBGColorRow) {
|
} else if (i == gradientBGColorRow) {
|
||||||
textCell.setTextAndColor(LocaleController.getString("RowGradientColor", R.string.RowGradientColor), themePrefs.getInt("chatGradientBG", 0) == 0 || !themePrefs.getBoolean("chatSolidBGColorCheck", false) ? 0x00000000 : themePrefs.getInt("chatGradientBGColor", 0xffffffff), true);
|
textCell.setTextAndColor(LocaleController.getString("RowGradientColor", R.string.RowGradientColor), themePrefs.getInt("chatGradientBG", 0) == 0 || !themePrefs.getBoolean("chatSolidBGColorCheck", false) ? 0x00000000 : themePrefs.getInt("chatGradientBGColor", 0xffffffff), true);
|
||||||
} else if (i == memberColorRow) {
|
} else if (i == memberColorRow) {
|
||||||
|
@ -633,7 +633,7 @@ public class ThemingContactsActivity extends BaseFragment {
|
|||||||
if (i == headerColorRow) {
|
if (i == headerColorRow) {
|
||||||
textCell.setTextAndColor(LocaleController.getString("HeaderColor", R.string.HeaderColor), themePrefs.getInt("contactsHeaderColor", AndroidUtilities.getIntColor("themeColor")), false);
|
textCell.setTextAndColor(LocaleController.getString("HeaderColor", R.string.HeaderColor), themePrefs.getInt("contactsHeaderColor", AndroidUtilities.getIntColor("themeColor")), false);
|
||||||
} else if (i == headerGradientColorRow) {
|
} else if (i == headerGradientColorRow) {
|
||||||
textCell.setTextAndColor(LocaleController.getString("HeaderColor", R.string.HeaderColor), themePrefs.getInt("contactsHeaderGradient", 0) == 0 ? 0x00000000 : themePrefs.getInt("contactsHeaderGradientColor", AndroidUtilities.getIntColor("themeColor")), true);
|
textCell.setTextAndColor(LocaleController.getString("RowGradientColor", R.string.RowGradientColor), themePrefs.getInt("contactsHeaderGradient", 0) == 0 ? 0x00000000 : themePrefs.getInt("contactsHeaderGradientColor", AndroidUtilities.getIntColor("themeColor")), true);
|
||||||
} else if (i == headerTitleColorRow) {
|
} else if (i == headerTitleColorRow) {
|
||||||
textCell.setTextAndColor(LocaleController.getString("HeaderTitleColor", R.string.HeaderTitleColor), themePrefs.getInt("contactsHeaderTitleColor", 0xffffffff), true);
|
textCell.setTextAndColor(LocaleController.getString("HeaderTitleColor", R.string.HeaderTitleColor), themePrefs.getInt("contactsHeaderTitleColor", 0xffffffff), true);
|
||||||
} else if (i == headerIconsColorRow) {
|
} else if (i == headerIconsColorRow) {
|
||||||
|
@ -22,7 +22,6 @@ import android.net.Uri;
|
|||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.provider.MediaStore;
|
import android.provider.MediaStore;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.Gravity;
|
import android.view.Gravity;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@ -244,7 +243,6 @@ public class WallpapersActivity extends BaseFragment implements NotificationCent
|
|||||||
processSelectedBackground();
|
processSelectedBackground();
|
||||||
}
|
}
|
||||||
//Plus
|
//Plus
|
||||||
Log.e("click", position+"");
|
|
||||||
AndroidUtilities.runOnUIThread(new Runnable() {
|
AndroidUtilities.runOnUIThread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -950,7 +950,7 @@
|
|||||||
<string name="formatDateAtTime">%1$s الساعة %2$s</string>
|
<string name="formatDateAtTime">%1$s الساعة %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">تم تحديث تيليجرام نسخة الآندرويد. الجديد في نسخة 3.2.0:\n\n- إضافة خدمة القنوات - وسيلة جديدة رائعة لإرسال الرسائل الجماعية لعدد لا محدود من الجماهير (تستبدل الرسائل الجماعية القديمة). \n\n- اللاستزادة، اقرأ هنا: https://telegram.org/blog/channels</string>
|
<string name="updateText">تم تحديث تيليجرام نسخة الآندرويد. الجديد في نسخة 3.2.0:\n\n- إضافة خدمة القنوات - وسيلة جديدة رائعة لإرسال الرسائل الجماعية لعدد لا محدود من الجماهير (تستبدل الرسائل الجماعية القديمة). \n\n- اللاستزادة، اقرأ هنا: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText"></string>-->
|
<string name="updatePlusText"></string>-->
|
||||||
<string name="TelegramForAndroid">بلاس مسنجر للأندرويد</string>
|
<string name="TelegramForAndroid">بلاس مسنجر للأندرويد</string>
|
||||||
|
@ -903,7 +903,7 @@ Si no us interessa, us suggerim crear un canal privat.</string>
|
|||||||
<string name="formatDateAtTime">%1$s a les %2$s</string>
|
<string name="formatDateAtTime">%1$s a les %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">S\'ha actualitzat el Telegram per a l\'Android. Novetats a la versió 3.1.3:\n\n- Nova secció \'Enllaços compartits\' a la informació del xat\n- Previsualització, dins de l\'aplicació, per a enllaços a fotos</string>
|
<string name="updateText">S\'ha actualitzat el Telegram per a l\'Android. Novetats a la versió 3.1.3:\n\n- Nova secció \'Enllaços compartits\' a la informació del xat\n- Previsualització, dins de l\'aplicació, per a enllaços a fotos</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">\n\nNovetats a la versió 3.1.1.6\n\n- Nou MOD per mostrar l\'avatar dels contactes als xats\n- Nou MOD per mostrar l\'avatar propi als xats i grups\n- Nou MOD per alinear l\'avatar propi a dalt\n- S\'han afegit les noves bombolles Ed i Edge (gràcies a Edwin Macalopu)\n- Nou MOD per canviar el color de fons i de text del menú d\'adjuntar als xats\n- Nou MOD per canviar el color del títol i botons dels diàlegs\n- Correcció d\'errors</string>-->
|
<string name="updatePlusText">\n\nNovetats a la versió 3.1.1.6\n\n- Nou MOD per mostrar l\'avatar dels contactes als xats\n- Nou MOD per mostrar l\'avatar propi als xats i grups\n- Nou MOD per alinear l\'avatar propi a dalt\n- S\'han afegit les noves bombolles Ed i Edge (gràcies a Edwin Macalopu)\n- Nou MOD per canviar el color de fons i de text del menú d\'adjuntar als xats\n- Nou MOD per canviar el color del títol i botons dels diàlegs\n- Correcció d\'errors</string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger per Android</string>
|
<string name="TelegramForAndroid">Plus Messenger per Android</string>
|
||||||
@ -1045,4 +1045,16 @@ Si no us interessa, us suggerim crear un canal privat.</string>
|
|||||||
<string name="DisableAudioStop">No aturis els àudios</string>
|
<string name="DisableAudioStop">No aturis els àudios</string>
|
||||||
<string name="ListDividerColor">Color del divisor de llista</string>
|
<string name="ListDividerColor">Color del divisor de llista</string>
|
||||||
<string name="CenterAvatar">Centra l\'avatar, el nom i el número de telèfon</string>
|
<string name="CenterAvatar">Centra l\'avatar, el nom i el número de telèfon</string>
|
||||||
|
<string name="RowGradient">Gradient</string>
|
||||||
|
<string name="RowGradientColor">Color de gradient</string>
|
||||||
|
<string name="RowGradientDisabled">Deshabilitat</string>
|
||||||
|
<string name="RowGradientTopBottom">De dalt a baix</string>
|
||||||
|
<string name="RowGradientLeftRight">D\'esquerra a dreta</string>
|
||||||
|
<string name="RowGradientTLBR">Dalt-Esquerra Baix-Dreta</string>
|
||||||
|
<string name="RowGradientBLTR">Baix-Esquerra Dalt-Dreta</string>
|
||||||
|
<string name="RowGradientList">Aplica el gradient al fons de la llista</string>
|
||||||
|
<string name="Copied">S\'ha copiat %s al porta-retalls</string>
|
||||||
|
<string name="JoinChannel">
|
||||||
|
|
||||||
|
Afegiu-vos al canal oficial del Plus Messenger: https://telegram.me/plusmsnes</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -947,10 +947,10 @@
|
|||||||
<string name="formatDateAtTime">%1$s um %2$s</string>
|
<string name="formatDateAtTime">%1$s um %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Telegram für Android wurde aktualisiert. Neu in Version 3.2.0:\n\n- Kanäle: Du kannst nun Nachrichten an eine unbegrenzte Anzahl von Leuten schicken (ersetzen die Verteilerlisten).\n\n Mehr Infos über dieses Update: https://telegram.org/blog/channels</string>
|
<string name="updateText">Telegram für Android wurde aktualisiert. Neu in Version 3.2.0:\n\n- Kanäle: Du kannst nun Nachrichten an eine unbegrenzte Anzahl von Leuten schicken (ersetzen die Verteilerlisten).\n\n Mehr Infos über dieses Update: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">
|
<string name="updatePlusText">
|
||||||
\n\nNeu in Version 3.1.3.3:\n\n- Option Farbverlauf in Kopf- und Listenzeile, in Chatübersicht, Chat, Kontakten, Profile und Hauptmenü\n- Hinzugefügt Option Farbverlauf in Texteingabefeld, Emoji Ansicht und einfügen Ansicht\n- MOD Wechsel \'online\' Textfarbe in Profile und Text\n- MOD Profilbildradius im Profil ändern\n- Fehlerbeseitigung</string>-->
|
\n\nNeues in Version 3.2.2.1:\n\n- Hintergrund vom Chat kann jetzt direkt geändert werden\n- Verbesserte Möglichkeit der Anwendung von Themen Hintergrundbildern\n-Benutzernamen in Zwischenablage kopieren wenn diese in der Profilübersicht ausgewählt wurden\n- Fehlerbeseitigung</string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger für Android</string>
|
<string name="TelegramForAndroid">Plus Messenger für Android</string>
|
||||||
<string name="Theming">Themen bearbeiten</string>
|
<string name="Theming">Themen bearbeiten</string>
|
||||||
<string name="colorHexInvalid">Ungültiger Hex-Code!</string>
|
<string name="colorHexInvalid">Ungültiger Hex-Code!</string>
|
||||||
@ -1098,4 +1098,7 @@
|
|||||||
<string name="RowGradientTLBR">von oben Links nach unten Rechts</string>
|
<string name="RowGradientTLBR">von oben Links nach unten Rechts</string>
|
||||||
<string name="RowGradientBLTR">von unten Links nach oben Rechts</string>
|
<string name="RowGradientBLTR">von unten Links nach oben Rechts</string>
|
||||||
<string name="RowGradientList">Hintergrund Farbverlauf Liste oder Seite</string>
|
<string name="RowGradientList">Hintergrund Farbverlauf Liste oder Seite</string>
|
||||||
|
<string name="Copied">%s in die Zwischenablage kopiert</string>
|
||||||
|
<string name="JoinChannel">
|
||||||
|
\n\nPlus Messenger Mitglied werden im offiziellen Kanal: https://telegram.me/plusmsn</string>
|
||||||
</resources>
|
</resources>
|
@ -947,9 +947,9 @@
|
|||||||
<string name="formatDateAtTime">%1$s a las %2$s</string>
|
<string name="formatDateAtTime">%1$s a las %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Plus Messenger para Android ha sido actualizada. Novedades en la versión 3.2.0\n\n- Presentamos los Canales - una nueva gran forma de difundir tus mensajes a audiencias ilimitadas (reemplaza a las antiguas difusiones).\n\n Conoce más: https://telegram.org/blog/channels</string>
|
<string name="updateText">Plus Messenger para Android ha sido actualizada. Novedades en la versión 3.2.0\n\n- Presentamos los Canales - una nueva gran forma de difundir tus mensajes a audiencias ilimitadas (reemplaza a las antiguas difusiones).\n\n Conoce más: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+-->
|
||||||
<string name="updatePlusText">\n\nNovedades en 3.2.2.1:\n\n- Ahora puedes cambiar el fondo directamente desde la pantalla de chat\n- Método mejorado para aplicar fondos de tema\n- El alias se copia al portapapeles si le haces click en la pantalla de perfil\n- Corrección de errores</string>
|
<string name="updatePlusText">\n\nNovedades en 3.2.2.2:\n\n- Opción en ajustes para abrir perfil/fotos de perfil de usuario/grupo al hacer click en foto en pantalla principal\n- Opción de gradiente en fondo de chat\n- Añadida opción de reenviar link sin citar\n- Añadido enlace a canal oficial en menú\n- Corrección de errores</string>
|
||||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||||
<string name="Theming">Tematización</string>
|
<string name="Theming">Tematización</string>
|
||||||
<string name="colorHexInvalid">¡Color hexadecimal inválido!</string>
|
<string name="colorHexInvalid">¡Color hexadecimal inválido!</string>
|
||||||
@ -1099,4 +1099,11 @@
|
|||||||
<string name="RowGradientList">Aplicar gradiente a fondo de lista</string>
|
<string name="RowGradientList">Aplicar gradiente a fondo de lista</string>
|
||||||
<string name="Copied">%s copiado al portapapeles</string>
|
<string name="Copied">%s copiado al portapapeles</string>
|
||||||
<string name="JoinChannel">\n\nÚnete al canal oficial de Plus Messenger en español: https://telegram.me/plusmsnes</string>
|
<string name="JoinChannel">\n\nÚnete al canal oficial de Plus Messenger en español: https://telegram.me/plusmsnes</string>
|
||||||
|
<string name="DownloadThemes">Descargar temas</string>
|
||||||
|
<string name="OfficialChannel">Canal oficial</string>
|
||||||
|
<string name="DialogsSettings">Chats</string>
|
||||||
|
<string name="ClickOnContactPic">Click en foto de contacto</string>
|
||||||
|
<string name="ClickOnGroupPic">Click en foto de grupo</string>
|
||||||
|
<string name="ShowProfile">Perfil</string>
|
||||||
|
<string name="ShowPics">Fotos de perfil</string>
|
||||||
</resources>
|
</resources>
|
@ -949,7 +949,7 @@
|
|||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Plus Messenger pour Android a été mis à jour. Nouveautés de la version 3.1.3:\n\n- Nouvelle section \"Liens partagés\" dans les informations de la conversation\n
|
<string name="updateText">Plus Messenger pour Android a été mis à jour. Nouveautés de la version 3.1.3:\n\n- Nouvelle section \"Liens partagés\" dans les informations de la conversation\n
|
||||||
- Prévisualistaion In-app pour les liens des images</string>
|
- Prévisualistaion In-app pour les liens des images</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger pour Android</string>
|
<string name="TelegramForAndroid">Plus Messenger pour Android</string>
|
||||||
<string name="Theming">Thème</string>
|
<string name="Theming">Thème</string>
|
||||||
|
@ -948,9 +948,9 @@ e introduce o teu número.</string>
|
|||||||
<string name="formatDateAtTime">%1$s ás %2$s</string>
|
<string name="formatDateAtTime">%1$s ás %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Telegram para Android foi actualizada. Novidades na versión 3.2.0:\n\n- Presentamos as Canles – unha nova gran forma de difundir as túas mensaxes a audiencias ilimitadas (substitúe ás antigas difusións).\n\n Coñece máis: https://telegram.org/blog/channels</string>
|
<string name="updateText">Telegram para Android foi actualizada. Novidades na versión 3.2.0:\n\n- Presentamos as Canles – unha nova gran forma de difundir as túas mensaxes a audiencias ilimitadas (substitúe ás antigas difusións).\n\n Coñece máis: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">\n\nNovo na versión 3.2.2.1:\n\n- Agora podes cambiar o fondo directamente dende a pantalla da conversa\n- Método mellorado para a aplicación dos fondos do tema\n- O alias cópiase ao portapapeis se lle tocas na pantalla do perfil\n- Corrección de erros</string>
|
<string name="updatePlusText">\n\nNovo na versión 3.2.2.2:\n\n- Agora podes cambiar o fondo directamente dende a pantalla da conversa\n- Método mellorado para a aplicación dos fondos do tema\n- O alias cópiase ao portapapeis se lle tocas na pantalla do perfil\n- Corrección de erros</string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||||
<string name="Theming">Tematización</string>
|
<string name="Theming">Tematización</string>
|
||||||
<string name="colorHexInvalid">Cor hexadecimal inválida!</string>
|
<string name="colorHexInvalid">Cor hexadecimal inválida!</string>
|
||||||
@ -1099,4 +1099,5 @@ e introduce o teu número.</string>
|
|||||||
<string name="RowGradientBLTR">Abaixo-Esquerda Arriba-Dereita</string>
|
<string name="RowGradientBLTR">Abaixo-Esquerda Arriba-Dereita</string>
|
||||||
<string name="RowGradientList">Aplicar gradiente ao fondo do listado</string>
|
<string name="RowGradientList">Aplicar gradiente ao fondo do listado</string>
|
||||||
<string name="Copied">%s copiado ao portapapeis</string>
|
<string name="Copied">%s copiado ao portapapeis</string>
|
||||||
|
<string name="JoinChannel">\n\nÚnete á canle oficial de Plus Messenger: https://telegram.me/plusmsnes</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -515,7 +515,7 @@
|
|||||||
<string name="formatDateAtTime">%1$s पर %2$s</string>
|
<string name="formatDateAtTime">%1$s पर %2$s</string>
|
||||||
<!--update text--><!--
|
<!--update text--><!--
|
||||||
<string name="updateText">Plus Messenger for Android has been updated. New in Version 3.0:\n\n\n\n- Dedicated tabs for each one of your custom sticker sets in the sticker panel. Add custom stickers like https://telegram.me/addstickers/Animals\n- New bot API, free for everyone. If you\'re an engineer, create your own bots for games, services or integrations. Learn more at https://telegram.org/blog/bot-revolution\n https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
|
<string name="updateText">Plus Messenger for Android has been updated. New in Version 3.0:\n\n\n\n- Dedicated tabs for each one of your custom sticker sets in the sticker panel. Add custom stickers like https://telegram.me/addstickers/Animals\n- New bot API, free for everyone. If you\'re an engineer, create your own bots for games, services or integrations. Learn more at https://telegram.org/blog/bot-revolution\n https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText"></string>-->
|
<string name="updatePlusText"></string>-->
|
||||||
<string name="TelegramForAndroid">Android के लिए प्लस मैसेंजर</string>
|
<string name="TelegramForAndroid">Android के लिए प्लस मैसेंजर</string>
|
||||||
|
@ -750,7 +750,7 @@
|
|||||||
<string name="formatterDay12H">h:mm a</string>
|
<string name="formatterDay12H">h:mm a</string>
|
||||||
<string name="formatDateAtTime">%1$s u %2$s</string>
|
<string name="formatDateAtTime">%1$s u %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger za Android</string>
|
<string name="TelegramForAndroid">Plus Messenger za Android</string>
|
||||||
<string name="Theming">Izrada teme</string>
|
<string name="Theming">Izrada teme</string>
|
||||||
|
@ -947,10 +947,10 @@
|
|||||||
<string name="formatDateAtTime">%1$s alle %2$s</string>
|
<string name="formatDateAtTime">%1$s alle %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Plus Messenger per Android si è aggiornato. Nuovo nella versione 3.2.0:\n\n- Nuovi Canali - una nuova modalità per diffondere i tuoi messaggi ad un pubblico infinito (rimpiazzano le vecchie liste broadcast).\n\nPiù info: https://telegram.org/blog/channels</string>
|
<string name="updateText">Plus Messenger per Android si è aggiornato. Nuovo nella versione 3.2.0:\n\n- Nuovi Canali - una nuova modalità per diffondere i tuoi messaggi ad un pubblico infinito (rimpiazzano le vecchie liste broadcast).\n\nPiù info: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+-->
|
||||||
<string name="updatePlusText">
|
<string name="updatePlusText">
|
||||||
\n\Novità nella versione 3.2.2.1:\n\n- Adesso lo sfondo può essere cambiato direttamente dalla schermata della chat\n- Migliorato il metodo di applicazione degli sfondi dei temi\n- Nome utente copiato negli appunti se premuto nella schermata del profilo\n- Correzioni bug</string>
|
\n\nNovità nella versione 3.2.2.2:\n\n- Nuova opzione nelle impostazioni per aprire il profilo/le immagini del profilo quando si preme l\'utente o l\'immagine del gruppo nella schermata principale\n- Aggiunta opzione per il colore gradiente di sfondo\n- Aggiunta opzione per inoltrare i link senza quotare\n- Aggiunto link al canale ufficiale nel menu\n- Correzioni bug</string>
|
||||||
<string name="TelegramForAndroid">Plus Messenger per Android</string>
|
<string name="TelegramForAndroid">Plus Messenger per Android</string>
|
||||||
<string name="Theming">Personalizzazione</string>
|
<string name="Theming">Personalizzazione</string>
|
||||||
<string name="colorHexInvalid">Codice del colore esadecimale non valido!</string>
|
<string name="colorHexInvalid">Codice del colore esadecimale non valido!</string>
|
||||||
@ -1099,5 +1099,13 @@
|
|||||||
<string name="RowGradientBLTR">Fondo-sinistra Intestazione-destra</string>
|
<string name="RowGradientBLTR">Fondo-sinistra Intestazione-destra</string>
|
||||||
<string name="RowGradientList">Applica il gradiente allo sfondo della lista</string>
|
<string name="RowGradientList">Applica il gradiente allo sfondo della lista</string>
|
||||||
<string name="Copied">%s copiato negli appunti</string>
|
<string name="Copied">%s copiato negli appunti</string>
|
||||||
<string name="JoinChannel">\n\nEntra nel canale ufficiale di Plus Messenger: https://telegram.me/plusmsn</string>
|
<string name="JoinChannel">
|
||||||
|
\n\nEntra nel canale ufficiale di Plus Messenger: https://telegram.me/plusmsn</string>
|
||||||
|
<string name="DownloadThemes">Scarica temi</string>
|
||||||
|
<string name="OfficialChannel">Canale ufficiale</string>
|
||||||
|
<string name="DialogsSettings">Avvisi</string>
|
||||||
|
<string name="ClickOnContactPic">Click sull\'immagine del contatto</string>
|
||||||
|
<string name="ClickOnGroupPic">Click sull\'immagine del gruppo</string>
|
||||||
|
<string name="ShowProfile">Profilo</string>
|
||||||
|
<string name="ShowPics">Immagini del profilo</string>
|
||||||
</resources>
|
</resources>
|
@ -947,7 +947,7 @@
|
|||||||
<string name="formatDateAtTime">%1$s om %2$s</string>
|
<string name="formatDateAtTime">%1$s om %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Plus Messenger voor Android is bijgewerkt. Nieuw in versie 3.2.0:\n\n- Nieuw, kanalen - een perfecte manier om berichten naar een ongelimiteerd publiek te versturen (vervangt de oude verzendlijsten).\n\nMeer over deze update: https://telegram.org/blog/channels</string>
|
<string name="updateText">Plus Messenger voor Android is bijgewerkt. Nieuw in versie 3.2.0:\n\n- Nieuw, kanalen - een perfecte manier om berichten naar een ongelimiteerd publiek te versturen (vervangt de oude verzendlijsten).\n\nMeer over deze update: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText"></string>-->
|
<string name="updatePlusText"></string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger voor Android</string>
|
<string name="TelegramForAndroid">Plus Messenger voor Android</string>
|
||||||
|
@ -947,10 +947,10 @@
|
|||||||
<string name="formatDateAtTime">%1$s às %2$s</string>
|
<string name="formatDateAtTime">%1$s às %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Plus Messenger para Android foi atualizado. Novidade na versão 3.2.0:\n\n- Introduzindo Canais – Uma grande nova maneira de transmitir suas mensagens, com audiência ilimitada (substitui as antigas Transmissões).\n\nMais sobre a atualização: https://telegram.org/blog/channels</string>
|
<string name="updateText">Plus Messenger para Android foi atualizado. Novidade na versão 3.2.0:\n\n- Introduzindo Canais – Uma grande nova maneira de transmitir suas mensagens, com audiência ilimitada (substitui as antigas Transmissões).\n\nMais sobre a atualização: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">
|
<string name="updatePlusText">
|
||||||
\n\nNovo na versão 3.1.3.3:\n\n- Adicionado opção Degradê para Cabeçalho e Cor das Colunas na Lista de Chats, Chat, Contatos, Perfil e Menu de Navegação\n- Correções de erros</string>-->
|
\n\nNovidades ne versão 3.2.2.1:\n\n- Agora o papel de parede pode ser alterado pela tela de chat\n- Melhorias no método de aplicação do papel de parede\n- Nome de usuário é copiado para o clipboard se clicado na tela de perfil\n- Correções de erros</string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||||
<string name="Theming">Personalização</string>
|
<string name="Theming">Personalização</string>
|
||||||
<string name="colorHexInvalid">Código de cor HEX inválido!</string>
|
<string name="colorHexInvalid">Código de cor HEX inválido!</string>
|
||||||
@ -1084,7 +1084,7 @@
|
|||||||
<string name="ShowContactAvatar">Mostrar Avatar do Contato</string>
|
<string name="ShowContactAvatar">Mostrar Avatar do Contato</string>
|
||||||
<string name="ShowOwnAvatar">Mostrar Próprio Avatar no Chat</string>
|
<string name="ShowOwnAvatar">Mostrar Próprio Avatar no Chat</string>
|
||||||
<string name="ShowOwnAvatarGroup">Mostrar Próprio Avatar em Grupos</string>
|
<string name="ShowOwnAvatarGroup">Mostrar Próprio Avatar em Grupos</string>
|
||||||
<string name="OwnAvatarAlignTop">Avatar Próprio no Topo</string>
|
<string name="OwnAvatarAlignTop">Alinhar Avatar Próprio no Topo</string>
|
||||||
<string name="DialogColor">Cor do Título/Botão de Diálogo</string>
|
<string name="DialogColor">Cor do Título/Botão de Diálogo</string>
|
||||||
<string name="ShowUsername">Exibir Nome de Usuário</string>
|
<string name="ShowUsername">Exibir Nome de Usuário</string>
|
||||||
<string name="DisableAudioStop">Não Parar Áudio</string>
|
<string name="DisableAudioStop">Não Parar Áudio</string>
|
||||||
@ -1098,4 +1098,7 @@
|
|||||||
<string name="RowGradientTLBR">Superior-Esquerda Inferior-Direita</string>
|
<string name="RowGradientTLBR">Superior-Esquerda Inferior-Direita</string>
|
||||||
<string name="RowGradientBLTR">Inferior-Esquerda Superior-Direita</string>
|
<string name="RowGradientBLTR">Inferior-Esquerda Superior-Direita</string>
|
||||||
<string name="RowGradientList">Aplicar degradê para a lista de fundo</string>
|
<string name="RowGradientList">Aplicar degradê para a lista de fundo</string>
|
||||||
|
<string name="Copied">%s copiado para o clipboard</string>
|
||||||
|
<string name="JoinChannel">
|
||||||
|
\n\nJunte-se ao canal oficial do Plus Messenger: https://telegram.me/plusmsn</string>
|
||||||
</resources>
|
</resources>
|
@ -950,7 +950,7 @@
|
|||||||
<string name="formatDateAtTime">%1$s às %2$s</string>
|
<string name="formatDateAtTime">%1$s às %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Plus Messenger para Android foi atualizado. Novidade na versão 3.2.0:\n\n- Introduzindo Canais – Uma grande nova maneira de transmitir suas mensagens, com audiência ilimitada (substitui as antigas Transmissões).\n\nMais sobre a atualização: https://telegram.org/blog/channels</string>
|
<string name="updateText">Plus Messenger para Android foi atualizado. Novidade na versão 3.2.0:\n\n- Introduzindo Canais – Uma grande nova maneira de transmitir suas mensagens, com audiência ilimitada (substitui as antigas Transmissões).\n\nMais sobre a atualização: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||||
<string name="Theming">Temas</string>
|
<string name="Theming">Temas</string>
|
||||||
|
@ -947,10 +947,10 @@
|
|||||||
<string name="formatDateAtTime">%1$s в %2$s</string>
|
<string name="formatDateAtTime">%1$s в %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Telegram для Android обновлён. Новое в версии 3.2.0:\n\n- Представляем Каналы – новый отличный способ транслировать свои сообщения неограниченной аудитории (заменяют старые списки рассылок).\n\nЧитать больше: https://telegram.org/blog/channels</string>
|
<string name="updateText">Telegram для Android обновлён. Новое в версии 3.2.0:\n\n- Представляем Каналы – новый отличный способ транслировать свои сообщения неограниченной аудитории (заменяют старые списки рассылок).\n\nЧитать больше: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">
|
<string name="updatePlusText">
|
||||||
\n\nНовое в версии 3.2.2.1:\n\n- Обои можно изменить не покидая экран чата\n- Улучшен способ использования обоев из тем\n- Имя пользователя копируется в буфер обмена при касании на экране профиля\n- Исправление ошибок</string>
|
\n\nНовое в версии 3.2.2.2:\n\n- Обои можно изменить не покидая экран чата\n- Улучшен способ использования обоев из тем\n- Имя пользователя копируется в буфер обмена при касании на экране профиля\n- Исправление ошибок</string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger для Android</string>
|
<string name="TelegramForAndroid">Plus Messenger для Android</string>
|
||||||
<string name="Theming">Кастомизация</string>
|
<string name="Theming">Кастомизация</string>
|
||||||
<string name="colorHexInvalid">Неверный hex-код цвета!</string>
|
<string name="colorHexInvalid">Неверный hex-код цвета!</string>
|
||||||
@ -1099,4 +1099,6 @@
|
|||||||
<string name="RowGradientBLTR">Снизу налево, сверху направо</string>
|
<string name="RowGradientBLTR">Снизу налево, сверху направо</string>
|
||||||
<string name="RowGradientList">Применить градиент к фону списка</string>
|
<string name="RowGradientList">Применить градиент к фону списка</string>
|
||||||
<string name="Copied">%s скопировано в буфер обмена</string>
|
<string name="Copied">%s скопировано в буфер обмена</string>
|
||||||
|
<string name="JoinChannel">
|
||||||
|
\n\nПрисоединяйтесь к официальному каналу Plus Messenger: https://telegram.me/plusmsn</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -830,10 +830,10 @@
|
|||||||
<string name="formatDateAtTime">%1$s %2$s</string>
|
<string name="formatDateAtTime">%1$s %2$s</string>
|
||||||
<!--update text--><!--
|
<!--update text--><!--
|
||||||
<string name="updateText">Plus Messenger için temalar indirin ve uygulayın. Hergün yeni temalar ekleniyor:\n https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
|
<string name="updateText">Plus Messenger için temalar indirin ve uygulayın. Hergün yeni temalar ekleniyor:\n https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">
|
<string name="updatePlusText">
|
||||||
\n\n3.1.1.9\'daki Yenilikler\n\n- Yeni iOS baloncuğu eklendi (Edwin Macalopu\'ya teşekkürler)\n- Gruplarda kullanıcı adı iler beraber üye ismini birlikte gösteren yeni MOD eklendi\n- Grup profilinde admin gösterilir. Admin kendi ikonuna sahiptir\n- Sol menüde avatar,isim ve telefonu ortalamayı sağlayan yeni MOD eklendi\n- Sohbete yakınlık sensörü eylemlerini kapatmayı ve çalan sesleri devam ettirmeyi sağlayan yeni MOD eklendi \n- Profil ekranına ikon renklerini değiştirmeyi sağlayan yeni MOD eklendi\n- Hata düzeltmeleri \n\n Plus Messenger için temalar: https://play.google.com/store/apps/details?id=es.rafalense.themes</string>-->
|
\n\n3.2.2.1\'deki Yenilikler:\n\n- Artık duvarkağıdı direkt olarak sohbet ekranından değişebiliyor\n- Tema duvarkağıtlarının uygulama yönteminde geliştirmeler yapıldı\n- Eğer profil ekranında işaretlenmişse kullanıcı adı kopyalanabilir\n- Hata düzeltmeleri</string>-->
|
||||||
<string name="TelegramForAndroid">Android için Plus Messenger</string>
|
<string name="TelegramForAndroid">Android için Plus Messenger</string>
|
||||||
<string name="Theming">Tema</string>
|
<string name="Theming">Tema</string>
|
||||||
<string name="colorHexInvalid">Geçersiz renk hex kodu!</string>
|
<string name="colorHexInvalid">Geçersiz renk hex kodu!</string>
|
||||||
@ -878,8 +878,8 @@
|
|||||||
<string name="EditTextSize">Yazı Giriş Boyutu</string>
|
<string name="EditTextSize">Yazı Giriş Boyutu</string>
|
||||||
<string name="EditTextBGColor">Yazı Giriş Arkaplan Rengi</string>
|
<string name="EditTextBGColor">Yazı Giriş Arkaplan Rengi</string>
|
||||||
<string name="EmojiViewBGColor">Emoji Arkaplan Rengi</string>
|
<string name="EmojiViewBGColor">Emoji Arkaplan Rengi</string>
|
||||||
<string name="EmojiViewTabColor">seçilmiş surat sekme rengi</string>
|
<string name="EmojiViewTabColor">Emoji seçili sekme rengi</string>
|
||||||
<string name="EmojiViewTabIconColor">Surat simgesinin rengi</string>
|
<string name="EmojiViewTabIconColor">Emoji sekmesi ikon rengi</string>
|
||||||
<string name="OnlineColor">Çevrimiçi Rengi</string>
|
<string name="OnlineColor">Çevrimiçi Rengi</string>
|
||||||
<string name="ChatMusic">Müzik</string>
|
<string name="ChatMusic">Müzik</string>
|
||||||
<string name="SaveTheme">Temayı Kaydet</string>
|
<string name="SaveTheme">Temayı Kaydet</string>
|
||||||
@ -982,4 +982,6 @@
|
|||||||
<string name="RowGradientBLTR">Alt Sol Üst Sağ</string>
|
<string name="RowGradientBLTR">Alt Sol Üst Sağ</string>
|
||||||
<string name="RowGradientList">Arkaplana gradyan uygula</string>
|
<string name="RowGradientList">Arkaplana gradyan uygula</string>
|
||||||
<string name="Copied">%s panoya kopyalandı</string>
|
<string name="Copied">%s panoya kopyalandı</string>
|
||||||
|
<string name="JoinChannel">
|
||||||
|
\n\nPlus Messenger resmi kanalına katılın: https://telegram.me/plusmsn</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -897,7 +897,7 @@
|
|||||||
<string name="formatDateAtTime">%1$s 的 %2$s</string>
|
<string name="formatDateAtTime">%1$s 的 %2$s</string>
|
||||||
<!--update text--><!--
|
<!--update text--><!--
|
||||||
<string name="updateText">Android 版的 Plus Messenger 已更新。最新版本 3.1 的新增功能有:\n\n- 在特定聊天中搜索消息内容。\n- 全新设计的附件选择菜单。从附件选择菜单中直接发送联系人资料或语音文件。\n- 改进的程序内媒体播放功能 (YouTube, Vimoe, Soundcloud 等), 新播放器适用于大型语音文件。\n\n更多更新请查看:\nhttps://telegram.org/blog/search-and-media</string>-->
|
<string name="updateText">Android 版的 Plus Messenger 已更新。最新版本 3.1 的新增功能有:\n\n- 在特定聊天中搜索消息内容。\n- 全新设计的附件选择菜单。从附件选择菜单中直接发送联系人资料或语音文件。\n- 改进的程序内媒体播放功能 (YouTube, Vimoe, Soundcloud 等), 新播放器适用于大型语音文件。\n\n更多更新请查看:\nhttps://telegram.org/blog/search-and-media</string>-->
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">\n\n在 3.0.1.3 版的新功能:\n\n- 添加设置使用手机字体选项\n- 添加聊天/群组聊天内搜索聊天记录选项\n- 在设置/主题调整界面里添加标头颜色、标题颜色和标头图标颜色的设置\n- 添加主界面群组图标颜色的设置\n- 添加导航栏中头像大小的设置\n- 错误修复</string>-->
|
<string name="updatePlusText">\n\n在 3.0.1.3 版的新功能:\n\n- 添加设置使用手机字体选项\n- 添加聊天/群组聊天内搜索聊天记录选项\n- 在设置/主题调整界面里添加标头颜色、标题颜色和标头图标颜色的设置\n- 添加主界面群组图标颜色的设置\n- 添加导航栏中头像大小的设置\n- 错误修复</string>-->
|
||||||
<string name="TelegramForAndroid">Plus Messenger for Android</string>
|
<string name="TelegramForAndroid">Plus Messenger for Android</string>
|
||||||
@ -944,7 +944,8 @@
|
|||||||
<string name="EditTextSize">输入栏字体大小</string>
|
<string name="EditTextSize">输入栏字体大小</string>
|
||||||
<string name="EditTextBGColor">输入栏背景颜色</string>
|
<string name="EditTextBGColor">输入栏背景颜色</string>
|
||||||
<string name="EmojiViewBGColor">表情背景颜色</string>
|
<string name="EmojiViewBGColor">表情背景颜色</string>
|
||||||
<string name="EmojiViewTabColor">表情标签颜色</string>
|
<string name="EmojiViewTabColor">Emoji选择栏颜色</string>
|
||||||
|
<string name="EmojiViewTabIconColor">Emoji选择栏颜色</string>
|
||||||
<string name="OnlineColor">在线中颜色</string>
|
<string name="OnlineColor">在线中颜色</string>
|
||||||
<string name="ChatMusic">音乐</string>
|
<string name="ChatMusic">音乐</string>
|
||||||
<string name="SaveTheme">保存主题</string>
|
<string name="SaveTheme">保存主题</string>
|
||||||
@ -1004,7 +1005,7 @@
|
|||||||
<string name="KeepOriginalFilenameHelp">使用“名称_日期”格式保存文件,而不单只是数字序号</string>
|
<string name="KeepOriginalFilenameHelp">使用“名称_日期”格式保存文件,而不单只是数字序号</string>
|
||||||
<string name="AvatarSize">头像大小</string>
|
<string name="AvatarSize">头像大小</string>
|
||||||
<string name="AvatarAlignTop">对齐头像到顶部</string>
|
<string name="AvatarAlignTop">对齐头像到顶部</string>
|
||||||
<string name="AvatarMarginLeft">头像左边距</string>
|
<string name="AvatarMarginLeft">头像边距</string>
|
||||||
<string name="GroupNameColor">群组名称颜色</string>
|
<string name="GroupNameColor">群组名称颜色</string>
|
||||||
<string name="GroupNameSize">群组名称大小</string>
|
<string name="GroupNameSize">群组名称大小</string>
|
||||||
<string name="UnknownNameColor">姓名颜色(手机号码未知)</string>
|
<string name="UnknownNameColor">姓名颜色(手机号码未知)</string>
|
||||||
@ -1026,4 +1027,27 @@
|
|||||||
<string name="UseDeviceFont">使用设备自带字体</string>
|
<string name="UseDeviceFont">使用设备自带字体</string>
|
||||||
<string name="AppWillRestart">Plus Messenger 将重启</string>
|
<string name="AppWillRestart">Plus Messenger 将重启</string>
|
||||||
<string name="GroupIconColor">群组图标颜色</string>
|
<string name="GroupIconColor">群组图标颜色</string>
|
||||||
|
<string name="SharedContactNameColor">已分享的联系人名称颜色</string>
|
||||||
|
<string name="AttachBGColor">附件背景颜色</string>
|
||||||
|
<string name="AttachTextColor">附件文字颜色</string>
|
||||||
|
<string name="ShowContactAvatar">在聊天界面显示联系人头像</string>
|
||||||
|
<string name="ShowOwnAvatar">在聊天界面显示自己的头像</string>
|
||||||
|
<string name="ShowOwnAvatarGroup">在群组界面显示自己的头像</string>
|
||||||
|
<string name="OwnAvatarAlignTop">对齐自己的头像到顶部</string>
|
||||||
|
<string name="DialogColor">对话框的标题/按钮颜色</string>
|
||||||
|
<string name="ShowUsername">同时显示用户名和昵称</string>
|
||||||
|
<string name="DisableAudioStop">不停止语音</string>
|
||||||
|
<string name="ListDividerColor">列表分隔线颜色</string>
|
||||||
|
<string name="CenterAvatar">居中头像、名称和电话号码</string>
|
||||||
|
<string name="RowGradient">渐变</string>
|
||||||
|
<string name="RowGradientColor">渐变颜色</string>
|
||||||
|
<string name="RowGradientDisabled">禁用</string>
|
||||||
|
<string name="RowGradientTopBottom">上下</string>
|
||||||
|
<string name="RowGradientLeftRight">左右</string>
|
||||||
|
<string name="RowGradientTLBR">左上右下</string>
|
||||||
|
<string name="RowGradientBLTR">左下右上</string>
|
||||||
|
<string name="RowGradientList">应用渐变色到列表背景</string>
|
||||||
|
<string name="Copied">%s 已复制到剪贴板</string>
|
||||||
|
<string name="JoinChannel">
|
||||||
|
\n\n加入 Plus Messenger 官方频道: https://telegram.me/plusmsn</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -947,7 +947,7 @@
|
|||||||
<string name="formatDateAtTime">於時間 %1$s %2$s</string>
|
<string name="formatDateAtTime">於時間 %1$s %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Android 版的 Telegram 已經更新。在版本 3.2.0 中的新功能:\n\n- 引進頻道 – 用來將您的訊息向無限觀眾廣播的新方式 (取代舊式的廣播)。\n\n了解更多:https://telegram.org/blog/channels</string>
|
<string name="updateText">Android 版的 Telegram 已經更新。在版本 3.2.0 中的新功能:\n\n- 引進頻道 – 用來將您的訊息向無限觀眾廣播的新方式 (取代舊式的廣播)。\n\n了解更多:https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+--><!--
|
<!--Telegram+--><!--
|
||||||
<string name="updatePlusText">
|
<string name="updatePlusText">
|
||||||
\n\n在 3.1.1.9 版的新功能:\n\n- 新的模組在聊天畫面顯示擁有的大頭照\n- 加入新的泡泡邊緣 (感謝 Edwin Macalopu)\n- 錯誤修復</string>-->
|
\n\n在 3.1.1.9 版的新功能:\n\n- 新的模組在聊天畫面顯示擁有的大頭照\n- 加入新的泡泡邊緣 (感謝 Edwin Macalopu)\n- 錯誤修復</string>-->
|
||||||
@ -1085,4 +1085,8 @@
|
|||||||
<string name="ShowOwnAvatarGroup">在群組畫面中顯示擁有的大頭照</string>
|
<string name="ShowOwnAvatarGroup">在群組畫面中顯示擁有的大頭照</string>
|
||||||
<string name="OwnAvatarAlignTop">對齊擁有的大頭照到頂端</string>
|
<string name="OwnAvatarAlignTop">對齊擁有的大頭照到頂端</string>
|
||||||
<string name="DialogColor">對話框標題/按鈕顏色</string>
|
<string name="DialogColor">對話框標題/按鈕顏色</string>
|
||||||
|
<string name="ShowUsername">顯示用戶名稱及成員名稱</string>
|
||||||
|
<string name="DisableAudioStop">不要停止音訊</string>
|
||||||
|
<string name="ListDividerColor">選單分隔線顏色</string>
|
||||||
|
<string name="CenterAvatar">將個人照片、姓名和電話號碼置中</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -948,9 +948,9 @@
|
|||||||
<string name="formatDateAtTime">%1$s at %2$s</string>
|
<string name="formatDateAtTime">%1$s at %2$s</string>
|
||||||
<!--update text-->
|
<!--update text-->
|
||||||
<string name="updateText">Telegram for Android has been updated. New in version 3.2.0:\n\n- Introducing Channels – a great new way to broadcast your messages to unlimited audiences (replaces old Broadcasts).\n\nRead more: https://telegram.org/blog/channels</string>
|
<string name="updateText">Telegram for Android has been updated. New in version 3.2.0:\n\n- Introducing Channels – a great new way to broadcast your messages to unlimited audiences (replaces old Broadcasts).\n\nRead more: https://telegram.org/blog/channels</string>
|
||||||
<string name="updateBuild">630</string>
|
<string name="updateBuild">632</string>
|
||||||
<!--Telegram+-->
|
<!--Telegram+-->
|
||||||
<string name="updatePlusText">\n\nNew in version 3.2.2.1:\n\n- Now wallpaper can be changed directly from chat screen\n- Improved way of applying themes\' wallpapers\n- Username copied to clipboard if clicked in profile screen\n- Bug fixes</string>
|
<string name="updatePlusText">\n\nNew in version 3.2.2.2:\n\n- New option in settings to open profile/profile pics when clicking user/group pic in main screen\n- Added gradient option to chat background color\n- Added option to forward link without quoting\n- Added link to official channel in menu\n- Bug fixes</string>
|
||||||
<string name="TelegramForAndroid">Plus Messenger for Android</string>
|
<string name="TelegramForAndroid">Plus Messenger for Android</string>
|
||||||
<string name="Theming">Theming</string>
|
<string name="Theming">Theming</string>
|
||||||
<string name="colorHexInvalid">Invalid color hex code!</string>
|
<string name="colorHexInvalid">Invalid color hex code!</string>
|
||||||
@ -1100,4 +1100,11 @@
|
|||||||
<string name="RowGradientList">Apply gradient to list background</string>
|
<string name="RowGradientList">Apply gradient to list background</string>
|
||||||
<string name="Copied">%s copied to clipboard</string>
|
<string name="Copied">%s copied to clipboard</string>
|
||||||
<string name="JoinChannel">\n\nJoin Plus Messenger official channel: https://telegram.me/plusmsn</string>
|
<string name="JoinChannel">\n\nJoin Plus Messenger official channel: https://telegram.me/plusmsn</string>
|
||||||
|
<string name="DownloadThemes">Download themes</string>
|
||||||
|
<string name="OfficialChannel">Official channel</string>
|
||||||
|
<string name="DialogsSettings">Dialogs</string>
|
||||||
|
<string name="ClickOnContactPic">Click on contact pic</string>
|
||||||
|
<string name="ClickOnGroupPic">Click on group pic</string>
|
||||||
|
<string name="ShowProfile">Profile</string>
|
||||||
|
<string name="ShowPics">Profile pics</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user