Skip to content

Commit

Permalink
Version 0.10.14 alpha: fixed retina icon userpics, langs updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 18, 2016
1 parent 2f4b2d0 commit b33b59b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Telegram/Resources/langs/lang.strings
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
"lng_profile_audios_header" = "Voice messages overview";
"lng_profile_shared_links" = "{count:_not_used_|# shared link|# shared links}";
"lng_profile_shared_links_header" = "Shared links overview";
"lng_profile_copy_phone" = "Copy phone number";
"lng_profile_copy_fullname" = "Copy name";
"lng_profile_copy_phone" = "Copy Phone Number";
"lng_profile_copy_fullname" = "Copy Name";
"lng_profile_drop_area_title" = "Drop your image here";
"lng_profile_drop_area_subtitle" = "to set it as a group photo";
"lng_profile_drop_area_subtitle_channel" = "to set it as a channel photo";
Expand Down Expand Up @@ -837,9 +837,9 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org

"lng_context_copy_link" = "Copy Link";
"lng_context_copy_post_link" = "Copy Post Link";
"lng_context_copy_email" = "Copy email address";
"lng_context_copy_hashtag" = "Copy hashtag";
"lng_context_copy_mention" = "Copy username";
"lng_context_copy_email" = "Copy Email Address";
"lng_context_copy_hashtag" = "Copy Hashtag";
"lng_context_copy_mention" = "Copy Username";
"lng_context_save_image" = "Save Image As...";
"lng_context_forward_image" = "Forward Image";
"lng_context_delete_image" = "Delete Image";
Expand Down Expand Up @@ -976,7 +976,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org

"lng_new_version_wrap" = "Telegram Desktop was updated to version {version}\n\n{changes}\n\nFull version history is available here:\n{link}";
"lng_new_version_minor" = "— Bug fixes and other minor improvements";
"lng_new_version_text" = "— New cute design for the Settings page\n— Bug fixes and other minor improvements";
"lng_new_version_text" = "— New audio player design\n\nWindows and Linux:\n— Quick reply from notifications\n— Hide all notifications button added\n— Change notifications location and maximum count\n\nWindows 10:\n— Respecting quite hours for the notifications\n\nLinux:\n— You can enable native notifications in Settings";

"lng_menu_insert_unicode" = "Insert Unicode control character";

Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/structs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ struct ColorReferenceWrap {

ImagePtr generateUserpicImage(const style::icon &icon) {
auto data = QImage(icon.width() * cIntRetinaFactor(), icon.height() * cIntRetinaFactor(), QImage::Format_ARGB32_Premultiplied);
data.setDevicePixelRatio(cRetinaFactor());
{
Painter p(&data);
icon.paint(p, 0, 0, icon.width());
}
data.setDevicePixelRatio(cRetinaFactor());
return ImagePtr(App::pixmapFromImageInPlace(std_::move(data)), "PNG");
}

Expand Down

0 comments on commit b33b59b

Please sign in to comment.