This file is indexed.

/usr/share/pyshared/childsplay_sp/SPHelpText.py is in childsplay 1.6-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
# -*- coding: utf-8 -*-

# Copyright (c) 2007 Stas Zykiewicz <stas.zytkiewicz@gmail.com>
#
#           SPHelpText.py
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License
# as published by the Free Software Foundation.  A copy of this license should
# be included in the file GPL-3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# This module contains classes that provide larger help text for different parts
# of schoolsplay, including the GUI.
# The objects are arranged in a way that resembles a python package
# For example, to get the text for the GUI SPCheckPass Login frame:
# ht = SPHelpText.SPCheckPass.Login

from SPConstants import HOMEDIR

class SPCheckPass(object):
    Login = _(\
"If you start the GUI for the first time there's no\
 username and password set so you should just hit the 'Login' button.\n\
 You will get a warning message telling you to set as soon as possible\
 a username and password.\nYou can set a username and password in the GUI.\n\
 Go to 'Settings' -> 'Set password'.")
     
    TopLevel = _(\
"Failed to get the dbase data, try to run childsplay_sp first to setup the dbase")

class SPgdm(object):
    _info_button_callback = _(\
"Give your login name in the box and hit the login button.\
 Alternatively you can just hit the login button and run Childsplay_sp in\
 anonymous mode.")

class DataManager(object):
    _replace_dbase = _(\
"There was an error in the database this can be caused by many things\
 but most of the time it's caused by the fact that your version of the database\
 doesn't match the version of the program.\
 I will backup your original database and then replace it with a new one.\
 The original database is now called sp.db_back and it's placed in %s" % HOMEDIR)

class CP_find_char_sound(object):
    ActivityStart = _(\
"It seems that we cannot use the sound card right now and because this activity\
 is all about sound, we just quit.\
 This problem can also be caused by another application which uses the\
 soundcard right now.")

class AdminGui(object):
    on_button_help = _(\
"This database table holds the values used when displaying the results graph in an activity.\n\
The column 'MU-value' holds an integer between 0 and 10 indicating the average score.(the dark blue line).\n\
The column 'SIGMA-value' holds an integer between 0 an 100 indicating the standard\
 deviation in percentage, probably always 50. (the light blue box)\n\n\
Click on the row you want to alter and then click on the field you wish to edit.\n\
You cannot edit the 'Activity name' field.\n\
Use the 'Save' button to store the changes in the database.")


class ToolTipText(object):
    """The names of the attributes must be the same as the activity module names.
    String must conform to the following syntax:
    <Proper english name> <comma> <the word 'difficulty'><semi colon><space><number of 'stars' eg '*'
    """
    memory = _("Memory, difficulty: */**")
    soundmemory = _("Sound memory, difficulty: */**")
    memorylower = _("Lower case characters memory, difficulty: */**")
    memoryupper = _("Upper case characters memory, difficulty: */**")
    memorynumbers = _("Numbers memory, difficulty: */**")
    fishtank = _("Aquarium mouse training, difficulty: *")
    findsound = _("Sound association, difficulty: *")
    find_char_sound = _("Sound association, difficulty: */**")
    billiard = _("Billiard, difficulty: **/***")
    fallingletters = _("Keyboard training, difficulty: *")
    pong = _("Pong classic tennis game, difficulty: *")
    puzzle = _("Puzzle, difficulty: */**")
    packid = _("Packid, difficulty: **/***")
    flashcards = _("Flashcards, difficulty: *")
    
class ActivityType(object):
    """These type strings are placed here so that the gettext can pick them
    up and place them in the pofile
    They are not used in the program. Perhaps in the future."""
    MemoryType = _("Memory")
    MathType = _("Math")
    PuzzleType = _("Puzzle")
    KeyboardtrainingType = _("Keyboardtraining")
    MousetrainingType = _("Mousetraining")
    LanguageType = _("Language")
    AlphabetType = _("Alphabet")
    FunType = _("Fun")
    MiscellaneousType = _("Miscellaneous")