mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-01 19:34:42 +00:00
Merge pot files
This commit is contained in:
5
dist/linux/ghostty_nautilus.py
vendored
5
dist/linux/ghostty_nautilus.py
vendored
@@ -17,13 +17,12 @@
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
import gettext
|
||||
from gi.repository import Nautilus, GObject, Gio
|
||||
|
||||
DOMAIN = "com.mitchellh.ghostty"
|
||||
share_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
locale_dir = os.path.join(share_dir, "locale")
|
||||
locale_dir = Path(__file__).absolute().parents[2] / "locale"
|
||||
_ = gettext.translation(DOMAIN, locale_dir, fallback=True).gettext
|
||||
|
||||
def open_in_ghostty_activated(_menu, paths):
|
||||
|
||||
Reference in New Issue
Block a user