french translation added for responses, Some string fixes
This commit is contained in:
		@@ -19,7 +19,8 @@ namespace NadekoBot.Modules.Administration
 | 
				
			|||||||
            private ImmutableDictionary<string, string> supportedLocales { get; } = new Dictionary<string, string>()
 | 
					            private ImmutableDictionary<string, string> supportedLocales { get; } = new Dictionary<string, string>()
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                {"en-US", "English, United States" },
 | 
					                {"en-US", "English, United States" },
 | 
				
			||||||
                {"sr-cyrl-rs", "Serbian, Cyrillic" }
 | 
					                {"fr-FR", "French, France" }
 | 
				
			||||||
 | 
					                //{"sr-cyrl-rs", "Serbian, Cyrillic" }
 | 
				
			||||||
            }.ToImmutableDictionary();
 | 
					            }.ToImmutableDictionary();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            [NadekoCommand, Usage, Description, Aliases]
 | 
					            [NadekoCommand, Usage, Description, Aliases]
 | 
				
			||||||
@@ -94,9 +95,10 @@ namespace NadekoBot.Modules.Administration
 | 
				
			|||||||
            [OwnerOnly]
 | 
					            [OwnerOnly]
 | 
				
			||||||
            public async Task LanguagesList()
 | 
					            public async Task LanguagesList()
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                await ReplyConfirmLocalized("lang_list",
 | 
					                await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor()
 | 
				
			||||||
                        string.Join("\n", supportedLocales.Select(x => $"{Format.Code(x.Key)} => {x.Value}")))
 | 
					                    .WithTitle(GetText("lang_list", ""))
 | 
				
			||||||
                    .ConfigureAwait(false);
 | 
					                    .WithDescription(string.Join("\n",
 | 
				
			||||||
 | 
					                        supportedLocales.Select(x => $"{Format.Code(x.Key), -10} => {x.Value}"))));
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -818,7 +818,7 @@ namespace NadekoBot.Modules.Music
 | 
				
			|||||||
            MusicPlayer musicPlayer;
 | 
					            MusicPlayer musicPlayer;
 | 
				
			||||||
            if (!MusicPlayers.TryGetValue(Context.Guild.Id, out musicPlayer))
 | 
					            if (!MusicPlayers.TryGetValue(Context.Guild.Id, out musicPlayer))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                await ReplyErrorLocalized("player_none").ConfigureAwait(false);
 | 
					                await ReplyErrorLocalized("no_player").ConfigureAwait(false);
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										13
									
								
								src/NadekoBot/Resources/ResponseStrings.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										13
									
								
								src/NadekoBot/Resources/ResponseStrings.Designer.cs
									
									
									
										generated
									
									
									
								
							@@ -1443,7 +1443,7 @@ namespace NadekoBot.Resources {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        ///    Looks up a localized string similar to Text Channel Destroyed .
 | 
					        ///    Looks up a localized string similar to Text Channel Created.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public static string administration_text_chan_created {
 | 
					        public static string administration_text_chan_created {
 | 
				
			||||||
            get {
 | 
					            get {
 | 
				
			||||||
@@ -3604,15 +3604,6 @@ namespace NadekoBot.Resources {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        ///    Looks up a localized string similar to No music player active..
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        public static string music_player_none {
 | 
					 | 
				
			||||||
            get {
 | 
					 | 
				
			||||||
                return ResourceManager.GetString("music_player_none", resourceCulture);
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        ///    Looks up a localized string similar to Player Queue - Page {0}/{1}.
 | 
					        ///    Looks up a localized string similar to Player Queue - Page {0}/{1}.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
@@ -4884,7 +4875,7 @@ namespace NadekoBot.Resources {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        ///    Looks up a localized string similar to Joes not loaded..
 | 
					        ///    Looks up a localized string similar to Jokes not loaded..
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public static string searches_jokes_not_loaded {
 | 
					        public static string searches_jokes_not_loaded {
 | 
				
			||||||
            get {
 | 
					            get {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2202
									
								
								src/NadekoBot/Resources/ResponseStrings.fr-fr.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2202
									
								
								src/NadekoBot/Resources/ResponseStrings.fr-fr.resx
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -755,7 +755,7 @@ Reason: {1}</value>
 | 
				
			|||||||
    __IgnoredChannels__: {2}</value>
 | 
					    __IgnoredChannels__: {2}</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="administration_text_chan_created" xml:space="preserve">
 | 
					  <data name="administration_text_chan_created" xml:space="preserve">
 | 
				
			||||||
    <value>Text Channel Destroyed </value>
 | 
					    <value>Text Channel Created</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="administration_text_chan_destroyed" xml:space="preserve">
 | 
					  <data name="administration_text_chan_destroyed" xml:space="preserve">
 | 
				
			||||||
    <value>Text Channel Destroyed </value>
 | 
					    <value>Text Channel Destroyed </value>
 | 
				
			||||||
@@ -1401,9 +1401,6 @@ Don't forget to leave your discord name or id in the message.
 | 
				
			|||||||
  <data name="music_paused" xml:space="preserve">
 | 
					  <data name="music_paused" xml:space="preserve">
 | 
				
			||||||
    <value>Music playback paused.</value>
 | 
					    <value>Music playback paused.</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="music_player_none" xml:space="preserve">
 | 
					 | 
				
			||||||
    <value>No music player active.</value>
 | 
					 | 
				
			||||||
  </data>
 | 
					 | 
				
			||||||
  <data name="music_player_queue" xml:space="preserve">
 | 
					  <data name="music_player_queue" xml:space="preserve">
 | 
				
			||||||
    <value>Player Queue - Page {0}/{1}</value>
 | 
					    <value>Player Queue - Page {0}/{1}</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
@@ -1757,7 +1754,7 @@ Don't forget to leave your discord name or id in the message.
 | 
				
			|||||||
    <value>Invalid source or target language.</value>
 | 
					    <value>Invalid source or target language.</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="searches_jokes_not_loaded" xml:space="preserve">
 | 
					  <data name="searches_jokes_not_loaded" xml:space="preserve">
 | 
				
			||||||
    <value>Joes not loaded.</value>
 | 
					    <value>Jokes not loaded.</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="searches_latlong" xml:space="preserve">
 | 
					  <data name="searches_latlong" xml:space="preserve">
 | 
				
			||||||
    <value>Lat/Long</value>
 | 
					    <value>Lat/Long</value>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user