diff --git a/portablemc/cli/lang.py b/portablemc/cli/lang.py index 341310f..c3dee0d 100644 --- a/portablemc/cli/lang.py +++ b/portablemc/cli/lang.py @@ -89,7 +89,7 @@ def get(key: str, **kwargs) -> str: "args.start.version.comp.release": "Start the latest release (default).", "args.start.version.comp.snapshot": "Start the latest snapshot.", "args.start.version.comp.fabric": "Start Fabric mod loader with latest release.", - "args.start.version.comp.legacyfabric": "Start LegacyFabric mod loader with latest release.", + "args.start.version.comp.legacyfabric": "Start (legacy) Fabric mod loader with latest release.", "args.start.version.comp.quilt": "Start Quilt mod loader with latest release.", "args.start.version.comp.forge": "Start Forge mod loader with latest release.", "args.start.version.comp.neoforge": "Start NeoForge mod loader with latest release.", diff --git a/portablemc/fabric.py b/portablemc/fabric.py index 182b9a5..beca34b 100644 --- a/portablemc/fabric.py +++ b/portablemc/fabric.py @@ -42,9 +42,9 @@ def request_fabric_loader_versions(self) -> Iterator[str]: class FabricVersion(Version): def __init__(self, api: FabricApi, vanilla_version: str, loader_version: Optional[str], - prefix: str, *, - context: Optional[Context] = None, - ) -> None: + prefix: str, *, + context: Optional[Context] = None, + ) -> None: super().__init__("", context=context) # Do not give a root version for now. @@ -55,18 +55,18 @@ def __init__(self, api: FabricApi, vanilla_version: str, loader_version: Optiona @classmethod def with_fabric(cls, vanilla_version: str = "release", loader_version: Optional[str] = None, *, - context: Optional[Context] = None, - prefix: str = "fabric" - ) -> "FabricVersion": + context: Optional[Context] = None, + prefix: str = "fabric" + ) -> "FabricVersion": """Construct a root for resolving a Fabric version. """ return cls(FABRIC_API, vanilla_version, loader_version, prefix, context=context) @classmethod def with_quilt(cls, vanilla_version: str = "release", loader_version: Optional[str] = None, *, - context: Optional[Context] = None, - prefix: str = "quilt" - ) -> "FabricVersion": + context: Optional[Context] = None, + prefix: str = "quilt" + ) -> "FabricVersion": """Construct a root for resolving a Quilt version. """ return cls(QUILT_API, vanilla_version, loader_version, prefix, context=context) @@ -134,7 +134,6 @@ class FabricResolveEvent: """Event triggered when the loader version is missing and is being resolved. """ __slots__ = "api", "vanilla_version", "loader_version" - def __init__(self, api: FabricApi, vanilla_version: str, loader_version: Optional[str]) -> None: self.api = api self.vanilla_version = vanilla_version