- New bubble iOS added (thanks to Edwin Macalopu)
- New MOD to show username together with member name in groups - Shows group admin in group profile. Admin user has its own icon - New MOD to center avatar, name and phone in navigation menu - New MOD to keep playing audio in chat disabling proximity sensor action - New MOD to change icons color in profile screen - Bug fixes
This commit is contained in:
parent
b265320281
commit
3bc33bf670
@ -82,8 +82,8 @@ android {
|
||||
applicationId "org.telegram.plus"
|
||||
minSdkVersion 8
|
||||
targetSdkVersion 22
|
||||
versionCode 586
|
||||
versionName "3.1.1.6"
|
||||
versionCode 590
|
||||
versionName "3.1.1.9"
|
||||
multiDexEnabled true
|
||||
}
|
||||
}
|
||||
|
@ -1809,14 +1809,18 @@ public class ContactsController {
|
||||
}
|
||||
|
||||
public static String formatName(String firstName, String lastName) {
|
||||
/*if ((firstName == null || firstName.length() == 0) && (lastName == null || lastName.length() == 0)) {
|
||||
if ((firstName == null || firstName.length() == 0) && (lastName == null || lastName.length() == 0)) {
|
||||
return LocaleController.getString("HiddenName", R.string.HiddenName);
|
||||
}*/
|
||||
}
|
||||
if (firstName != null) {
|
||||
firstName = firstName.trim();
|
||||
//firstName = firstName.replaceAll("[^\\x00-\\x7F]", "");
|
||||
//firstName = firstName.trim().replaceAll(" +", " ");
|
||||
}
|
||||
if (lastName != null) {
|
||||
lastName = lastName.trim();
|
||||
//lastName = lastName.replaceAll("[^\\x00-\\x7F]", "");
|
||||
//lastName = lastName.trim().replaceAll(" +", " ");
|
||||
}
|
||||
StringBuilder result = new StringBuilder((firstName != null ? firstName.length() : 0) + (lastName != null ? lastName.length() : 0) + 1);
|
||||
if (LocaleController.nameDisplayOrder == 1) {
|
||||
|
@ -1269,6 +1269,8 @@ public class MediaController implements NotificationCenter.NotificationCenterDel
|
||||
}
|
||||
|
||||
private boolean isNearToSensor(float value) {
|
||||
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||
if(preferences.getBoolean("disableAudioStop", false))return false;
|
||||
return value < 5.0f && value != proximitySensor.getMaximumRange();
|
||||
}
|
||||
|
||||
|
@ -192,6 +192,7 @@ public class ContactsAdapter extends BaseSectionsAdapter {
|
||||
int cColorGrey = themePrefs.getInt("contactsNameColor", 0xff737373);
|
||||
int cColorBlack = themePrefs.getInt("contactsNameColor", 0xff000000);
|
||||
int iconsColor = themePrefs.getInt("contactsIconsColor", 0xff737373);
|
||||
|
||||
if (type == 4) {
|
||||
if (convertView == null) {
|
||||
convertView = new DividerCell(mContext);
|
||||
@ -257,15 +258,12 @@ public class ContactsAdapter extends BaseSectionsAdapter {
|
||||
} else if (type == 0) {
|
||||
if (convertView == null) {
|
||||
convertView = new UserCell(mContext, 58);
|
||||
//((UserCell) convertView).setStatusColors(0xffa8a8a8, 0xff3b84c0);
|
||||
((UserCell) convertView).setStatusColors(themePrefs.getInt("contactsStatusColor", 0xffa8a8a8), themePrefs.getInt("contactsOnlineColor", AndroidUtilities.getIntDarkerColor("themeColor", 0x15)));
|
||||
((UserCell) convertView).setNameColor(cColorBlack);
|
||||
((UserCell) convertView).setAvatarRadius(themePrefs.getInt("contactsAvatarRadius", 32));
|
||||
convertView.setTag("Contacts");
|
||||
}
|
||||
|
||||
ArrayList<TLRPC.TL_contact> arr = ContactsController.getInstance().usersSectionsDict.get(ContactsController.getInstance().sortedUsersSectionsArray.get(section - (onlyUsers && !isAdmin ? 0 : 1)));
|
||||
TLRPC.User user = MessagesController.getInstance().getUser(arr.get(position).user_id);
|
||||
((UserCell)convertView).setData(user, null, null, 0);
|
||||
((UserCell) convertView).setData(user, null, null, 0);
|
||||
if (checkedMap != null) {
|
||||
((UserCell) convertView).setChecked(checkedMap.containsKey(user.id), !scrolling && Build.VERSION.SDK_INT > 10);
|
||||
}
|
||||
@ -276,6 +274,12 @@ public class ContactsAdapter extends BaseSectionsAdapter {
|
||||
ViewProxy.setAlpha(convertView, 1.0f);
|
||||
}
|
||||
}
|
||||
//((UserCell) convertView).setStatusColors(0xffa8a8a8, 0xff3b84c0);
|
||||
//((UserCell) convertView).setStatusColors(themePrefs.getInt("contactsStatusColor", 0xffa8a8a8), themePrefs.getInt("contactsOnlineColor", AndroidUtilities.getIntDarkerColor("themeColor", 0x15)));
|
||||
//((UserCell) convertView).setNameColor(cColorBlack);
|
||||
//((UserCell) convertView).setNameSize(themePrefs.getInt("contactsNameSize", 17));
|
||||
//((UserCell) convertView).setStatusSize(themePrefs.getInt("contactsStatusSize", 14));
|
||||
//((UserCell) convertView).setAvatarRadius(themePrefs.getInt("contactsAvatarRadius", 32));
|
||||
}
|
||||
parent.setBackgroundColor(themePrefs.getInt("contactsRowColor", 0xffffffff)); //Plus
|
||||
return convertView;
|
||||
|
@ -97,7 +97,7 @@ public class DrawerLayoutAdapter extends BaseAdapter {
|
||||
} else if (type == 2) {
|
||||
if (view == null) {
|
||||
view = new DividerCell(mContext);
|
||||
view.setTag("drawerListColor");
|
||||
view.setTag("drawerListDividerColor");
|
||||
}
|
||||
} else if (type == 3) {
|
||||
if (view == null) {
|
||||
|
@ -437,7 +437,14 @@ public class ChatBaseCell extends BaseCell {
|
||||
|
||||
if (drawName && isChat && currentUser != null && !currentMessageObject.isOut()) {
|
||||
currentNameString = UserObject.getUserName(currentUser);
|
||||
|
||||
String currentUsernameString = currentUser.username;
|
||||
|
||||
nameWidth = getMaxNameWidth();
|
||||
if(currentUsernameString != null && AndroidUtilities.getBoolPref("chatShowUsernameCheck")){
|
||||
currentNameString = currentNameString.replaceAll("\\p{C}", " ");
|
||||
currentNameString = currentNameString.trim().replaceAll(" +", " ") + " [@"+currentUsernameString+"]";
|
||||
}
|
||||
|
||||
CharSequence nameStringFinal = TextUtils.ellipsize(currentNameString.replace("\n", " "), namePaint, nameWidth - AndroidUtilities.dp(12), TextUtils.TruncateAt.END);
|
||||
nameLayout = new StaticLayout(nameStringFinal, namePaint, nameWidth, Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false);
|
||||
|
@ -554,7 +554,9 @@ public class ChatMediaCell extends ChatBaseCell implements MediaController.FileD
|
||||
|
||||
if(isChat){
|
||||
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 = String.format("%s %s", fromUser.first_name, fromUser.last_name);
|
||||
String senderName = "";
|
||||
if (UserObject.isDeleted(fromUser)) {
|
||||
senderName = "Deleted";
|
||||
@ -564,7 +566,7 @@ public class ChatMediaCell extends ChatBaseCell implements MediaController.FileD
|
||||
} else {
|
||||
senderName = fromUser.last_name;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
infoWidth2 = Math.min(maxWidth, (int) Math.ceil(senderPaint.measureText(senderName)));
|
||||
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);
|
||||
@ -602,7 +604,10 @@ public class ChatMediaCell extends ChatBaseCell implements MediaController.FileD
|
||||
infoOffset2 = ResourceLoader.videoIconDrawable.getIntrinsicWidth() + AndroidUtilities.dp(5);
|
||||
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 = String.format("%s %s", fromUser.first_name, fromUser.last_name);
|
||||
|
||||
String senderName = UserObject.getUserName(fromUser);
|
||||
|
||||
infoWidth2 = (int) Math.ceil(infoPaint.measureText(currentInfoString));
|
||||
//infoWidth = (int) Math.ceil(senderPaint.measureText(senderName));
|
||||
infoWidth = Math.max(infoWidth2, (int) Math.ceil(senderPaint.measureText(senderName)));
|
||||
@ -617,6 +622,16 @@ public class ChatMediaCell extends ChatBaseCell implements MediaController.FileD
|
||||
}//Plus: member name in photos
|
||||
else if (messageObject.type == 1) { //PHOTO
|
||||
TLRPC.User fromUser = MessagesController.getInstance().getUser(messageObject.messageOwner.from_id);
|
||||
|
||||
String senderName = UserObject.getUserName(fromUser);
|
||||
/*
|
||||
String currentUsernameString = fromUser.username;
|
||||
|
||||
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";
|
||||
@ -626,7 +641,7 @@ public class ChatMediaCell extends ChatBaseCell implements MediaController.FileD
|
||||
} else if (fromUser.last_name != null && fromUser.last_name.length() > 0){
|
||||
senderName = fromUser.last_name;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
if (currentInfoString == null || !currentInfoString.equals(senderName)) {
|
||||
currentInfoString = senderName;
|
||||
infoOffset = 0;
|
||||
@ -1173,11 +1188,15 @@ public class ChatMediaCell extends ChatBaseCell implements MediaController.FileD
|
||||
}
|
||||
|
||||
radialProgress.onDraw(canvas);
|
||||
try{
|
||||
if(themePrefs.getBoolean("chatMemberColorCheck", false)){
|
||||
senderPaint.setColor(themePrefs.getInt("chatMemberColor", AndroidUtilities.getIntDarkerColor("themeColor", 0x15)));
|
||||
}else{
|
||||
senderPaint.setColor(AvatarDrawable.getNameColorForId(MessagesController.getInstance().getUser(currentMessageObject.messageOwner.from_id).id));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
FileLog.e("tmessages", e);
|
||||
}
|
||||
if (currentMessageObject.type == 1 || currentMessageObject.type == 3) {//1: photo 3: video
|
||||
if (nameLayout != null) {
|
||||
canvas.save();
|
||||
|
@ -32,8 +32,8 @@ public class DividerCell extends BaseCell {
|
||||
setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), AndroidUtilities.dp(16) + 1);
|
||||
String key = getTag() != null ? getTag().toString() : null;
|
||||
if(key != null){
|
||||
int color = AndroidUtilities.getIntDef(key, 0xffffffff);
|
||||
paint.setColor(color == 0xffffffff ? 0xffd9d9d9 : color);
|
||||
int color = AndroidUtilities.getIntDef(key, 0xffd9d9d9);
|
||||
paint.setColor(color);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -65,8 +65,13 @@ public class DrawerProfileCell extends FrameLayout implements PhotoViewer.PhotoV
|
||||
avatarImageView.getImageReceiver().setRoundRadius(AndroidUtilities.dp(32));
|
||||
|
||||
int aSize = themePrefs.getInt("drawerAvatarSize", 64);
|
||||
boolean centerAvatar = themePrefs.getBoolean("drawerCenterAvatarCheck", false);
|
||||
//addView(avatarImageView, LayoutHelper.createFrame(64, 64, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 0, 67));
|
||||
if(!centerAvatar){
|
||||
addView(avatarImageView, LayoutHelper.createFrame(aSize, aSize, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 0, 67));
|
||||
}else{
|
||||
addView(avatarImageView, LayoutHelper.createFrame(aSize, aSize, Gravity.CENTER | Gravity.BOTTOM, 0, 0, 0, 67));
|
||||
}
|
||||
|
||||
final Activity activity = (Activity) context;
|
||||
avatarImageView.setOnClickListener(new View.OnClickListener() {
|
||||
@ -89,8 +94,13 @@ public class DrawerProfileCell extends FrameLayout implements PhotoViewer.PhotoV
|
||||
nameTextView.setLines(1);
|
||||
nameTextView.setMaxLines(1);
|
||||
nameTextView.setSingleLine(true);
|
||||
if(!centerAvatar){
|
||||
nameTextView.setGravity(Gravity.LEFT);
|
||||
addView(nameTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 16, 28));
|
||||
}else{
|
||||
nameTextView.setGravity(Gravity.CENTER);
|
||||
addView(nameTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.CENTER | Gravity.BOTTOM, 0, 0, 0, 28));
|
||||
}
|
||||
|
||||
phoneTextView = new TextView(context);
|
||||
phoneTextView.setTextColor(0xffc2e5ff);
|
||||
@ -98,15 +108,36 @@ public class DrawerProfileCell extends FrameLayout implements PhotoViewer.PhotoV
|
||||
phoneTextView.setLines(1);
|
||||
phoneTextView.setMaxLines(1);
|
||||
phoneTextView.setSingleLine(true);
|
||||
if(!centerAvatar){
|
||||
phoneTextView.setGravity(Gravity.LEFT);
|
||||
addView(phoneTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 16, 9));
|
||||
}else{
|
||||
phoneTextView.setGravity(Gravity.CENTER);
|
||||
addView(phoneTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.CENTER | Gravity.BOTTOM, 0, 0, 0, 9));
|
||||
}
|
||||
}
|
||||
|
||||
public void refreshAvatar(int size, int radius){
|
||||
//SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
removeView(avatarImageView);
|
||||
removeView(nameTextView);
|
||||
removeView(phoneTextView);
|
||||
avatarImageView.getImageReceiver().setRoundRadius(AndroidUtilities.dp(radius));
|
||||
|
||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
if(!themePrefs.getBoolean("drawerCenterAvatarCheck", false)){
|
||||
addView(avatarImageView, LayoutHelper.createFrame(size, size, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 0, 67));
|
||||
nameTextView.setGravity(Gravity.LEFT);
|
||||
addView(nameTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 16, 28));
|
||||
phoneTextView.setGravity(Gravity.LEFT);
|
||||
addView(phoneTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.LEFT | Gravity.BOTTOM, 16, 0, 16, 9));
|
||||
}else{
|
||||
addView(avatarImageView, LayoutHelper.createFrame(size, size, Gravity.CENTER | Gravity.BOTTOM, 0, 0, 0, 67));
|
||||
nameTextView.setGravity(Gravity.CENTER);
|
||||
addView(nameTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.CENTER | Gravity.BOTTOM, 0, 0, 0, 28));
|
||||
phoneTextView.setGravity(Gravity.CENTER);
|
||||
addView(phoneTextView, LayoutHelper.createFrame(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, Gravity.CENTER | Gravity.BOTTOM, 0, 0, 0, 9));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -10,6 +10,7 @@ package org.telegram.ui.Cells;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.Gravity;
|
||||
import android.widget.FrameLayout;
|
||||
@ -105,6 +106,31 @@ public class UserCell extends FrameLayout {
|
||||
update(0);
|
||||
}
|
||||
|
||||
private void updateTheme(){
|
||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
String tag = getTag() != null ? getTag().toString() : "";
|
||||
if(tag.contains("Contacts")){
|
||||
setStatusColors(themePrefs.getInt("contactsStatusColor", 0xffa8a8a8), themePrefs.getInt("contactsOnlineColor", AndroidUtilities.getIntDarkerColor("themeColor", 0x15)));
|
||||
nameColor = themePrefs.getInt("contactsNameColor", 0xff212121);
|
||||
nameTextView.setTextColor(nameColor);
|
||||
nameTextView.setTextSize(themePrefs.getInt("contactsNameSize", 17));
|
||||
setStatusSize(themePrefs.getInt("contactsStatusSize", 14));
|
||||
setAvatarRadius(themePrefs.getInt("contactsAvatarRadius", 32));
|
||||
}else if(tag.contains("Profile")){
|
||||
setStatusColors(themePrefs.getInt("profileSummaryColor", 0xff8a8a8a), AndroidUtilities.getIntDarkerColor("themeColor", -0x40));
|
||||
nameColor = themePrefs.getInt("profileTitleColor", 0xff212121);
|
||||
nameTextView.setTextColor(nameColor);
|
||||
nameTextView.setTextSize(17);
|
||||
setStatusSize(14);
|
||||
setAvatarRadius(32);
|
||||
if(currentDrawable != 0) {
|
||||
int dColor = themePrefs.getInt("profileIconsColor", 0xff737373);
|
||||
Drawable d = getResources().getDrawable(currentDrawable);
|
||||
d.setColorFilter(dColor, PorterDuff.Mode.SRC_IN);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setChecked(boolean checked, boolean animated) {
|
||||
if (checkBox.getVisibility() != VISIBLE) {
|
||||
checkBox.setVisibility(VISIBLE);
|
||||
@ -131,7 +157,7 @@ public class UserCell extends FrameLayout {
|
||||
if (currentUser.photo != null) {
|
||||
photo = currentUser.photo.photo_small;
|
||||
}
|
||||
|
||||
updateTheme();
|
||||
if (mask != 0) {
|
||||
boolean continueUpdate = false;
|
||||
if ((mask & MessagesController.UPDATE_MASK_AVATAR) != 0) {
|
||||
@ -158,7 +184,7 @@ public class UserCell extends FrameLayout {
|
||||
return;
|
||||
}
|
||||
}
|
||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
////SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
avatarDrawable.setInfo(currentUser);
|
||||
if (currentUser.status != null) {
|
||||
lastStatus = currentUser.status.expires;
|
||||
@ -172,8 +198,8 @@ public class UserCell extends FrameLayout {
|
||||
} else {
|
||||
lastName = newName == null ? UserObject.getUserName(currentUser) : newName;
|
||||
nameTextView.setText(lastName);
|
||||
nameTextView.setTextColor(nameColor);
|
||||
nameTextView.setTextSize(themePrefs.getInt("contactsNameSize", 17));
|
||||
////nameTextView.setTextColor(nameColor);
|
||||
////nameTextView.setTextSize(themePrefs.getInt("contactsNameSize", 17));
|
||||
}
|
||||
if (currrntStatus != null) {
|
||||
statusTextView.setTextColor(statusColor);
|
||||
@ -200,8 +226,10 @@ public class UserCell extends FrameLayout {
|
||||
if (imageView.getVisibility() == VISIBLE && currentDrawable == 0 || imageView.getVisibility() == GONE && currentDrawable != 0) {
|
||||
imageView.setVisibility(currentDrawable == 0 ? GONE : VISIBLE);
|
||||
imageView.setImageResource(currentDrawable);
|
||||
if(currentDrawable != 0)imageView.setImageDrawable(getResources().getDrawable(currentDrawable));
|
||||
}
|
||||
statusTextView.setTextSize(themePrefs.getInt("contactsStatusSize", 14));
|
||||
//Plus
|
||||
////statusTextView.setTextSize(themePrefs.getInt("contactsStatusSize", 14));
|
||||
//imageView.setVisibility(currentDrawable == 0 ? INVISIBLE : VISIBLE);
|
||||
//imageView.setImageResource(currentDrawable);
|
||||
if(curDrawable != null)imageView.setImageDrawable(curDrawable);
|
||||
@ -209,7 +237,7 @@ public class UserCell extends FrameLayout {
|
||||
//int radius = AndroidUtilities.dp(themePrefs.getInt("contactsAvatarRadius", 32));
|
||||
avatarImageView.getImageReceiver().setRoundRadius(AndroidUtilities.dp(radius));
|
||||
avatarDrawable.setRadius(AndroidUtilities.dp(radius));
|
||||
|
||||
//
|
||||
avatarImageView.setImage(photo, "50_50", avatarDrawable);
|
||||
}
|
||||
|
||||
@ -217,10 +245,18 @@ public class UserCell extends FrameLayout {
|
||||
nameColor = color;
|
||||
}
|
||||
|
||||
public void setNameSize(int size) {
|
||||
nameTextView.setTextSize(size);
|
||||
}
|
||||
|
||||
public void setStatusColor(int color) {
|
||||
statusColor = color;
|
||||
}
|
||||
|
||||
public void setStatusSize(int size) {
|
||||
statusTextView.setTextSize(size);
|
||||
}
|
||||
|
||||
public void setImageDrawable(Drawable drawable){
|
||||
curDrawable = drawable;
|
||||
}
|
||||
|
@ -1044,7 +1044,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
Drawable dots = getParentActivity().getResources().getDrawable(R.drawable.ic_ab_other);
|
||||
dots.setColorFilter(AndroidUtilities.getIntDef("chatHeaderIconsColor", 0xffffffff), PorterDuff.Mode.MULTIPLY);
|
||||
headerItem = menu.addItem(0, dots);
|
||||
|
||||
try{
|
||||
final boolean isChat = (int) dialog_id < 0 && (int) (dialog_id >> 32) != 1;
|
||||
if(isChat)headerItem.addSubItem(add_member, LocaleController.getString("AddMember", R.string.AddMember), 0);
|
||||
//headerItem.addSubItem(chat_background, LocaleController.getString("ChatBackground", R.string.ChatBackground), 0);
|
||||
@ -1052,6 +1052,9 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
if (searchItem != null) {
|
||||
headerItem.addSubItem(search, LocaleController.getString("Search", R.string.Search), 0);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
FileLog.e("tmessages", e);
|
||||
}
|
||||
if (currentUser != null) {
|
||||
addContactItem = headerItem.addSubItem(share_contact, "", 0);
|
||||
}
|
||||
@ -5668,6 +5671,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
@Override
|
||||
public void needOpenWebView(String url, String title, String originalUrl, int w, int h) {
|
||||
BottomSheet.Builder builder = new BottomSheet.Builder(mContext);
|
||||
|
||||
builder.setCustomView(new WebFrameLayout(mContext, builder.create(), title, originalUrl, url, w, h));
|
||||
builder.setUseFullWidth(true);
|
||||
showDialog(builder.create());
|
||||
|
@ -185,6 +185,24 @@ public class ResourceLoader {
|
||||
backgroundMediaDrawableInSelected = context.getResources().getDrawable(R.drawable.msg_in_6_photo_selected);
|
||||
backgroundMediaDrawableOut = context.getResources().getDrawable(R.drawable.msg_out_6_photo);
|
||||
backgroundMediaDrawableOutSelected = context.getResources().getDrawable(R.drawable.msg_out_6_photo_selected);
|
||||
} else if(bubble.equals(ImageListActivity.getBubbleName(6))){
|
||||
backgroundDrawableIn = context.getResources().getDrawable(R.drawable.msg_in_7);
|
||||
backgroundDrawableInSelected = context.getResources().getDrawable(R.drawable.msg_in_7_selected);
|
||||
backgroundDrawableOut = context.getResources().getDrawable(R.drawable.msg_out_7);
|
||||
backgroundDrawableOutSelected = context.getResources().getDrawable(R.drawable.msg_out_7_selected);
|
||||
backgroundMediaDrawableIn = context.getResources().getDrawable(R.drawable.msg_in_7_photo);
|
||||
backgroundMediaDrawableInSelected = context.getResources().getDrawable(R.drawable.msg_in_7_photo_selected);
|
||||
backgroundMediaDrawableOut = context.getResources().getDrawable(R.drawable.msg_out_7_photo);
|
||||
backgroundMediaDrawableOutSelected = context.getResources().getDrawable(R.drawable.msg_out_7_photo_selected);
|
||||
} else{
|
||||
backgroundDrawableIn = context.getResources().getDrawable(R.drawable.msg_in);
|
||||
backgroundDrawableInSelected = context.getResources().getDrawable(R.drawable.msg_in_selected);
|
||||
backgroundDrawableOut = context.getResources().getDrawable(R.drawable.msg_out);
|
||||
backgroundDrawableOutSelected = context.getResources().getDrawable(R.drawable.msg_out_selected);
|
||||
backgroundMediaDrawableIn = context.getResources().getDrawable(R.drawable.msg_in_photo);
|
||||
backgroundMediaDrawableInSelected = context.getResources().getDrawable(R.drawable.msg_in_photo_selected);
|
||||
backgroundMediaDrawableOut = context.getResources().getDrawable(R.drawable.msg_out_photo);
|
||||
backgroundMediaDrawableOutSelected = context.getResources().getDrawable(R.drawable.msg_out_photo_selected);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,7 +29,8 @@ public class ImageListActivity extends BaseFragment {
|
||||
"Hangouts",
|
||||
"Notepad",
|
||||
"Ed",
|
||||
"Edge"
|
||||
"Edge",
|
||||
"iOS"
|
||||
};
|
||||
|
||||
Integer[] imgid ={
|
||||
@ -39,12 +40,14 @@ public class ImageListActivity extends BaseFragment {
|
||||
R.drawable.msg_in_4,
|
||||
R.drawable.msg_in_5,
|
||||
R.drawable.msg_in_6,
|
||||
R.drawable.msg_in_7,
|
||||
R.drawable.msg_out,
|
||||
R.drawable.msg_out_2,
|
||||
R.drawable.msg_out_3,
|
||||
R.drawable.msg_out_4,
|
||||
R.drawable.msg_out_5,
|
||||
R.drawable.msg_out_6
|
||||
R.drawable.msg_out_6,
|
||||
R.drawable.msg_out_7
|
||||
};
|
||||
|
||||
public static String getBubbleName(int i){
|
||||
|
@ -146,6 +146,8 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
private int addMemberRow;
|
||||
private int rowCount = 0;
|
||||
|
||||
private TextView adminTextView;
|
||||
|
||||
public ProfileActivity(Bundle args) {
|
||||
super(args);
|
||||
}
|
||||
@ -230,6 +232,9 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
@Override
|
||||
public void onFragmentDestroy() {
|
||||
super.onFragmentDestroy();
|
||||
//Plus to paint drawerAction icons (refresh drawerLayoutAdapter)
|
||||
NotificationCenter.getInstance().postNotificationName(NotificationCenter.mainUserInfoChanged);
|
||||
//
|
||||
NotificationCenter.getInstance().removeObserver(this, NotificationCenter.mediaCountDidLoaded);
|
||||
NotificationCenter.getInstance().removeObserver(this, NotificationCenter.updateInterfaces);
|
||||
NotificationCenter.getInstance().removeObserver(this, NotificationCenter.closeChats);
|
||||
@ -471,7 +476,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
|
||||
onlineTextView = new TextView(context);
|
||||
//onlineTextView.setTextColor(AvatarDrawable.getProfileTextColorForId(user_id != 0 ? 5 : chat_id));
|
||||
onlineTextView.setTextColor(AndroidUtilities.getIntDarkerColor("themeColor",-0x40));
|
||||
onlineTextView.setTextColor(AndroidUtilities.getIntDarkerColor("themeColor", -0x40));
|
||||
onlineTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 14);
|
||||
onlineTextView.setLines(1);
|
||||
onlineTextView.setMaxLines(1);
|
||||
@ -485,9 +490,30 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
layoutParams.leftMargin = AndroidUtilities.dp(LocaleController.isRTL ? 16 : 97);
|
||||
layoutParams.rightMargin = AndroidUtilities.dp(LocaleController.isRTL ? 97 : 16);
|
||||
layoutParams.bottomMargin = AndroidUtilities.dp(30);
|
||||
|
||||
layoutParams.gravity = (LocaleController.isRTL ? Gravity.RIGHT : Gravity.LEFT) | Gravity.BOTTOM;
|
||||
onlineTextView.setLayoutParams(layoutParams);
|
||||
|
||||
adminTextView = new TextView(context);
|
||||
//adminTextView.setTextColor(AvatarDrawable.getProfileTextColorForId(user_id != 0 ? 5 : chat_id));
|
||||
adminTextView.setTextColor(AndroidUtilities.getIntDarkerColor("themeColor",-0x40));
|
||||
adminTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 14);
|
||||
adminTextView.setLines(1);
|
||||
adminTextView.setMaxLines(1);
|
||||
adminTextView.setSingleLine(true);
|
||||
adminTextView.setEllipsize(TextUtils.TruncateAt.END);
|
||||
adminTextView.setGravity((LocaleController.isRTL ? Gravity.RIGHT : Gravity.LEFT));
|
||||
adminTextView.setTypeface(AndroidUtilities.getTypeface("fonts/rmedium.ttf"));
|
||||
actionBar.addView(adminTextView);
|
||||
layoutParams = (FrameLayout.LayoutParams) adminTextView.getLayoutParams();
|
||||
layoutParams.width = LayoutHelper.WRAP_CONTENT;
|
||||
layoutParams.height = LayoutHelper.WRAP_CONTENT;
|
||||
layoutParams.leftMargin = AndroidUtilities.dp(LocaleController.isRTL ? 75 : 97);
|
||||
layoutParams.rightMargin = AndroidUtilities.dp(LocaleController.isRTL ? 97 : 75);
|
||||
layoutParams.bottomMargin = AndroidUtilities.dp(10);
|
||||
layoutParams.gravity = (LocaleController.isRTL ? Gravity.RIGHT : Gravity.LEFT) | Gravity.BOTTOM;
|
||||
adminTextView.setLayoutParams(layoutParams);
|
||||
|
||||
listView = new ListView(context);
|
||||
listView.setDivider(null);
|
||||
listView.setDividerHeight(0);
|
||||
@ -648,13 +674,13 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
if (user_id != 0) {
|
||||
//writeButton.setImageResource(R.drawable.floating_message);
|
||||
Drawable message = context.getResources().getDrawable(R.drawable.floating_message);
|
||||
message.setColorFilter(themePrefs.getInt("profileTitleColor", 0xff737373), PorterDuff.Mode.SRC_IN);
|
||||
message.setColorFilter(themePrefs.getInt("profileIconsColor", 0xff737373), PorterDuff.Mode.SRC_IN);
|
||||
writeButton.setImageDrawable(message);
|
||||
writeButton.setPadding(0, AndroidUtilities.dp(3), 0, 0);
|
||||
} else if (chat_id != 0) {
|
||||
//writeButton.setImageResource(R.drawable.floating_camera);
|
||||
Drawable camera = context.getResources().getDrawable(R.drawable.floating_camera);
|
||||
camera.setColorFilter(themePrefs.getInt("profileTitleColor", 0xff737373), PorterDuff.Mode.SRC_IN);
|
||||
camera.setColorFilter(themePrefs.getInt("profileIconsColor", 0xff737373), PorterDuff.Mode.SRC_IN);
|
||||
writeButton.setImageDrawable(camera);
|
||||
}
|
||||
frameLayout.addView(writeButton);
|
||||
@ -911,6 +937,12 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
layoutParams.rightMargin = AndroidUtilities.dp(LocaleController.isRTL ? nameX : nameEndX);
|
||||
layoutParams.bottomMargin = statusY;
|
||||
onlineTextView.setLayoutParams(layoutParams);
|
||||
|
||||
if(diff > 0.85){
|
||||
adminTextView.setVisibility(View.VISIBLE);
|
||||
}else{
|
||||
adminTextView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1154,6 +1186,10 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
} else {
|
||||
status1 = user1.status.expires;
|
||||
}
|
||||
//Plus admin
|
||||
if (user1.id == info.admin_id) {
|
||||
status1 = ConnectionsManager.getInstance().getCurrentTime() + 50000 - 100;
|
||||
}
|
||||
}
|
||||
if (user2 != null && user2.status != null) {
|
||||
if (user2.id == UserConfig.getClientUserId()) {
|
||||
@ -1161,6 +1197,10 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
} else {
|
||||
status2 = user2.status.expires;
|
||||
}
|
||||
//Plus admin
|
||||
if (user2.id == info.admin_id) {
|
||||
status2 = ConnectionsManager.getInstance().getCurrentTime() + 50000 - 100;
|
||||
}
|
||||
}
|
||||
if (status1 > 0 && status2 > 0) {
|
||||
if (status1 > status2) {
|
||||
@ -1320,6 +1360,10 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
onlineTextView.setText(LocaleController.formatPluralString("Members", count));
|
||||
}
|
||||
|
||||
if (info != null) {
|
||||
adminTextView.setText("Admin: "+UserObject.getUserName(MessagesController.getInstance().getUser(info.admin_id)));
|
||||
}
|
||||
|
||||
TLRPC.FileLocation photo = null;
|
||||
TLRPC.FileLocation photoBig = null;
|
||||
if (chat.photo != null) {
|
||||
@ -1342,11 +1386,15 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
private void updateTheme(){
|
||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
int def = themePrefs.getInt("themeColor", AndroidUtilities.defColor);
|
||||
int dark = themePrefs.getInt("profileStatusColor", AndroidUtilities.getIntDarkerColor("themeColor", -0x40));
|
||||
actionBar.setBackgroundColor(themePrefs.getInt("profileHeaderColor", def));
|
||||
nameTextView.setTextColor(themePrefs.getInt("profileNameColor", 0xffffffff));
|
||||
nameTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, themePrefs.getInt("profileNameSize", 18));
|
||||
onlineTextView.setTextColor(themePrefs.getInt("profileStatusColor", AndroidUtilities.getIntDarkerColor("themeColor", -0x40)));
|
||||
onlineTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, themePrefs.getInt("profileStatusSize", 14));
|
||||
onlineTextView.setTextColor(dark);
|
||||
int oSize = themePrefs.getInt("profileStatusSize", 14);
|
||||
onlineTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, oSize);
|
||||
adminTextView.setTextColor(dark);
|
||||
if(oSize < 14)adminTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, oSize);
|
||||
}
|
||||
|
||||
private void createActionBarMenu() {
|
||||
@ -1474,7 +1522,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
SharedPreferences themePrefs = ApplicationLoader.applicationContext.getSharedPreferences(AndroidUtilities.THEME_PREFS, AndroidUtilities.THEME_PREFS_MODE);
|
||||
int def = themePrefs.getInt("themeColor", AndroidUtilities.defColor);
|
||||
int tColor = themePrefs.getInt("profileTitleColor", 0xff212121);
|
||||
int dColor = themePrefs.getInt("profileTitleColor", 0xff737373);
|
||||
int dColor = themePrefs.getInt("profileIconsColor", 0xff737373);
|
||||
if (type == 0) {
|
||||
if (view == null) {
|
||||
view = new EmptyCell(mContext);
|
||||
@ -1566,24 +1614,27 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
|
||||
textCell.setTextAndValueDrawable(LocaleController.getString("EncryptionKey", R.string.EncryptionKey), identiconDrawable);
|
||||
} else if (i == botInfoRow) {
|
||||
textCell.setMultiline(true);
|
||||
textCell.setTextAndIcon(botInfo.share_text, R.drawable.bot_info);
|
||||
//textCell.setTextAndIcon(botInfo.share_text, R.drawable.bot_info);
|
||||
Drawable bot = mContext.getResources().getDrawable(R.drawable.bot_info);
|
||||
bot.setColorFilter(dColor, PorterDuff.Mode.SRC_IN);
|
||||
textCell.setTextAndIcon(botInfo.share_text, bot);
|
||||
}
|
||||
} else if (type == 4) {
|
||||
if (view == null) {
|
||||
view = new UserCell(mContext, 61);
|
||||
view.setTag("Profile");
|
||||
}
|
||||
|
||||
TLRPC.TL_chatParticipant part = info.participants.get(sortedUsers.get(i - emptyRowChat2 - 1));
|
||||
((UserCell)view).setData(MessagesController.getInstance().getUser(part.user_id), null, null, i == emptyRowChat2 + 1 ? R.drawable.menu_newgroup : 0);
|
||||
((UserCell)view).setNameColor(tColor);
|
||||
((UserCell) view).setStatusColors(themePrefs.getInt("profileSummaryColor", 0xff8a8a8a), AndroidUtilities.getIntDarkerColor("themeColor", -0x40));
|
||||
//((UserCell) view).setAvatarRadius(AndroidUtilities.dp(themePrefs.getInt("profileAvatarRadius", 32)));
|
||||
if(i == emptyRowChat2 + 1){
|
||||
Drawable newGroup = mContext.getResources().getDrawable(R.drawable.menu_newgroup);
|
||||
newGroup.setColorFilter(dColor, PorterDuff.Mode.SRC_IN);
|
||||
((UserCell)view).setImageDrawable(newGroup);
|
||||
//((UserCell)view).setData(MessagesController.getInstance().getUser(part.user_id), null, null, i == emptyRowChat2 + 1 ? R.drawable.menu_newgroup : 0);
|
||||
int icon = 0;
|
||||
if(info.admin_id == part.user_id){
|
||||
icon = R.drawable.menu_admin;
|
||||
} else if(part.user_id == UserConfig.getClientUserId()){
|
||||
icon = R.drawable.menu_newgroup;
|
||||
}
|
||||
((UserCell) view).setAvatarRadius(themePrefs.getInt("profileAvatarRadius", 32));
|
||||
((UserCell)view).setData(MessagesController.getInstance().getUser(part.user_id), null, null, icon);
|
||||
|
||||
} else if (type == 5) {
|
||||
if (view == null) {
|
||||
//view = new ShadowSectionCell(mContext);
|
||||
|
@ -150,6 +150,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
private int keepOriginalFilenameRow;
|
||||
private int keepOriginalFilenameDetailRow;
|
||||
private int emojiPopupSize;
|
||||
private int disableAudioStopRow;
|
||||
|
||||
private final static int edit_name = 1;
|
||||
private final static int logout = 2;
|
||||
@ -264,7 +265,9 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
stickersRow = rowCount++;
|
||||
emojiPopupSize = rowCount++;
|
||||
sendByEnterRow = rowCount++;
|
||||
disableAudioStopRow = rowCount++;
|
||||
disableMessageClickRow = rowCount++;
|
||||
|
||||
supportSectionRow = rowCount++;
|
||||
supportSectionRow2 = rowCount++;
|
||||
askQuestionRow = rowCount++;
|
||||
@ -562,6 +565,15 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
if (view instanceof TextCheckCell) {
|
||||
((TextCheckCell) view).setChecked(!send);
|
||||
}
|
||||
} else if (i == disableAudioStopRow) {
|
||||
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||
boolean send = preferences.getBoolean("disableAudioStop", false);
|
||||
SharedPreferences.Editor editor = preferences.edit();
|
||||
editor.putBoolean("disableAudioStop", !send);
|
||||
editor.commit();
|
||||
if (view instanceof TextCheckCell) {
|
||||
((TextCheckCell) view).setChecked(!send);
|
||||
}
|
||||
} else if (i == disableMessageClickRow) {
|
||||
SharedPreferences preferences = ApplicationLoader.applicationContext.getSharedPreferences("mainconfig", Activity.MODE_PRIVATE);
|
||||
boolean send = preferences.getBoolean("disableMessageClick", false);
|
||||
@ -1227,7 +1239,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
@Override
|
||||
public boolean isEnabled(int i) {
|
||||
return i == textSizeRow || i == enableAnimationsRow || i == notificationRow || i == backgroundRow || i == numberRow || i == showAndroidEmojiRow || i == useDeviceFontRow || i == emojiPopupSize ||
|
||||
i == askQuestionRow || i == sendLogsRow || i == sendByEnterRow || i == privacyRow || i == wifiDownloadRow || 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 == switchBackendButtonRow || i == telegramFaqRow || i == contactsSortRow || i == contactsReimportRow || i == saveToGalleryRow || i == keepOriginalFilenameRow ||
|
||||
i == stickersRow;
|
||||
@ -1330,6 +1342,8 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
textCell.setTextAndCheck(LocaleController.getString("EnableAnimations", R.string.EnableAnimations), preferences.getBoolean("view_animations", true), true);
|
||||
} else if (i == sendByEnterRow) {
|
||||
textCell.setTextAndCheck(LocaleController.getString("SendByEnter", R.string.SendByEnter), preferences.getBoolean("send_by_enter", false), true);
|
||||
} else if (i == disableAudioStopRow) {
|
||||
textCell.setTextAndCheck(LocaleController.getString("DisableAudioStop", R.string.DisableAudioStop), preferences.getBoolean("disableAudioStop", false), true);
|
||||
} else if (i == disableMessageClickRow) {
|
||||
textCell.setTextAndCheck(LocaleController.getString("DisableMessageClick", R.string.DisableMessageClick), preferences.getBoolean("disableMessageClick", false), false);
|
||||
} else if (i == saveToGalleryRow) {
|
||||
@ -1450,7 +1464,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
|
||||
}
|
||||
if (i == settingsSectionRow || i == supportSectionRow /*|| i == messagesSectionRow*/ || i == mediaDownloadSection || i == contactsSectionRow) {
|
||||
return 1;
|
||||
} else if (i == enableAnimationsRow || i == sendByEnterRow || i == saveToGalleryRow || 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;
|
||||
} 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) {
|
||||
return 2;
|
||||
|
@ -99,6 +99,7 @@ public class ThemingChatActivity extends BaseFragment {
|
||||
private int showContactAvatar;
|
||||
private int showOwnAvatar;
|
||||
private int showOwnAvatarGroup;
|
||||
private int showUsernameCheckRow;
|
||||
|
||||
private int rowCount;
|
||||
|
||||
@ -160,6 +161,8 @@ public class ThemingChatActivity extends BaseFragment {
|
||||
forwardRightNameColorRow = rowCount++;
|
||||
forwardLeftNameColorRow = rowCount++;
|
||||
|
||||
showUsernameCheckRow = rowCount++;
|
||||
|
||||
sendColorRow = rowCount++;
|
||||
editTextSizeRow = rowCount++;
|
||||
editTextColorRow = rowCount++;
|
||||
@ -272,6 +275,17 @@ public class ThemingChatActivity extends BaseFragment {
|
||||
if (listView != null) {
|
||||
listView.invalidateViews();
|
||||
}
|
||||
} else if (i == showUsernameCheckRow) {
|
||||
boolean b = themePrefs.getBoolean( key, true);
|
||||
SharedPreferences.Editor editor = themePrefs.edit();
|
||||
editor.putBoolean( key, !b);
|
||||
editor.commit();
|
||||
if (view instanceof TextCheckCell) {
|
||||
((TextCheckCell) view).setChecked(!b);
|
||||
}
|
||||
if (listView != null) {
|
||||
listView.invalidateViews();
|
||||
}
|
||||
} else if (i == avatarAlignTopRow) {
|
||||
boolean b = themePrefs.getBoolean( key, true);
|
||||
SharedPreferences.Editor editor = themePrefs.edit();
|
||||
@ -1139,7 +1153,7 @@ public class ThemingChatActivity extends BaseFragment {
|
||||
return i == headerColorRow || i == muteColorRow || i == headerIconsColorRow || i == rBubbleColorRow || i == lBubbleColorRow || i == bubblesRow ||
|
||||
i == solidBGColorCheckRow || AndroidUtilities.getBoolPref("chatSolidBGColorCheck") && i == solidBGColorRow || i == avatarRadiusRow || i == avatarSizeRow || i == avatarMarginLeftRow || i == avatarAlignTopRow || i == ownAvatarAlignTopRow || i == showContactAvatar || i == showOwnAvatar || i == showOwnAvatarGroup || i == nameColorRow || i == nameSizeRow || i == statusColorRow || i == statusSizeRow ||
|
||||
i == textSizeRow || i == timeSizeRow || i == dateColorRow || i == dateSizeRow || i == dateBubbleColorRow || i == rTextColorRow || i == rLinkColorRow || i == lTextColorRow || i == lLinkColorRow ||
|
||||
i == rTimeColorRow|| i == lTimeColorRow || i == checksColorRow || i == memberColorCheckRow || AndroidUtilities.getBoolPref("chatMemberColorCheck") && i == memberColorRow || i == contactNameColorRow || i == forwardRightNameColorRow || i == forwardLeftNameColorRow ||
|
||||
i == rTimeColorRow|| i == lTimeColorRow || i == checksColorRow || i == memberColorCheckRow || AndroidUtilities.getBoolPref("chatMemberColorCheck") && i == memberColorRow || i == contactNameColorRow || i == forwardRightNameColorRow || i == forwardLeftNameColorRow || i == showUsernameCheckRow ||
|
||||
i == editTextSizeRow || i == editTextColorRow || i == editTextIconsColorRow || i == sendColorRow || i == editTextBGColorRow || i == attachBGColorRow || i == attachTextColorRow ||
|
||||
i == emojiViewBGColorRow || i == emojiViewTabColorRow;
|
||||
}
|
||||
@ -1234,6 +1248,9 @@ public class ThemingChatActivity extends BaseFragment {
|
||||
} else if (i == memberColorCheckRow) {
|
||||
textCell.setTag("chatMemberColorCheck");
|
||||
textCell.setTextAndCheck(LocaleController.getString("SetMemberColor", R.string.SetMemberColor), themePrefs.getBoolean("chatMemberColorCheck", false), false);
|
||||
} else if (i == showUsernameCheckRow) {
|
||||
textCell.setTag("chatShowUsernameCheck");
|
||||
textCell.setTextAndCheck(LocaleController.getString("ShowUsername", R.string.ShowUsername), themePrefs.getBoolean("chatShowUsernameCheck", false), true);
|
||||
} else if (i == avatarAlignTopRow) {
|
||||
textCell.setTag("chatAvatarAlignTop");
|
||||
textCell.setTextAndCheck(LocaleController.getString("AvatarAlignTop", R.string.AvatarAlignTop), themePrefs.getBoolean("chatAvatarAlignTop", false), true);
|
||||
@ -1350,7 +1367,7 @@ public class ThemingChatActivity extends BaseFragment {
|
||||
i == sendColorRow || i == editTextColorRow || i == editTextBGColorRow || i == editTextIconsColorRow || i == attachBGColorRow || i == attachTextColorRow ||
|
||||
i == emojiViewBGColorRow || i == emojiViewTabColorRow) {
|
||||
return 3;
|
||||
} else if (i == solidBGColorCheckRow || i == memberColorCheckRow || i == avatarAlignTopRow || i == ownAvatarAlignTopRow || i == showContactAvatar || i == showOwnAvatar || i == showOwnAvatarGroup) {
|
||||
} else if (i == solidBGColorCheckRow || i == memberColorCheckRow || i == showUsernameCheckRow || i == avatarAlignTopRow || i == ownAvatarAlignTopRow || i == showContactAvatar || i == showOwnAvatar || i == showOwnAvatarGroup) {
|
||||
return 4;
|
||||
}
|
||||
else {
|
||||
|
@ -336,7 +336,7 @@ public class ThemingContactsActivity extends BaseFragment {
|
||||
} else if (i == rowColorRow) {
|
||||
resetInt("contactsRowColor");
|
||||
} else if (i == avatarRadiusRow) {
|
||||
resetInt("contactsAvatarSize");
|
||||
resetInt("contactsAvatarRadius");
|
||||
} else if (i == nameColorRow) {
|
||||
resetInt("contactsNameColor");
|
||||
} else if (i == nameSizeRow) {
|
||||
|
@ -68,6 +68,8 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
private int versionColorRow;
|
||||
private int versionSizeRow;
|
||||
private int avatarSizeRow;
|
||||
private int listDividerColorRow;
|
||||
private int centerAvatarRow;
|
||||
|
||||
private int rowCount;
|
||||
|
||||
@ -92,10 +94,12 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
nameSizeRow = rowCount++;
|
||||
phoneColorRow = rowCount++;
|
||||
phoneSizeRow = rowCount++;
|
||||
centerAvatarRow = rowCount++;
|
||||
|
||||
rowsSectionRow = rowCount++;
|
||||
rowsSection2Row = rowCount++;
|
||||
listColorRow = rowCount++;
|
||||
listDividerColorRow = rowCount++;
|
||||
iconColorRow = rowCount++;
|
||||
optionColorRow = rowCount++;
|
||||
optionSizeRow = rowCount++;
|
||||
@ -200,6 +204,17 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
if (listView != null) {
|
||||
listView.invalidateViews();
|
||||
}
|
||||
} else if (i == centerAvatarRow) {
|
||||
boolean b = themePrefs.getBoolean( key, true);
|
||||
SharedPreferences.Editor editor = themePrefs.edit();
|
||||
editor.putBoolean(key, !b);
|
||||
editor.commit();
|
||||
if (view instanceof TextCheckCell) {
|
||||
((TextCheckCell) view).setChecked(!b);
|
||||
}
|
||||
if (listView != null) {
|
||||
listView.invalidateViews();
|
||||
}
|
||||
} else if (i == listColorRow) {
|
||||
if (getParentActivity() == null) {
|
||||
return;
|
||||
@ -215,6 +230,21 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
|
||||
},themePrefs.getInt("drawerListColor", 0xffffffff), CENTER, 0, false);
|
||||
colorDialog.show();
|
||||
} else if (i == listDividerColorRow) {
|
||||
if (getParentActivity() == null) {
|
||||
return;
|
||||
}
|
||||
LayoutInflater li = (LayoutInflater)getParentActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
li.inflate(R.layout.colordialog, null, false);
|
||||
ColorSelectorDialog colorDialog = new ColorSelectorDialog(getParentActivity(), new OnColorChangedListener() {
|
||||
@Override
|
||||
public void colorChanged(int color) {
|
||||
commitInt("drawerListDividerColor", color);
|
||||
player = true;
|
||||
}
|
||||
|
||||
},themePrefs.getInt("drawerListDividerColor", 0xffd9d9d9), CENTER, 0, false);
|
||||
colorDialog.show();
|
||||
} else if (i == iconColorRow) {
|
||||
if (getParentActivity() == null) {
|
||||
return;
|
||||
@ -445,6 +475,8 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
} else if (i == listColorRow) {
|
||||
resetInt("drawerListColor");
|
||||
player = true;
|
||||
} else if (i == listDividerColorRow) {
|
||||
resetInt("drawerListDividerColor");
|
||||
} else if (i == avatarColorRow) {
|
||||
resetInt("drawerAvatarColor");
|
||||
} else if (i == avatarRadiusRow) {
|
||||
@ -584,7 +616,7 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
|
||||
@Override
|
||||
public boolean isEnabled(int i) {
|
||||
return i == headerColorRow || i == headerBackgroundCheckRow || i == hideBackgroundShadowRow || i == listColorRow || i == iconColorRow || i == optionColorRow || i == optionSizeRow || i == avatarColorRow || i == avatarRadiusRow || i == nameColorRow || i == avatarSizeRow || i == nameSizeRow || i == phoneColorRow || i == phoneSizeRow ||
|
||||
return i == headerColorRow || i == headerBackgroundCheckRow || i == hideBackgroundShadowRow || i == centerAvatarRow || i == listColorRow || i == listDividerColorRow || i == iconColorRow || i == optionColorRow || i == optionSizeRow || i == avatarColorRow || i == avatarRadiusRow || i == nameColorRow || i == avatarSizeRow || i == nameSizeRow || i == phoneColorRow || i == phoneSizeRow ||
|
||||
i == versionColorRow || i == versionSizeRow;
|
||||
}
|
||||
|
||||
@ -647,7 +679,7 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
textCell.setTextAndValue(LocaleController.getString("OptionSize", R.string.OptionSize), String.format("%d", size), true);
|
||||
} else if (i == phoneSizeRow) {
|
||||
int size = themePrefs.getInt("drawerPhoneSize", AndroidUtilities.isTablet() ? 15 : 13);
|
||||
textCell.setTextAndValue(LocaleController.getString("PhoneSize", R.string.PhoneSize), String.format("%d", size), false);
|
||||
textCell.setTextAndValue(LocaleController.getString("PhoneSize", R.string.PhoneSize), String.format("%d", size), true);
|
||||
} else if (i == versionSizeRow) {
|
||||
int size = themePrefs.getInt("drawerVersionSize", AndroidUtilities.isTablet() ? 15 : 13);
|
||||
textCell.setTextAndValue(LocaleController.getString("VersionSize", R.string.VersionSize), String.format("%d", size), false);
|
||||
@ -665,6 +697,8 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
textCell.setTextAndColor(LocaleController.getString("HeaderColor", R.string.HeaderColor), themePrefs.getInt("drawerHeaderColor", AndroidUtilities.getIntColor("themeColor")), true);
|
||||
} else if (i == listColorRow) {
|
||||
textCell.setTextAndColor(LocaleController.getString("ListColor", R.string.ListColor), themePrefs.getInt("drawerListColor", 0xffffffff), true);
|
||||
} else if (i == listDividerColorRow) {
|
||||
textCell.setTextAndColor(LocaleController.getString("ListDividerColor", R.string.ListDividerColor), themePrefs.getInt("drawerListDividerColor", 0xffd9d9d9), true);
|
||||
} else if (i == iconColorRow) {
|
||||
textCell.setTextAndColor(LocaleController.getString("IconColor", R.string.IconColor), themePrefs.getInt("drawerIconColor", 0xff737373), true);
|
||||
} else if (i == optionColorRow) {
|
||||
@ -689,6 +723,9 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
} else if (i == hideBackgroundShadowRow) {
|
||||
textCell.setTag("drawerHideBGShadowCheck");
|
||||
textCell.setTextAndCheck(LocaleController.getString("HideBackgroundShadow", R.string.HideBackgroundShadow), themePrefs.getBoolean("drawerHideBGShadowCheck", false), true);
|
||||
} else if (i == centerAvatarRow) {
|
||||
textCell.setTag("drawerCenterAvatarCheck");
|
||||
textCell.setTextAndCheck(LocaleController.getString("CenterAvatar", R.string.CenterAvatar), themePrefs.getBoolean("drawerCenterAvatarCheck", false), false);
|
||||
}
|
||||
}
|
||||
return view;
|
||||
@ -705,10 +742,10 @@ public class ThemingDrawerActivity extends BaseFragment {
|
||||
else if ( i == avatarRadiusRow || i == avatarSizeRow || i == nameSizeRow || i == phoneSizeRow || i == optionSizeRow || i == versionSizeRow) {
|
||||
return 2;
|
||||
}
|
||||
else if ( i == headerColorRow || i == listColorRow || i == iconColorRow || i == optionColorRow || i == versionColorRow || i == avatarColorRow || i == nameColorRow || i == phoneColorRow) {
|
||||
else if ( i == headerColorRow || i == listColorRow || i == listDividerColorRow || i == iconColorRow || i == optionColorRow || i == versionColorRow || i == avatarColorRow || i == nameColorRow || i == phoneColorRow) {
|
||||
return 3;
|
||||
}
|
||||
else if (i == headerBackgroundCheckRow || i == hideBackgroundShadowRow) {
|
||||
else if (i == headerBackgroundCheckRow || i == hideBackgroundShadowRow || i == centerAvatarRow) {
|
||||
return 4;
|
||||
}
|
||||
else {
|
||||
|
@ -62,6 +62,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
private int titleColorRow;
|
||||
private int summaryColorRow;
|
||||
private int avatarRadiusRow;
|
||||
private int iconsColorRow;
|
||||
|
||||
private int rowCount;
|
||||
|
||||
@ -88,6 +89,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
|
||||
titleColorRow = rowCount++;
|
||||
summaryColorRow = rowCount++;
|
||||
iconsColorRow = rowCount++;
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -174,6 +176,19 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
}
|
||||
},themePrefs.getInt( key, 0xffffffff), CENTER, 0, false);
|
||||
colorDialog.show();
|
||||
} else if (i == iconsColorRow) {
|
||||
if (getParentActivity() == null) {
|
||||
return;
|
||||
}
|
||||
LayoutInflater li = (LayoutInflater)getParentActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
li.inflate(R.layout.colordialog, null, false);
|
||||
ColorSelectorDialog colorDialog = new ColorSelectorDialog(getParentActivity(), new OnColorChangedListener() {
|
||||
@Override
|
||||
public void colorChanged(int color) {
|
||||
commitInt( key, color);
|
||||
}
|
||||
},themePrefs.getInt( key, 0xff737373), CENTER, 0, false);
|
||||
colorDialog.show();
|
||||
} else if (i == nameColorRow) {
|
||||
if (getParentActivity() == null) {
|
||||
return;
|
||||
@ -238,7 +253,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
builder.setNegativeButton(LocaleController.getString("Done", R.string.Done), new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
if(numberPicker.getValue() != currentValue){
|
||||
if (numberPicker.getValue() != currentValue) {
|
||||
commitInt(key, numberPicker.getValue());
|
||||
}
|
||||
}
|
||||
@ -274,7 +289,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
if (numberPicker.getValue() != currentValue) {
|
||||
commitInt( "profileAvatarRadius", numberPicker.getValue());
|
||||
commitInt("profileAvatarRadius", numberPicker.getValue());
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -411,7 +426,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
|
||||
@Override
|
||||
public boolean isEnabled(int i) {
|
||||
return i == headerColorRow || i == headerIconsColorRow || i == nameColorRow || i == nameSizeRow || i == statusColorRow || i == statusSizeRow ||
|
||||
return i == headerColorRow || i == headerIconsColorRow || i == iconsColorRow || i == nameColorRow || i == nameSizeRow || i == statusColorRow || i == statusSizeRow ||
|
||||
i == rowColorRow || i == titleColorRow || i == summaryColorRow || i == avatarRadiusRow;
|
||||
}
|
||||
|
||||
@ -487,6 +502,9 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
} else if (i == headerIconsColorRow) {
|
||||
textCell.setTag("profileHeaderIconsColor");
|
||||
textCell.setTextAndColor(LocaleController.getString("HeaderIconsColor", R.string.HeaderIconsColor), themePrefs.getInt(textCell.getTag().toString(), 0xffffffff), true);
|
||||
} else if (i == iconsColorRow) {
|
||||
textCell.setTag("profileIconsColor");
|
||||
textCell.setTextAndColor(LocaleController.getString("IconsColor", R.string.IconsColor), themePrefs.getInt(textCell.getTag().toString(), 0xff737373), false);
|
||||
} else if (i == nameColorRow) {
|
||||
textCell.setTag("profileNameColor");
|
||||
textCell.setTextAndColor(LocaleController.getString("NameColor", R.string.NameColor), themePrefs.getInt(textCell.getTag().toString(), 0xffffffff), true);
|
||||
@ -501,7 +519,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
textCell.setTextAndColor(LocaleController.getString("NameColor", R.string.NameColor), themePrefs.getInt(textCell.getTag().toString(), 0xff000000), true);
|
||||
} else if (i == summaryColorRow) {
|
||||
textCell.setTag("profileSummaryColor");
|
||||
textCell.setTextAndColor(LocaleController.getString("StatusColor", R.string.StatusColor), themePrefs.getInt(textCell.getTag().toString(), 0xff8a8a8a), false);
|
||||
textCell.setTextAndColor(LocaleController.getString("StatusColor", R.string.StatusColor), themePrefs.getInt(textCell.getTag().toString(), 0xff8a8a8a), true);
|
||||
}
|
||||
}
|
||||
return view;
|
||||
@ -519,7 +537,7 @@ public class ThemingProfileActivity extends BaseFragment {
|
||||
return 2;
|
||||
}
|
||||
|
||||
else if ( i == headerColorRow || i == headerIconsColorRow || i == nameColorRow || i == statusColorRow ||
|
||||
else if ( i == headerColorRow || i == headerIconsColorRow || i == iconsColorRow || i == nameColorRow || i == statusColorRow ||
|
||||
i == rowColorRow || i == titleColorRow || i == summaryColorRow) {
|
||||
return 3;
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -835,7 +835,7 @@
|
||||
<string name="formatDateAtTime">%1$s الساعة %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">تم تحديث تيليجرام نسخة الأندرويد. الجديد في النسخة رقم 3.1:\n\n- بحث عن الرسائل داخل محادثات محددة. \n- إعادة تصميم كاملة لشاشة ارفاق الملفات. إرسال جهات اتصال وملفات صوتية مباشرة من خيار المرفقات. \n- تطوير لتشغيل الوسائط داخل التطبيق (يوتيوب, ڤيميو, ساوندكلاود وغيرها.),.\n\nللاستزادة، اطلع هنا:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText"></string>
|
||||
<string name="TelegramForAndroid">بلاس مسنجر للأندرويد</string>
|
||||
|
@ -829,7 +829,8 @@
|
||||
<string name="formatterDay24H">HH:mm</string>
|
||||
<string name="formatterDay12H">h:mm a</string>
|
||||
<string name="formatDateAtTime">%1$s a les %2$s</string>
|
||||
<!--Telegram+ Catalan-->
|
||||
<!--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="TelegramForAndroid">Plus Messenger per Android</string>
|
||||
<string name="Theming">Aparença</string>
|
||||
<string name="colorHexInvalid">Codi de color hexadecimal no vàlid.</string>
|
||||
@ -927,14 +928,14 @@
|
||||
<string name="RLinkColor">Color de l\'enllaç dret</string>
|
||||
<string name="LLinkColor">Color de l\'enllaç esquerre</string>
|
||||
<string name="ThemeApplied">S\'ha aplicat el tema!</string>
|
||||
<string name="ClickOkToRestart">Premeu D\'acord per reiniciar</string>
|
||||
<string name="ShowAndroidEmoji">Mostra les icones del sistema</string>
|
||||
<string name="ClickOkToRestart">Premeu «D\'acord» per reiniciar</string>
|
||||
<string name="ShowAndroidEmoji">Mostra els emojis del sistema</string>
|
||||
<string name="BubbleStyle">Estil de la bombolla</string>
|
||||
<string name="KeepOriginalFilename">Conserva el nom original</string>
|
||||
<string name="KeepOriginalFilenameHelp">En compte de només números, els fitxers es desaran usant el format nom_data</string>
|
||||
<string name="AvatarSize">Mida de l\'avatar</string>
|
||||
<string name="AvatarAlignTop">Alinea l\'avatar a sobre</string>
|
||||
<string name="AvatarMarginLeft">Marge esquerre de l\'avatar</string>
|
||||
<string name="AvatarAlignTop">Alinea l\'avatar dels contactes a dalt</string>
|
||||
<string name="AvatarMarginLeft">Marge de l\'avatar</string>
|
||||
<string name="GroupNameColor">Color del nom del grup</string>
|
||||
<string name="GroupNameSize">Mida del nom del grup</string>
|
||||
<string name="UnknownNameColor">Color del nom (contacte desconegut)</string>
|
||||
@ -952,9 +953,17 @@
|
||||
<string name="TitleColor">Color del títol</string>
|
||||
<string name="SummaryColor">Color del resum/subtítol</string>
|
||||
<string name="MediaColor">Color del text «Foto/Adhesiu»</string>
|
||||
<string name="ThemesAppMsg">Voleu veure alguns temes creats per altes usuaris de Plus Messenger?</string>
|
||||
<string name="ThemesAppMsg">Vols veure alguns temes creats per altes usuaris de Plus Messenger?</string>
|
||||
<string name="UseDeviceFont">Usa la font del dispositiu</string>
|
||||
<string name="AppWillRestart">Plus Messenger es reiniciarà</string>
|
||||
<string name="GroupIconColor">Color de la icona de grup</string>
|
||||
<string name="SharedContactNameColor">Color del nom de contacte compartit</string>
|
||||
<string name="AttachBGColor">Color del fons del menú Adjuntar</string>
|
||||
<string name="AttachTextColor">Color del text del menú Adjuntar</string>
|
||||
<string name="ShowContactAvatar">Mostra l\'avatar dels contactes al xat</string>
|
||||
<string name="ShowOwnAvatar">Mostra el meu propi avatar al xat</string>
|
||||
<string name="ShowOwnAvatarGroup">Mostra el meu avatar als grups</string>
|
||||
<string name="OwnAvatarAlignTop">Alinea el meu avatar a dalt</string>
|
||||
<string name="DialogColor">Color del títol/botó dels diàlegs</string>
|
||||
<string name="ShowUsername">Mostra el nom d\'usuari dels membres</string>
|
||||
</resources>
|
||||
|
@ -835,10 +835,10 @@
|
||||
<string name="formatDateAtTime">%1$s um %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger für Android wurde aktualisiert. Neu in Version 3.1:\n\n- Direkte Suche in Chats.\n- In Chats versteckt sich ein komplett neues Menü hinter der Büroklammer. Nun kann man dort auch Musik und Kontakte versenden.\n- In-App Medienwiedergabe für YouTube, Vimeo, SoundCloud, etc. optimiert und neuer Player für Audiodateien.\n\nMehr dazu unter:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">
|
||||
\n\nNeu in 3.1.1.6:\n\n- Neuer MOD Zeige eigenes Profilbild im Gruppenchat \n- Neuer MOD eigenes Profilbild nach oben ausrichten\n- Hinzugefügt MOD Farbe der Dialogtitel/Taste ändern\n- Fehlerbehebung</string>
|
||||
\n\nNeu in 3.1.1.9:\n\n- Neue Sprechblase iOS hinzugefügt (Dank an Edwin Macalopu)\n- Neuer MOD Benutzernamen zusammen mit Mitgliedsnamen in Gruppen anzeigen\n- Zeigt Gruppe Admin im Gruppenprofil. Der Admin Benutzer hat ein eigenes Symbol\n- Neuer MOD Profilbild, Name und Telefonnummer im Hauptmenü zentrieren\n- Neuer MOD um Wiedergabe von Audio im Chat zu halten wird der Näherungssensor deaktiviert\n- Neuer MOD ändert Profilbild Farbe in Profilübersicht \n- Fehlerbeseitigung\n\n Prüfen und Anwenden von Themen für den Plus Messenger: https://play.google.com/store/apps/details?id=es.rafalense.themes</string>
|
||||
<string name="TelegramForAndroid">Plus Messenger für Android</string>
|
||||
<string name="Theming">Themen bearbeiten</string>
|
||||
<string name="colorHexInvalid">Ungültiger Hex-Code!</string>
|
||||
@ -941,7 +941,7 @@
|
||||
<string name="BubbleStyle">Sprechblasen Form</string>
|
||||
<string name="KeepOriginalFilename">original Dateinamen speichern</string>
|
||||
<string name="KeepOriginalFilenameHelp">Statt Zahlen wird Dateiname_Datum gespeichert</string>
|
||||
<string name="AvatarSize">Profilbild Rand</string>
|
||||
<string name="AvatarSize">Profilbild</string>
|
||||
<string name="AvatarAlignTop">Kontakt Profibild nach oben</string>
|
||||
<string name="AvatarMarginLeft">Profilbild Rand</string>
|
||||
<string name="GroupNameColor">Gruppenname</string>
|
||||
@ -972,5 +972,9 @@
|
||||
<string name="ShowOwnAvatar">Zeige eigenes Profilbild im Chat</string>
|
||||
<string name="ShowOwnAvatarGroup">Zeige eigenes Profilbild im Gruppenchat</string>
|
||||
<string name="OwnAvatarAlignTop">Eigenes Profilbild nach oben</string>
|
||||
<string name="DialogColor">Dialog Titel/Schaltfläche</string>
|
||||
<string name="DialogColor">Dialoge Titel/Schaltflächen</string>
|
||||
<string name="ShowUsername">Zeige Benutzernamen mit Mitgliedsnamen</string>
|
||||
<string name="DisableAudioStop">Audio nicht stoppen</string>
|
||||
<string name="ListDividerColor">Optionliste Trennstrich</string>
|
||||
<string name="CenterAvatar">Profilbild, Name und Telefonnummer zentriert</string>
|
||||
</resources>
|
@ -835,9 +835,9 @@
|
||||
<string name="formatDateAtTime">%1$s a las %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger para Android fue actualizada. Novedades en la versión 3.1:\n\n- Busca mensajes dentro de un chat en específico.\n- Menú para adjuntar completamente rediseñado. Envía contactos y archivos de audio directamente desde el menú para adjuntar.\n- Reproducción de multimedia dentro de la aplicación mejorada (YouTube, Vimeo, SoundCloud etc.), nuevo reproductor para archivos de audio largos.\n\nMás sobre esta actualización:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<!--Telegram+ Spanish-->
|
||||
<string name="updatePlusText">\n\nNovedades en 3.1.1.6:\n\n- Nuevo MOD para mostrar foto de contacto en pantalla chat\n- Nuevo MOD para mostrar foto propia en pantalla de chat y grupo\n- Nuevo MOD para alinear foto propia arriba de bocadillo en chat\n- Añadidos nuevos bocadillos Ed y Edge (gracias a Edwin Macalopu)\n- Nuevo MOD para ajustar color de fondo y de texto en vista adjuntar en pantalla chat\n- Nuevo MOD para ajustar color de título y botón de diálogo\n- Solución de errores</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">\n\nNovedades en 3.1.1.9:\n\n- Añadidos nuevos bocadillos iOs (gracias a Edwin Macalopu)\n- Nuevo MOD para mostrar nombre de usuario junto con nombre de miembro en grupos\n- Se muestra admin en perfil de grupo\n- Nuevo MOD para centrar foto, nombre y número en menú de navegación\n- Nuevo MOD para no parar audio en chat desactivando actuación de sensor de proximidad\n- Nuevo MOD para cambiar color de iconos en pantalla perfil\n- Solución de errores\n\n- Revisa, descarga y aplica temas para Plus Messenger: https://play.google.com/store/apps/details?id=es.rafalense.themes</string>
|
||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||
<string name="Theming">Tematización</string>
|
||||
<string name="colorHexInvalid">¡Color hexadecimal inválido!</string>
|
||||
@ -972,4 +972,8 @@
|
||||
<string name="ShowOwnAvatarGroup">Muestra foto propia en grupo</string>
|
||||
<string name="OwnAvatarAlignTop">Alinear foto propia arriba</string>
|
||||
<string name="DialogColor">Color de título/botón de diálogo</string>
|
||||
<string name="ShowUsername">Muestra apodo junto a nombre de miembro</string>
|
||||
<string name="DisableAudioStop">No parar audio</string>
|
||||
<string name="ListDividerColor">Color de divisor de lista</string>
|
||||
<string name="CenterAvatar">Centrar avatar, nombre y móvil</string>
|
||||
</resources>
|
@ -832,8 +832,8 @@
|
||||
<string name="formatDateAtTime">%1$s à %2$s</string>
|
||||
<!--update text--><!--
|
||||
<string name="updateText">Plus Messenger pour Android vient d\'être mis à jour. Nouveautés de la version 2.9: \n\n- Installez et partagez des paquets de stickers personnalisés comme celui-ci: this one: https://play.google.com/store/apps/details?id=es.rafalense.themes\n- Si vous êtes un artiste, créez vos paquets de stickers, en utilisant notre robot @stickers. \n\n- Utilisez Telegram avec Android Auto.</string>-->
|
||||
<string name="updateBuild">586</string>
|
||||
<!--Telegram+ French-->
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="TelegramForAndroid">Plus Messenger pour Android</string>
|
||||
<string name="Theming">Thème</string>
|
||||
<string name="colorHexInvalid">Code couleur hexadécimal incorrect!</string>
|
||||
|
@ -825,7 +825,7 @@ e introduce o teu número.</string>
|
||||
<string name="formatterDay24H">HH:mm</string>
|
||||
<string name="formatterDay12H">h:mm a</string>
|
||||
<string name="formatDateAtTime">%1$s ás %2$s</string>
|
||||
<!--Telegram+ Galician-->
|
||||
<!--Telegram+-->
|
||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||
<string name="Theming">Tematización</string>
|
||||
<string name="colorHexInvalid">Cor hexadecimal inválida!</string>
|
||||
|
@ -515,7 +515,7 @@
|
||||
<string name="formatDateAtTime">%1$s पर %2$s</string>
|
||||
<!--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="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText"></string>
|
||||
<string name="TelegramForAndroid">Android के लिए प्लस मैसेंजर</string>
|
||||
|
@ -595,7 +595,7 @@ http://telegram.org/update</string>
|
||||
<string name="formatterDay24H">HH:mm</string>
|
||||
<string name="formatterDay12H">h:mm a</string>
|
||||
<string name="formatDateAtTime">%1$s u %2$s</string>
|
||||
<!--Telegram+ Croatian-->
|
||||
<!--Telegram+-->
|
||||
<string name="TelegramForAndroid">Plus Messenger za Android</string>
|
||||
<string name="Theming">Izrada teme</string>
|
||||
<string name="colorHexInvalid">Neispravan hex kod za boju!</string>
|
||||
|
@ -835,10 +835,10 @@
|
||||
<string name="formatDateAtTime">%1$s alle %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger per Android si è aggiornato. Nuovo nella versione 3.1:\n\n- Cerca messaggi all\'interno di una specifica chat.\n- Menu degli allegati completamente ridisegnato. Invia contatti e audio direttamente dal menu degli allegati.\n- Riproduzione in-app migliorata (YouTube, Vimeo, SoundCloud etc.), nuovo player per i file audio.\n\nMaggiori informazioni su questo aggiornamento:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">
|
||||
\n\nNovità 3.1.1.6:\n\n- Nuova MOD per visualizzare il proprio avatar nella schermata del gruppo\n- Nuova MOD per allineare il proprio avatar all\'intestazione\n- Aggiunta MOD per cambiare il colore di titolo e pulsante dei dialog\n- Correzioni bug</string>
|
||||
\n\nNew in 3.1.1.9:\n\n- Nuove bolle in stile iOS aggiunte (tgrazie a Edwin Macalopu)\n- Nuova MOD per mostrare l\'username assieme al nome del partecipante del gruppo\n- Mostra l\'amministratore del gruppo nella schermata del profilo del gruppo. L\'amministratore ha un\'icona particolare\n- Nuova MOD per centrare l\'avatar, il nome ed il telefono nel menu di navigazione\n- Nuova MOD per continuare a riprodurre gli audio nelle chat disabilitndo l\'azione del sensore di prossimità\n- Nuova MOD per cambiare il colore delle icone nella schermata profilo\n- Bug fixes\n\nEsplora e scarica temi per Plus Messenger: https://play.google.com/store/apps/details?id=es.rafalense.themes</string>
|
||||
<string name="TelegramForAndroid">Plus Messenger per Android</string>
|
||||
<string name="Theming">Personalizzazione</string>
|
||||
<string name="colorHexInvalid">Codice del colore esadecimale non valido!</string>
|
||||
@ -973,4 +973,8 @@
|
||||
<string name="ShowOwnAvatarGroup">Visualizza il proprio avatar nella schermata del gruppo</string>
|
||||
<string name="OwnAvatarAlignTop">Allinea il proprio avatar all\'intestazione</string>
|
||||
<string name="DialogColor">Colore titolo/pulsante dei dialog</string>
|
||||
<string name="ShowUsername">Visualizza lo username con il nome del membro</string>
|
||||
<string name="DisableAudioStop">Non interrompere l\'audio</string>
|
||||
<string name="ListDividerColor">Colore del divisore delle liste</string>
|
||||
<string name="CenterAvatar">Centra l\'avatar, il nome ed il numero di telefono</string>
|
||||
</resources>
|
@ -835,5 +835,5 @@
|
||||
<string name="formatDateAtTime">%1$s %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">텔레그램 안드로이드 버전이 업데이트 되었습니다. 새로운 버전은 3.1 입니다:\n\n- 특정 대화창에서 검색. \n- 첨부 메뉴 개선. 해당 메뉴에서 바로 연락처, 오디오를 전송 가능. \n- 인앱 미디어 재생 기능 향상 (YouTube, Vimeo, SoundCloud etc). 대용량 오디오 파일 별도 플레이어 기능. \n\nhttps://telegram.org/blog/search-and-media에서 자세한 사항을 알아보세요.</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
</resources>
|
@ -835,7 +835,7 @@
|
||||
<string name="formatDateAtTime">%1$s om %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger voor Android is bijgewerkt. Nieuw in versie 3.1:\n\n- Zoek naar berichten in een specifieke chat.\n- Volledig opnieuw ontworpen bijlagemenu. Verstuur contacten en audiobestanden rechtstreeks vanuit het bijlagemenu.\n- Afspelen van media in de app verbeterd (YouTube, Vimeo, SoundCloud, etc.), nieuwe speler voor grote audiobestanden.\n\nMeer weten? Kijk op:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText"></string>
|
||||
<string name="TelegramForAndroid">Plus Messenger voor Android</string>
|
||||
|
@ -669,7 +669,7 @@
|
||||
<string name="formatterDay24H">HH:mm</string>
|
||||
<string name="formatterDay12H">h:mm a</string>
|
||||
<string name="formatDateAtTime">%1$s podczas %2$s</string>
|
||||
<!--Telegram+ Polish-->
|
||||
<!--Telegram+-->
|
||||
<string name="TelegramForAndroid">Plus Messenger dla Androida</string>
|
||||
<string name="Theming">Motywy</string>
|
||||
<string name="colorHexInvalid">Zły kod hex</string>
|
||||
|
@ -835,9 +835,10 @@
|
||||
<string name="formatDateAtTime">%1$s às %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger para Android foi atualizado. Novo na versão 3.1:\n\n- Busca por mensagens dentro de um chat específico.\n-Menu de anexo totalmente redesenhado. Envie contatos e arquivos de áudio diretamente do menu de anexo.\n- Reprodução melhorada de mídia dentro do aplicativo (YouTube, Vimeo, SoundCloud, etc.), novo player para grandes arquivos de áudio.\n\nMais sobre a atualização:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">\n\nNovo em 3.1.1.6:\n\n- Novo MOD para mostrar o próprio avatar na tela de grupos\n- Novo MOD para alinhar o próprio avatar no topo\n- Adicionado o MOD para mudar a cor do titulo do dialogo e botão\n- Concertos de Bugs</string>
|
||||
<string name="updatePlusText">
|
||||
\n\nNew in 3.1.1.9:\n\n- New MOD to center avatar, name and phone in navigation menu\n- New MOD to don\'t stop audio in chat (disables proximity sensor action)\n-New MOD to change icons color in profile screen\n- Bug fixes</string>
|
||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||
<string name="Theming">Personalização</string>
|
||||
<string name="colorHexInvalid">Código de cor hexadecimal inválido!</string>
|
||||
@ -965,11 +966,15 @@
|
||||
<string name="AppWillRestart">O Plus Messenger irá reiniciar</string>
|
||||
<string name="GroupIconColor">Cor do Ícone de Grupo</string>
|
||||
<string name="SharedContactNameColor">Cor do Nome do Contato Compartilhado</string>
|
||||
<string name="AttachBGColor">Atribuir a cor do fundo</string>
|
||||
<string name="AttachTextColor">Atribuir à cor do texto</string>
|
||||
<string name="ShowContactAvatar">Mostrar avatar do contato na tela de conversa</string>
|
||||
<string name="ShowOwnAvatar">Mostrar o próprio avatar na tela de conversa</string>
|
||||
<string name="ShowOwnAvatarGroup">Mostrar o próprio avatar na tela de grupo</string>
|
||||
<string name="OwnAvatarAlignTop">Alinhar o próprio avatar no topo</string>
|
||||
<string name="DialogColor">Cor do titulo/botão de dialogo </string>
|
||||
<string name="AttachBGColor">Cor de Fundo do Anexar</string>
|
||||
<string name="AttachTextColor">Cor de Texto do Anexar</string>
|
||||
<string name="ShowContactAvatar">Mostrar Avatar do Contato</string>
|
||||
<string name="ShowOwnAvatar">Mostrar Próprio Avatar no Chat</string>
|
||||
<string name="ShowOwnAvatarGroup">Mostrar Próprio Avatar em Grupos</string>
|
||||
<string name="OwnAvatarAlignTop">Alinhar Próprio Avatar no Topo</string>
|
||||
<string name="DialogColor">Cor do Título/Botão de Diálogo</string>
|
||||
<string name="ShowUsername">Exibir Nome de Usuário com Nome do Membro</string>
|
||||
<string name="DisableAudioStop">Não Parar Áudio</string>
|
||||
<string name="ListDividerColor">Cor do Divisor de Lista</string>
|
||||
<string name="CenterAvatar">Centralizar Avatar, Nome e Telefone</string>
|
||||
</resources>
|
@ -835,8 +835,8 @@
|
||||
<string name="formatDateAtTime">%1$s às %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger para Android foi atualizado. Novo na versão 3.1:\n\n- Busca por mensagens dentro de um chat específico.\n-Menu de anexo totalmente redesenhado. Envie contatos e arquivos de áudio diretamente do menu de anexo.\n- Reprodução melhorada de mídia dentro do aplicativo (YouTube, Vimeo, SoundCloud, etc.), novo player para grandes arquivos de áudio.\n\nMais sobre a atualização:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<!--Telegram+ Portuguese(Portugal)-->
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="TelegramForAndroid">Plus Messenger para Android</string>
|
||||
<string name="Theming">Temas</string>
|
||||
<string name="colorHexInvalid">O código hexadecimal da cor é inválido!</string>
|
||||
|
@ -832,8 +832,8 @@
|
||||
<string name="formatDateAtTime">%1$s в %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger для Android обновлён. Новое в версии 3.1:\n\n- Поиск сообщений внутри конкретного чата.\n- Полностью переработано меню вложений. Отправка контактов и аудиофайлов прямо из меню вложений.\n- Улучшено воспроизведение медиа в приложении (YouTube, Vimeo, SoundCloud и др.), новый плеер для больших аудиофайлов.\n\nБольше об этом обновлении:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<!--Telegram+ Russian-->
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="TelegramForAndroid">Plus Messenger для Android</string>
|
||||
<string name="Theming">Кастомизация</string>
|
||||
<string name="colorHexInvalid">Неверный hex-код темы!</string>
|
||||
|
@ -11,6 +11,7 @@
|
||||
<!--code enter view-->
|
||||
<string name="YourCode">Kodunuz</string>
|
||||
<string name="SentSmsCode">Telefonunuza bir etkinleştirme mesajı gönderdik</string>
|
||||
<string name="CallText">%1$d:%2$02d içinde sizi arayacağız</string>
|
||||
<string name="Calling">Sizi arıyoruz...</string>
|
||||
<string name="Code">Kod</string>
|
||||
<string name="WrongNumber">Numara yanlış mı?</string>
|
||||
@ -41,15 +42,20 @@
|
||||
<string name="ClearHistory">Geçmişi temizle</string>
|
||||
<string name="DeleteChat">Sil ve çık</string>
|
||||
<string name="DeleteChatUser">Sohbeti sil</string>
|
||||
<string name="HiddenName">Silinmiş Hesap</string>
|
||||
<string name="SelectChat">Sohbet Seç</string>
|
||||
<string name="SearchMessages">MESAJLAR</string>
|
||||
<string name="Search">Ara</string>
|
||||
<string name="MuteNotifications">Bildirimleri sustur</string>
|
||||
<string name="UnmuteNotifications">Sesi aç</string>
|
||||
<string name="MuteDisable">Devre dışı</string>
|
||||
<!--broadcasts-->
|
||||
<string name="NewBroadcastList">Yeni Yayın Listesi</string>
|
||||
<string name="EnterListName">Liste adı girin</string>
|
||||
<string name="YouCreatedBroadcastList">Bir yayın listesi oluşturdunuz</string>
|
||||
<string name="AddRecipient">Alıcı ekle</string>
|
||||
<string name="KickFromBroadcast">Yayın listesinden kaldır</string>
|
||||
<!--audio view-->
|
||||
<!--documents view-->
|
||||
<string name="SelectFile">Dosya Seç</string>
|
||||
<string name="FreeOfTotal">%1$s - %2$s</string>
|
||||
@ -69,6 +75,9 @@
|
||||
<string name="Typing">yazıyor...</string>
|
||||
<string name="IsTyping">yazıyor...</string>
|
||||
<string name="AreTyping">yazıyorlar...</string>
|
||||
<string name="IsSendingVideo">%1$s bir video gönderiyor...</string>
|
||||
<string name="RecordingAudio">Ses kaydediliyor...</string>
|
||||
<string name="SendingPhoto">fotoğraf gönderiliyor...</string>
|
||||
<string name="ChatTakePhoto">Fotoğraf çek</string>
|
||||
<string name="ChatGallery">Galeri</string>
|
||||
<string name="ChatLocation">Konum</string>
|
||||
@ -94,6 +103,7 @@
|
||||
<string name="SaveToDownloads">İndirilenleri kaydet</string>
|
||||
<string name="ApplyLocalizationFile">Dosya yerleştirmeyi uygula</string>
|
||||
<string name="UnsupportedAttachment">Desteklenmeyen eklenti</string>
|
||||
<string name="ServiceNotifications">Servis uyarıları</string>
|
||||
<!--notification-->
|
||||
<string name="MessageLifetimeChanged">%1$s kendini yok etme zamanlayıcısı %2$s olarak belirledi</string>
|
||||
<string name="MessageLifetimeChangedOutgoing">Kendini yok etme zamanlayıcısını %1$s olarak belirlediniz</string>
|
||||
@ -127,6 +137,7 @@
|
||||
<!--contacts view-->
|
||||
<string name="SelectContact">Kişi Seç</string>
|
||||
<string name="NoContacts">Henüz kişi yok</string>
|
||||
<string name="TodayAt">bugün</string>
|
||||
<string name="YesterdayAt">dün</string>
|
||||
<string name="Online">çevrimiçi</string>
|
||||
<string name="LastSeen">son görülme</string>
|
||||
@ -138,6 +149,8 @@
|
||||
<string name="EnterGroupNamePlaceholder">Grup adını girin</string>
|
||||
<string name="GroupName">Grup adı</string>
|
||||
<string name="MembersCount">%1$d/%2$d üye</string>
|
||||
<string name="JoinToGroup">\'%1$s\' grubuna katılmak istiyor musunuz?</string>
|
||||
<string name="JoinToGroupErrorNotExist">Üzgünüz, bu grup mevcut gibi görünmüyor.</string>
|
||||
<!--group info view-->
|
||||
<string name="SharedMedia">Paylaşılan İçerik</string>
|
||||
<string name="AddMember">Üye ekle</string>
|
||||
@ -157,10 +170,28 @@
|
||||
<string name="ShortMessageLifetimeForever">Kapalı</string>
|
||||
<string name="EncryptionKeyDescription">Bu resim <![CDATA[<b>]]>%1$s<![CDATA[</b>]]> ile yapılan bu gizli konuşmanın şifreleme anahtarının bir görselleştirmesidir.<![CDATA[<br><br>]]>Eğer resim <![CDATA[<b>]]>%2$s<![CDATA[</b>]]> kişisinin cihazında da tamamen aynı görünüyorsa, sohbetiniz %%200 güvenli demektir.<![CDATA[<br><br>]]>Daha fazla bilgi için telegram.org</string>
|
||||
<string name="NumberUnknown">Bilinmeyen</string>
|
||||
<string name="Info">Bilgi</string>
|
||||
<string name="Phone">Telefon</string>
|
||||
<!--usernames-->
|
||||
<string name="Username">Kullanıcı adı</string>
|
||||
<string name="UsernamePlaceholder">Kullanıcı Adınız</string>
|
||||
<string name="UsernameChecking">Kullanıcı adı kontrol ediliyor...</string>
|
||||
<string name="UsernameAvailable">%1$s kullanılabilir.</string>
|
||||
<string name="UsernameEmpty">Yok</string>
|
||||
<string name="ErrorOccurred">Bir hata oluştu.</string>
|
||||
<!--stickers view-->
|
||||
<string name="Stickers">Etiketler</string>
|
||||
<string name="AddStickers">Etiket ekle</string>
|
||||
<string name="AddToStickers">Etiketlere ekle</string>
|
||||
<string name="AddStickersNotFound">Etiket bulunamadı</string>
|
||||
<string name="StickersRemoved">Etiket kaldırıldı</string>
|
||||
<string name="AddStickersInstalled">Yeni etiket eklendi</string>
|
||||
<string name="StickersHide">Gizle</string>
|
||||
<string name="StickersShow">Göster</string>
|
||||
<string name="StickersShare">Paylaş</string>
|
||||
<string name="StickersCopy">Linki kopyala</string>
|
||||
<string name="StickersRemove">Kaldır</string>
|
||||
<string name="NoStickers">Henüz etiket yok</string>
|
||||
<!--settings view-->
|
||||
<string name="ResetNotificationsText">Tüm bildirim ayarlarını varsayılana sıfırla</string>
|
||||
<string name="TextSize">Mesaj Yazı Boyutu</string>
|
||||
@ -169,9 +200,12 @@
|
||||
<string name="Unblock">Engeli kaldır</string>
|
||||
<string name="UnblockText">Engeli kaldırmak için kullanıcıya dokunun ve bekleyin.</string>
|
||||
<string name="NoBlocked">Henüz engelli kullanıcı yok</string>
|
||||
<string name="MessageNotifications">Mesaj bildirimleri</string>
|
||||
<string name="Alert">Uyarı</string>
|
||||
<string name="MessagePreview">Mesaj Ön İzlemesi</string>
|
||||
<string name="GroupNotifications">Grup bildirimleri</string>
|
||||
<string name="Sound">Ses</string>
|
||||
<string name="InAppNotifications">Uygulama İçi bildirimler</string>
|
||||
<string name="InAppSounds">Sesler</string>
|
||||
<string name="InAppVibrate">Titreşim</string>
|
||||
<string name="Vibrate">Titreşim</string>
|
||||
@ -181,12 +215,16 @@
|
||||
<string name="UndoAllCustom">Tüm kişi ve gruplarınız için yapılan bildirim ayarlarını geri alın</string>
|
||||
<string name="NotificationsAndSounds">Bildirimler ve Sesler</string>
|
||||
<string name="BlockedUsers">Engellenen Kullanıcılar</string>
|
||||
<string name="LogOut">Oturumu kapat</string>
|
||||
<string name="NoSound">Ses yok</string>
|
||||
<string name="Default">Varsayılan</string>
|
||||
<string name="Support">Destek</string>
|
||||
<string name="OnlyIfSilent">Sadece sessizdeyken</string>
|
||||
<string name="ChatBackground">Sohbet Arka Planı</string>
|
||||
<string name="MessagesSettings">Mesajlar</string>
|
||||
<string name="SendByEnter">Giriş (Enter) Tuşu ile Gönderir</string>
|
||||
<string name="TerminateAllSessions">Diğer tüm oturumları kapat</string>
|
||||
<string name="Events">Etkinlikler</string>
|
||||
<string name="ContactJoined"> Kişi Telegram\'a katıldı!</string>
|
||||
<string name="Pebble">PEBBLE</string>
|
||||
<string name="Language">Dil</string>
|
||||
@ -215,16 +253,33 @@
|
||||
<string name="Long">Uzun</string>
|
||||
<string name="SystemDefault">Varsyılan</string>
|
||||
<string name="SettingsDefault">Varsayılan ayarlar</string>
|
||||
<string name="AutomaticMediaDownload">Medyayı otomatik indir</string>
|
||||
<string name="WhenUsingMobileData">Mobil veri kullanıldığında</string>
|
||||
<string name="WhenConnectedOnWiFi">Wi-Fi kullanıldığında</string>
|
||||
<string name="WhenRoaming">Dolaşımdayken</string>
|
||||
<string name="NoMediaAutoDownload">Medya Yok</string>
|
||||
<string name="SaveToGallerySettings">Galeriye kaydet</string>
|
||||
<string name="EditName">Adı düzenle</string>
|
||||
<string name="NotificationsPriority">Öncelik</string>
|
||||
<string name="NotificationsPriorityDefault">Varsayılan</string>
|
||||
<string name="NotificationsPriorityLow">Düşük</string>
|
||||
<string name="NotificationsPriorityHigh">Yüksek</string>
|
||||
<string name="NotificationsPriorityMax">En fazla</string>
|
||||
<string name="RepeatNotificationsNever">Asla</string>
|
||||
<string name="RepeatNotifications">Uyarıları tekrarla</string>
|
||||
<string name="PhoneNumberChange">NUMARA DEĞİŞTİR</string>
|
||||
<string name="ChangePhoneNewNumber">Yeni numara</string>
|
||||
<string name="NotificationsOther">Diğer</string>
|
||||
<string name="NotificationsDisabled">Devre dışı</string>
|
||||
<string name="VibrationDisabled">Devre dışı</string>
|
||||
<string name="LedDisabled">Devre dışı</string>
|
||||
<string name="RepeatDisabled">Kapalı</string>
|
||||
<string name="SoundDefault">Öntanımlı</string>
|
||||
<string name="SmartNotificationsDisabled">Engellenmiş</string>
|
||||
<!--sessions view-->
|
||||
<string name="OtherSessions">Aktif hesaplar</string>
|
||||
<!--passcode view-->
|
||||
<string name="EnterYourPasscode">Passcode\'unuzu giriniz</string>
|
||||
<!--media view-->
|
||||
<!--map view-->
|
||||
<string name="Map">Harita</string>
|
||||
@ -241,6 +296,13 @@
|
||||
<string name="Gallery">Galeri</string>
|
||||
<string name="AllPhotos">Tüm Fotoğraflar</string>
|
||||
<string name="NoPhotos">Henüz fotoğraf yok</string>
|
||||
<string name="ClearSearch">Arama geçmişini sil?</string>
|
||||
<string name="PickerPhotos">Fotoğraflar</string>
|
||||
<string name="PickerVideo">Video</string>
|
||||
<!--password view-->
|
||||
<string name="PleaseEnterPassword">Lütfen yeni şifrenizi girin</string>
|
||||
<string name="ChangeRecoveryEmail">Kurtarma e-posta adresini değiştir</string>
|
||||
<string name="ResetMyAccountWarning">Uyarı</string>
|
||||
<!--privacy settings-->
|
||||
<string name="PrivacyTitle">Gizlilik</string>
|
||||
<string name="PrivacyLastSeen">Son Görülme</string>
|
||||
@ -253,6 +315,7 @@
|
||||
<string name="EditVideo">Videoyu Düzenle</string>
|
||||
<string name="OriginalVideo">Orijinal Video</string>
|
||||
<string name="EditedVideo">Düzenlenmiş Video</string>
|
||||
<!--bot-->
|
||||
<!--button titles-->
|
||||
<string name="Next">İleri</string>
|
||||
<string name="Back">Geri</string>
|
||||
@ -294,6 +357,7 @@
|
||||
<string name="AttachVideo">Video</string>
|
||||
<string name="AttachLocation">Konum</string>
|
||||
<string name="AttachContact">Kişi</string>
|
||||
<string name="AttachDocument">Dosya</string>
|
||||
<string name="AttachAudio">Ses</string>
|
||||
<string name="FromYou">Siz</string>
|
||||
<string name="ActionTakeScreenshootYou">Ekran görüntüsü aldınız!</string>
|
||||
@ -391,14 +455,16 @@
|
||||
<string name="Weeks_few">%1$d hafta</string>
|
||||
<string name="Weeks_many">%1$d hafta</string>
|
||||
<string name="Weeks_other">%1$d hafta</string>
|
||||
<!--forwarded messages-->
|
||||
<string name="ForwardedAudio_two">%1$d gönderilmiş fotoğraf</string>
|
||||
<!--date formatters-->
|
||||
<string name="formatterDay24H">SS:dd</string>
|
||||
<string name="formatterDay24H">HH:mm</string>
|
||||
<!--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="updateBuild">586</string>
|
||||
<!--Telegram+--><!--
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">
|
||||
\n\nNew in 3.1.1.6:\n\n- Yeni MOD sohbet ekranında konuşmacıların profil fotoğrafları artık görünür olarak ayarlanıyor\n- Yeni balon eklendi (Teşekkürler bay Edwin Macalopu)\n- Yeni MOD sohbet ekranına duvar kağıdı ve yazı rengi eklenebiliniyor.\n- Küçük hata düzeltmeleri yapıldı ama Türkler sizin için saatin düzeldiği sözünü henüz veremem k bakmayın, ihsan.</string>-->
|
||||
\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>
|
||||
<string name="TelegramForAndroid">Android için Plus Messenger</string>
|
||||
<string name="Theming">Tema</string>
|
||||
<string name="colorHexInvalid">Geçersiz renk hex kodu!</string>
|
||||
@ -502,8 +568,8 @@
|
||||
<string name="KeepOriginalFilename">Orijinal dosya ismini tut</string>
|
||||
<string name="KeepOriginalFilenameHelp">Dosyalar sadece sayısal değer yerine isim_tarih şeklinde isimlendirilerek kaydedilecek</string>
|
||||
<string name="AvatarSize">Avatar Boyutu</string>
|
||||
<string name="AvatarAlignTop">Fotoğrafı başa hizala</string>
|
||||
<string name="AvatarMarginLeft">Avatar Sol Kenar Boşluğu</string>
|
||||
<string name="AvatarAlignTop">Fotoğrafı üste hizala</string>
|
||||
<string name="AvatarMarginLeft">Avatar kenar boşluğu</string>
|
||||
<string name="GroupNameColor">Grup isim rengi</string>
|
||||
<string name="GroupNameSize">Grup isim boyutu</string>
|
||||
<string name="UnknownNameColor">İsim Rengi (Bilinmeyen Numara)</string>
|
||||
@ -529,8 +595,12 @@
|
||||
<string name="AttachBGColor">Arka plan rengi ekle</string>
|
||||
<string name="AttachTextColor">Metin rengi ekle</string>
|
||||
<string name="ShowContactAvatar">Kişi fotoğrafını sohbet ekranda göster</string>
|
||||
<string name="ShowOwnAvatar">Sohbette kendi fotoğrafını göster</string>
|
||||
<string name="ShowOwnAvatarGroup">Grupta kendi fotoğrafını göster</string>
|
||||
<string name="OwnAvatarAlignTop">Fotoğrafını başa hizala</string>
|
||||
<string name="DialogColor">Başlık/buton rengi</string>
|
||||
<string name="ShowOwnAvatar">Sohbet ekranında kendi avatarını göster</string>
|
||||
<string name="ShowOwnAvatarGroup">Grup ekranında kendi avatarını göster</string>
|
||||
<string name="OwnAvatarAlignTop">Avatarı üste hizala</string>
|
||||
<string name="DialogColor">Diyalog başlık/buton rengi</string>
|
||||
<string name="ShowUsername">Kullanıcı adını üye ismiyle birlikte göster</string>
|
||||
<string name="DisableAudioStop">Sesi durdurma</string>
|
||||
<string name="ListDividerColor">Liste ayırıcı rengi</string>
|
||||
<string name="CenterAvatar">Avatarı, ismi ve telefonu ortala</string>
|
||||
</resources>
|
||||
|
@ -804,7 +804,7 @@
|
||||
<string name="formatDateAtTime">%1$s 的 %2$s</string>
|
||||
<!--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="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+--><!--
|
||||
<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>
|
||||
|
@ -808,10 +808,10 @@
|
||||
<string name="formatDateAtTime">%1$s 於時間 %2$s</string>
|
||||
<!--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="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">
|
||||
\n\n在 3.1.1.6 版的新功能:\n\n- 新的模組在聊天畫面顯示擁有的大頭照\n- 加入新的泡泡邊緣 (感謝 Edwin Macalopu)\n- 錯誤修復</string>
|
||||
\n\n在 3.1.1.9 版的新功能:\n\n- 新的模組在聊天畫面顯示擁有的大頭照\n- 加入新的泡泡邊緣 (感謝 Edwin Macalopu)\n- 錯誤修復</string>
|
||||
<string name="TelegramForAndroid">適用於 Android 的 Plus Messenger</string>
|
||||
<string name="Theming">自製佈景主題</string>
|
||||
<string name="colorHexInvalid">無效的十六進位顏色代碼!</string>
|
||||
@ -916,7 +916,7 @@
|
||||
<string name="KeepOriginalFilenameHelp">取代僅僅是數字的方式,檔案將被儲存為「名稱_日期」的格式</string>
|
||||
<string name="AvatarSize">大頭照大小</string>
|
||||
<string name="AvatarAlignTop">對齊大頭照到頂端</string>
|
||||
<string name="AvatarMarginLeft">大頭照左邊距</string>
|
||||
<string name="AvatarMarginLeft">大頭照邊緣</string>
|
||||
<string name="GroupNameColor">群組名稱顏色</string>
|
||||
<string name="GroupNameSize">群組名稱大小</string>
|
||||
<string name="UnknownNameColor">名稱顏色 (數量不明)</string>
|
||||
@ -943,5 +943,7 @@
|
||||
<string name="AttachTextColor">附加文字顏色</string>
|
||||
<string name="ShowContactAvatar">在聊天畫面中顯示聯絡人大頭照</string>
|
||||
<string name="ShowOwnAvatar">在聊天畫面中顯示擁有的大頭照</string>
|
||||
<string name="ShowOwnAvatarGroup">在群組畫面中顯示擁有的大頭照</string>
|
||||
<string name="OwnAvatarAlignTop">對齊擁有的大頭照到頂端</string>
|
||||
<string name="DialogColor">對話框標題/按鈕顏色</string>
|
||||
</resources>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
|
||||
|
||||
<resources>
|
||||
<string name="AppName">Plus Messenger</string>
|
||||
<string name="ShortAppName">Plus</string>
|
||||
@ -836,9 +834,9 @@
|
||||
<string name="formatDateAtTime">%1$s at %2$s</string>
|
||||
<!--update text-->
|
||||
<string name="updateText">Plus Messenger for Android has been updated. New in version 3.1:\n\n- Search for messages inside a specific chat.\n- Fully redesigned attachment menu. Send contacts and audio files straight from the attachment menu.\n- Improved in-app media playback (YouTube, Vimeo, SoundCloud etc.), new player for large audio files.\n\nMore about this update:\nhttps://telegram.org/blog/search-and-media</string>
|
||||
<string name="updateBuild">586</string>
|
||||
<string name="updateBuild">590</string>
|
||||
<!--Telegram+-->
|
||||
<string name="updatePlusText">\n\nNew in 3.1.1.6:\n\n- New MOD to show contact avatar in chat screen\n- New MOD to show own avatar in chat and group screen\n- New MOD to align own avatar to top\n- Added new bubbles Ed and Edge (thanks to Edwin Macalopu)\n- New MOD to change background and text color in attach view in chat screen\n- Added MOD to change color of dialog title and button\n- Bug fixes</string>
|
||||
<string name="updatePlusText">\n\nNew in 3.1.1.9:\n\n- New bubble iOS added (thanks to Edwin Macalopu)\n- New MOD to show username together with member name in groups\n- Shows group admin in group profile. Admin user has its own icon\n- New MOD to center avatar, name and phone in navigation menu\n- New MOD to keep playing audio in chat disabling proximity sensor action\n- New MOD to change icons color in profile screen\n- Bug fixes\n\nCheck and apply themes for Plus Messenger: https://play.google.com/store/apps/details?id=es.rafalense.themes</string>
|
||||
<string name="TelegramForAndroid">Plus Messenger for Android</string>
|
||||
<string name="Theming">Theming</string>
|
||||
<string name="colorHexInvalid">Invalid color hex code!</string>
|
||||
@ -973,4 +971,8 @@
|
||||
<string name="ShowOwnAvatarGroup">Show own avatar in group screen</string>
|
||||
<string name="OwnAvatarAlignTop">Align own avatar to top</string>
|
||||
<string name="DialogColor">Dialog title/button color</string>
|
||||
<string name="ShowUsername">Show username with member name</string>
|
||||
<string name="DisableAudioStop">Don\'t stop audio</string>
|
||||
<string name="ListDividerColor">List divider color</string>
|
||||
<string name="CenterAvatar">Center avatar, name and phone</string>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user