mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Fix for langset ts-ts, closes #419
This commit is contained in:
		@@ -65,7 +65,10 @@ public partial class Administration
 | 
				
			|||||||
                    _localization.SetGuildCulture(ctx.Guild, ci);
 | 
					                    _localization.SetGuildCulture(ctx.Guild, ci);
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                await ReplyConfirmLocalizedAsync(strs.lang_set(Format.Bold(ci.ToString()), Format.Bold(ci.NativeName)));
 | 
					                var nativeName = ci.NativeName;
 | 
				
			||||||
 | 
					                if (ci.Name == "ts-TS")
 | 
				
			||||||
 | 
					                    nativeName = _supportedLocales[ci.Name];
 | 
				
			||||||
 | 
					                await ReplyConfirmLocalizedAsync(strs.lang_set(Format.Bold(ci.ToString()), Format.Bold(nativeName)));
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            catch (Exception)
 | 
					            catch (Exception)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user