Skip to content

Commit

Permalink
translating comments from french to english
Browse files Browse the repository at this point in the history
  • Loading branch information
SpigotRCE committed Jan 26, 2025
1 parent 3c3b29a commit d9ec949
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public static void setTheme(String theme) {
}

/**
* Rend l'arrière-plan selon le thème actuel.
* Renders the background according to the current theme.
*/
public static void render(DrawContext context, int width, int height) {
String theme = getTheme(); // Récupérer le thème à partir de la configuration
String theme = getTheme(); // Retrieve theme from configuration
switch (theme) {
case "ParadiseHack" -> renderMatrix(context, width, height);
case "ParadiseParticle" -> renderElegantBackground(context, width, height);
Expand All @@ -37,7 +37,7 @@ public static void render(DrawContext context, int width, int height) {
}


// Thème Hack (style Matrix)
// Theme Hack (style matrix)
public static void renderMatrix(DrawContext context, int width, int height) {
context.fillGradient(0, 0, width, height, 0xCC000000, 0xCC000000);
for (int i = 0; i < drops.length; i++) {
Expand All @@ -50,7 +50,7 @@ public static void renderMatrix(DrawContext context, int width, int height) {
}
}

// Thème Particle (particules dynamiques)
// Theme Particle (dynamic particles)
public static void renderElegantBackground(DrawContext context, int width, int height) {
context.fillGradient(0, 0, width, height, 0xFF1A237E, 0xFF882dbd); // Bleu -> Violet
for (Particle particle : particles) {
Expand Down

0 comments on commit d9ec949

Please sign in to comment.