コード例 #1
0
 def save_mode_start(self):
   self.selectModeForSaveVC.select(mode_manager.get_available_modes(), self.currentMode, cancel_label=words.abbrechen(c=rulesets.C_BOS), save_label=words.speichern(c=rulesets.C_BOS), overwrite_label=words.ueberschreiben(c=rulesets.C_BOS), style='sheet')
コード例 #2
0
 def load_mode_start(self, load_mode_type):
   self.load_mode_type = load_mode_type
   self.selectModeVC.select(
       mode_manager.get_available_modes(), cancel_label=words.abbrechen(c=rulesets.C_BOS), 
       close_label=words.schlieszen(c=rulesets.C_BOS),
       title = 'Regelsatz laden' if load_mode_type == LOAD_MODE_RULESET else 'Referenz laden')