Use a separate lang key for sticker pack remove.
This commit is contained in:
		
							parent
							
								
									7940ef24ab
								
							
						
					
					
						commit
						cb5ba7edda
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -928,6 +928,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
 | 
				
			||||||
"lng_stickers_group_from_featured" = "Choose from trending stickers";
 | 
					"lng_stickers_group_from_featured" = "Choose from trending stickers";
 | 
				
			||||||
"lng_stickers_search_sets" = "Search sticker sets";
 | 
					"lng_stickers_search_sets" = "Search sticker sets";
 | 
				
			||||||
"lng_stickers_nothing_found" = "No stickers found";
 | 
					"lng_stickers_nothing_found" = "No stickers found";
 | 
				
			||||||
 | 
					"lng_stickers_remove_pack_confirm" = "Remove";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"lng_in_dlg_photo" = "Photo";
 | 
					"lng_in_dlg_photo" = "Photo";
 | 
				
			||||||
"lng_in_dlg_album" = "Album";
 | 
					"lng_in_dlg_album" = "Album";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2301,7 +2301,7 @@ void StickersListWidget::removeSet(uint64 setId) {
 | 
				
			||||||
	if (it != sets.cend()) {
 | 
						if (it != sets.cend()) {
 | 
				
			||||||
		_removingSetId = it->id;
 | 
							_removingSetId = it->id;
 | 
				
			||||||
		auto text = lng_stickers_remove_pack(lt_sticker_pack, it->title);
 | 
							auto text = lng_stickers_remove_pack(lt_sticker_pack, it->title);
 | 
				
			||||||
		Ui::show(Box<ConfirmBox>(text, lang(lng_box_remove), base::lambda_guarded(this, [this] {
 | 
							Ui::show(Box<ConfirmBox>(text, lang(lng_stickers_remove_pack_confirm), base::lambda_guarded(this, [this] {
 | 
				
			||||||
			Ui::hideLayer();
 | 
								Ui::hideLayer();
 | 
				
			||||||
			auto &sets = Auth().data().stickerSetsRef();
 | 
								auto &sets = Auth().data().stickerSetsRef();
 | 
				
			||||||
			auto it = sets.find(_removingSetId);
 | 
								auto it = sets.find(_removingSetId);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue