Skip to content

Commit

Permalink
Remove change font hint,
Browse files Browse the repository at this point in the history
since cet now support multilingual font display
  • Loading branch information
Nats-ji committed Jun 26, 2023
1 parent 2d28ee9 commit 67731ca
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions scripts/modules/gui/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,6 @@ local function settings_popup()

-- Language menu
if ImGui.BeginMenu(IconGlyphs.Translate.."\t".."Language") then
ImGui.Text(i18n("text_select_lang"))
ImGui.SameLine()

ImGui.PushStyleVar(ImGuiStyleVar.FramePadding, 0, 0) -- help ? button padding
if ImGui.Button("?", ImGui.GetFontSize() + dpi.Scale(2), ImGui.GetFontSize() + dpi.Scale(2)) then
CETMM.GetBackEnd().OpenUrl("font_wiki")
end
ImGui.PopStyleVar()
if ImGui.IsItemHovered() then
ImGui.SetTooltip(i18n("tooltip_btn_howto_change_font"))
end

for _, entry in ipairs(languages) do
if select(2, ImGui.MenuItem(entry.name, "", options.m_lang == entry.id)) then
options.m_lang = entry.id
Expand Down

0 comments on commit 67731ca

Please sign in to comment.