Skip to content

Commit 6aec447

Browse files
committed
Import _ and SUPPORTED_LANGUAGES from omnipkg.i18n
1 parent b31191e commit 6aec447

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/omnipkg/core.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from datetime import datetime
4242
from pathlib import Path
4343
from typing import Dict, List, Optional, Set, Tuple
44-
44+
from omnipkg.i18n import _, SUPPORTED_LANGUAGES
4545
try:
4646
import redis
4747

@@ -10775,14 +10775,12 @@ def smart_install(
1077510775
if not self._connect_cache():
1077610776
return 1
1077710777

10778-
# ... rest of your existing smart_install code continues here ...
1077910778
if dry_run:
1078010779
safe_print("🔬 Running in --dry-run mode. No changes will be made.")
1078110780
return 0
1078210781
if not packages:
1078310782
safe_print("🚫 No packages specified for installation.")
1078410783
return 1
10785-
from .i18n import _ # Add this line at the top
1078610784

1078710785
install_strategy = None # ✅ Initialize at the top so it's always defined
1078810786

0 commit comments

Comments
 (0)