Fix missing month names in statistics chart
authorMarcel Werk <burntime@woltlab.com>
Mon, 21 Oct 2024 15:38:17 +0000 (17:38 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 21 Oct 2024 15:38:17 +0000 (17:38 +0200)
ref https://www.woltlab.com/community/thread/308895-acp-statistik-monatsnamen-in-legende-und-popups-fehlerhaft/

wcfsetup/install/files/acp/templates/stat.tpl

index 70e0f506c1f2c0d5753314f368b3eef2ffb94bb4..a4e2dcffe12d445aaaae527924a05385440a9054 100644 (file)
@@ -10,7 +10,8 @@
                        'wcf.acp.stat.timeFormat.weekly': '{jslang}wcf.acp.stat.timeFormat.weekly{/jslang}',
                        'wcf.acp.stat.timeFormat.monthly': '{jslang}wcf.acp.stat.timeFormat.monthly{/jslang}',
                        'wcf.acp.stat.timeFormat.yearly': '{jslang}wcf.acp.stat.timeFormat.yearly{/jslang}',
-                       'wcf.acp.stat.noData': '{jslang}wcf.acp.stat.noData{/jslang}'
+                       'wcf.acp.stat.noData': '{jslang}wcf.acp.stat.noData{/jslang}',
+                       '__monthsShort': [ '{jslang}wcf.date.month.short.jan{/jslang}', '{jslang}wcf.date.month.short.feb{/jslang}', '{jslang}wcf.date.month.short.mar{/jslang}', '{jslang}wcf.date.month.short.apr{/jslang}', '{jslang}wcf.date.month.short.may{/jslang}', '{jslang}wcf.date.month.short.jun{/jslang}', '{jslang}wcf.date.month.short.jul{/jslang}', '{jslang}wcf.date.month.short.aug{/jslang}', '{jslang}wcf.date.month.short.sep{/jslang}', '{jslang}wcf.date.month.short.oct{/jslang}', '{jslang}wcf.date.month.short.nov{/jslang}', '{jslang}wcf.date.month.short.dec{/jslang}' ],
                });
                
                new WCF.ACP.Stat.Chart();