Skip to content

Commit

Permalink
add localisation strings to init
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaGW2 committed Dec 2, 2024
1 parent 86b6fa0 commit f2b3f2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ void AddonLoad(AddonAPI* aApi)
G::APIDefs->Textures.GetOrCreateFromResource(ICON_ARCDPS, RES_ICON_ARCDPS, G::LibHandle);
G::APIDefs->Textures.GetOrCreateFromResource(ICON_ARCDPS_HOVER, RES_ICON_ARCDPS_HOVER, G::LibHandle);
G::APIDefs->QuickAccess.Add(ADDON_NAME, ICON_ARCDPS, ICON_ARCDPS_HOVER, KB_ARCDPS_OPTIONS, "ArcDPS Options");
G::APIDefs->Localization.Set(KB_ARCDPS_OPTIONS, "en", "Toggle ArcDPS Options");
G::APIDefs->Localization.Set(KB_ARCDPS_OPTIONS, "de", "ArcDPS Optionen umschalten");
//G::APIDefs->Localization.Set(KB_ARCDPS_OPTIONS, "es", "Toggle ArcDPS Options");
//G::APIDefs->Localization.Set(KB_ARCDPS_OPTIONS, "fr", "Toggle ArcDPS Options");
}

void AddonUnload()
Expand Down

0 comments on commit f2b3f2f

Please sign in to comment.