Lines Matching +refs:tr +refs:args

12 from thonny.languages import tr
33 def _create_pip_process(self, args): argument
34 return self._create_python_process(["-m", "thonny.plugins.micropython.minipip"] + args)
48 title=tr("Confirmation"),
49 message=tr(
117 dialog_title=tr("Deleting"),
164 def _create_python_process(self, args): argument
165 proc = running.create_frontend_python_process(args, stderr=subprocess.STDOUT)
174 self.title_label["text"] = tr("Module") + (" '%s'" % name)
187 self._append_info_text(tr("Installed to:") + " ", ("caption",))
199 self._append_info_text(tr("Shadowed items (not importable):") + "\n", ("caption",))
248 tr(
259 tr(
280 args = ["install"]
282 args.append("-r")
283 args.append(filename)
284 args.append("--target")
285 args.append(self._current_temp_dir)
287 return args
293 self._append_info_text(tr("Upgrade or uninstall") + "\n", ("caption",))
295 "end", tr("For upgrading simply install the package again.") + "\n"
298 "end", tr("For uninstalling delete corresponding files.") + "\n\n"
312 self._append_info_text(tr("Scope") + "\n", ("caption",))
325 "end", tr("This dialog lists top-level modules from following directories:\n")
334 self._append_info_text(tr("New packages will be installed to") + "\n")
340 self._append_info_text(tr("Not available") + "\n", ("caption",))
342 reason = " (" + tr("no absolute lib directory in sys.path") + ")"
382 def _run_pip_with_dialog(self, args, title) -> Tuple[int, str, str]: argument
383 args = ["-m", "thonny.plugins.micropython.minipip"] + args
384 proc = running.create_frontend_python_process(args, stderr=subprocess.STDOUT)
415 def _run_pip_with_dialog(self, args, title) -> Tuple[int, str, str]: argument
416 args = ["-m", "thonny.plugins.micropython.minipip"] + args
417 proc = running.create_frontend_python_process(args, stderr=subprocess.STDOUT)