Skip to content

Commit

Permalink
Replace instances of "KoboToolbox" with "KoBoToolbox"
Browse files Browse the repository at this point in the history
  • Loading branch information
noliveleger committed Apr 28, 2022
1 parent 313cfd5 commit 9376480
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions helpers/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def help():
'',
' Options:',
' -i, --info',
' Show KoBoToolbox Url and super user credentials',
' Show KoboToolbox Url and super user credentials',
' -l, --logs',
' Display docker logs',
' -b, --build',
Expand All @@ -32,9 +32,9 @@ def help():
' -s, --setup',
' Prompt questions to (re)write configuration files',
' -S, --stop',
' Stop KoBoToolbox',
' Stop KoboToolbox',
' -u, --update, --upgrade [branch or tag]',
' Update KoBoToolbox',
' Update KoboToolbox',
' -cf, --compose-frontend [docker-compose arguments]',
' Run a docker-compose command in the front-end '
'environment',
Expand Down Expand Up @@ -462,7 +462,7 @@ def stop(cls, output=True, frontend_only=False):
CLI.run_command(backend_command, dict_['kobodocker_path'])

if output:
CLI.colored_print('KoBoToolbox has been stopped', CLI.COLOR_SUCCESS)
CLI.colored_print('KoboToolbox has been stopped', CLI.COLOR_SUCCESS)

@classmethod
def stop_maintenance(cls):
Expand Down
4 changes: 2 additions & 2 deletions helpers/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ def __questions_super_user_credentials(self):
message = (
'WARNING!\n\n'
'You have configured a new password for the super user.\n'
'This change will *not* take effect if KoBoToolbox has ever '
'This change will *not* take effect if KoboToolbox has ever '
'been started before. Please use the web interface to change '
'passwords for existing users.\n'
'If you have forgotten your password:\n'
Expand Down Expand Up @@ -2272,7 +2272,7 @@ def __welcome():
'Welcome to kobo-install.\n'
'\n'
'You are going to be asked some questions that will determine how '
'to build the configuration of `KoBoToolBox`.\n'
'to build the configuration of `KoboToolBox`.\n'
'\n'
'Some questions already have default values (within brackets).\n'
'Just press `enter` to accept the default value or enter `-` to '
Expand Down
8 changes: 4 additions & 4 deletions helpers/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,16 @@ def update_hosts(cls, dict_):
dict_ (dict): Dictionary provided by `Config.get_dict()`
"""
if dict_['local_installation']:
start_sentence = '### (BEGIN) KoBoToolbox local routes'
end_sentence = '### (END) KoBoToolbox local routes'
start_sentence = '### (BEGIN) KoboToolbox local routes'
end_sentence = '### (END) KoboToolbox local routes'

_, tmp_file_path = tempfile.mkstemp()

with open('/etc/hosts', 'r') as f:
tmp_host = f.read()

start_position = tmp_host.find(start_sentence)
end_position = tmp_host.find(end_sentence)
start_position = tmp_host.lower().find(start_sentence.lower())
end_position = tmp_host.lower().find(end_sentence.lower())

if start_position > -1:
tmp_host = tmp_host[0: start_position] \
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
packages=find_packages(exclude=['tests']),
url='https://github.com/kobotoolbox/kobo-install/',
license='',
author='KoBoToolbox',
author='KoboToolbox',
author_email='',
description='Installer for KoBoToolbox'
description='Installer for KoboToolbox'
)
4 changes: 2 additions & 2 deletions templates/kobo-env/enketo_express/config.json.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"app name": "Enketo Express for KoBo Toolbox",
"app name": "Enketo Express for KoboToolbox",
"linked form and data server": {
"name": "KoBo Toolbox",
"name": "KoboToolbox",
"server url": "",
"api key": "${ENKETO_API_KEY}"
},
Expand Down

0 comments on commit 9376480

Please sign in to comment.