mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 17:47:34 +00:00
Fix: possible unfound translation
This commit is contained in:
parent
4085a5148c
commit
cc3cfd5b3e
|
@ -10,9 +10,11 @@ list.Set("DesktopWindows", "GmodIntegration:DesktopWindows", {
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local report_bug_title = language.GetPhrase("gmod_integration.report_bug.title")
|
||||||
|
report_bug_title = report_bug_title == "gmod_integration.report_bug.title" && "Report Bug" || report_bug_title
|
||||||
list.Set("DesktopWindows", "GmodIntegration:DesktopWindows:ReportBug", {
|
list.Set("DesktopWindows", "GmodIntegration:DesktopWindows:ReportBug", {
|
||||||
icon = "gmod_integration/logo_context_report.png",
|
icon = "gmod_integration/logo_context_report.png",
|
||||||
title = language.GetPhrase("gmod_integration.report_bug.title"),
|
title = report_bug_title,
|
||||||
width = 960,
|
width = 960,
|
||||||
height = 700,
|
height = 700,
|
||||||
onewindow = true,
|
onewindow = true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user