1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

[CI skip] Added french translators

This commit is contained in:
TheBusyBiscuit 2020-01-31 00:09:57 +01:00
parent d29d77f392
commit 6b7435a181
2 changed files with 8 additions and 2 deletions

View File

@ -49,7 +49,13 @@ public class GitHubService {
fuffles.setContribution("&dSkull Texture Artist", 0);
contributors.put(fuffles.getName(), fuffles);
// Translators - German
addTranslator("TheBusyBiscuit", "de");
// Translators - French
addTranslator("JustDams", "fr");
addTranslator("edkerforne", "fr");
addTranslator("tnthomastn", "fr");
}
private void addTranslator(String name, String language) {

View File

@ -1,6 +1,5 @@
package io.github.thebusybiscuit.slimefun4.core.services.github;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
@ -40,7 +39,8 @@ public class GitHubTask implements Runnable {
// There cannot be a texture found because it is not a valid MC username
contributor.setTexture(null);
}
catch(TooManyRequestsException x) {
catch(Exception x) {
// Too many requests
break;
}
}