3e48cf75483d11254e321c974799c6d5c0a420de mon Sep 17 00:00:00 2001From: Joseph Lee Date: Wed, 18 Jan 2017 15:50:08 -0800Subject: User guide: change URL for BRLTTY khổng lồ brltty.com. (#6729)Fixes #6728--- user_docs/en/user
Guide.t2t | 4 ++-- 1 tệp tin changed, 2 insertions(+), 2 deletions(-)diff --git a/user_docs/en/user
Guide.t2t b/user_docs/en/user
Guide.t2tindex 5df14973819..c19b0be42c6 100644--- a/user_docs/en/user
Guide.t2t+++ b/user_docs/en/user
Guide.t2t
Please see the Braille documentation ftp://ftp.once.es/pub/utt/bibliotecnia/ %kc:end
When a schema is updated, config files (base config and profiles)can be upgraded khổng lồ meet the new schema. The `schema
Version` (inconfig
Spec.py) should be incremented, and a new function should be addedto the `profile
Upgrade
Steps.py` tệp tin to make the changes required toconfig files before they are loaded.After all nâng cấp steps are made the tệp tin is validated, and any errorswill be in the log.--- source/config/__init__.py | 251 +++++++-------------------- source/config/config
Spec.py | 197 +++++++++++++++++++++ source/config/profile
Upgrade
Steps.py | 19 ++ source/config/profile
Upgrader.py | 73 ++++++++ 4 files changed, 348 insertions(+), 192 deletions(-) create mode 100644 source/config/config
Spec.py create mode 100644 source/config/profile
Upgrade
Steps.py create mode 100644 source/config/profile
Upgrader.pydiff --git a/source/config/__init__.py b/source/config/__init__.pyindex d7cf7bd324d..97c2c055c5f 100644--- a/source/config/__init__.py+++ b/source/config/__init__.py
+# -*- coding: UTF-8 -*-+#config\__init__.py+#A part of Non
from c
String
IO import String
IO import itertools import contextlib+from copy import deepcopy from collections import Ordered
Dict from configobj import Config
Obj, Config
Obj
Error from validate import Validator-from log
Handler import log+from log
Handler import log, level
Names+from logging import DEBUG import shlobj import base
Object import ease
Of
Access import win
Kernel+import profile
Upgrader+from .config
Spec import confspec def validate
Config(config
Obj,validator,validation
Result=None,key
List=None): """
type: Config
Obj-confspec = Config
Obj(String
IO(-"""# NVDA Configuration File---language = string(default="Windows")-save
Configuration
On
Exit = boolean(default=True)-ask
To
Exit = boolean(default=true)-play
Start
And
Exit
Sounds = boolean(default=true)-#possible log levels are DEBUG, IO, DEBUGWARNING, INFO-logging
Level = string(default="INFO")-show
Welcome
Dialog
At
Startup = boolean(default=true)--# Speech settings--# The synthesiser lớn use-synth = string(default=auto)-symbol
Level = integer(default=100)-trust
Voice
Language = boolean(default=true)-beep
Speech
Mode
Pitch = integer(default=10000,min=50,max=11025)-output
Device = string(default=default)-auto
Language
Switching = boolean(default=true)-auto
Dialect
Switching = boolean(default=false)--<<__many__>>-cap
Pitch
Change = integer(default=30,min=-100,max=100)-say
Cap
For
Capitals = boolean(default=false)-beep
For
Capitals = boolean(default=false)-use
Spelling
Functionality = boolean(default=true)--# Audio settings-