Skip to content

Commit

Permalink
Re-add i18n_catalog
Browse files Browse the repository at this point in the history
Apparently this catalogue is being used by the package manager and the cloud syncing code.
They shouldn't use it, really. They should create their own catalogue instead of using this singleton.
However removing this singleton would be an API break so I can't. I'll leave this in here.
  • Loading branch information
Ghostkeeper committed Apr 28, 2020
1 parent 14598d7 commit 8154dfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UM/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
## \package UM
# This is the main library for Uranium applications.

from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")

import warnings
warnings.simplefilter("once", DeprecationWarning)

0 comments on commit 8154dfb

Please sign in to comment.