mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
Add Pirate language only on Talk Like a Pirate Day
Let's see who finds this.
This commit is contained in:
parent
da27b0463e
commit
5f057f46ea
@ -161,6 +161,12 @@ UM.PreferencesPage
|
|||||||
append({ text: "Português do Brasil", code: "ptbr" })
|
append({ text: "Português do Brasil", code: "ptbr" })
|
||||||
append({ text: "Русский", code: "ru" })
|
append({ text: "Русский", code: "ru" })
|
||||||
append({ text: "Türkçe", code: "tr" })
|
append({ text: "Türkçe", code: "tr" })
|
||||||
|
|
||||||
|
var date_object = new Date();
|
||||||
|
if (date_object.getUTCMonth() == 8 && date_object.getUTCDate() == 19) //Only add Pirate on the 19th of September.
|
||||||
|
{
|
||||||
|
append({ text: "Pirate", code: "7s" })
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user