Files
geodonkey-qgis-plugin/geodonkey/i18n.py
T
2026-12-01 19:59:12 +01:00

16 lines
353 B
Python

from __future__ import annotations
try:
from qgis.PyQt.QtCore import QCoreApplication
def tr(text: str, context: str = "GeoDonkey") -> str:
return QCoreApplication.translate(context, text)
except ImportError:
def tr(text: str, context: str = "GeoDonkey") -> str:
return text
def later(text: str) -> str:
return text