renpy/doc/cookbook/Translations

From Ren'Py

Jump to: navigation, search

(For more information about localizing Ren'Py, please see Localizing Ren'Py in the reference manual.)

# This file contains a list of all of the phrases you can translate
# from the Ren'Py common code.

init:

    # Translatable strings found in common/mainmenu.rpy

    $ library.translations[u'Start Game'] = u'Start Game'
    $ library.translations[u'Continue Game'] = u'Continue Game'
    $ library.translations[u'Preferences'] = u'Preferences'
    $ library.translations[u'Quit'] = u'Quit'

    # Translatable strings found in common/gamemenu.rpy

    $ library.translations[u'Return'] = u'Return'
    $ library.translations[u'Begin Skipping'] = u'Begin Skipping'
    $ library.translations[u'Save Game'] = u'Save Game'
    $ library.translations[u'Load Game'] = u'Load Game'
    $ library.translations[u'Main Menu'] = u'Main Menu'
    $ library.translations[u'Help'] = u'Help'
    $ library.translations[u'Empty Slot.'] = u'Empty Slot.'
    $ library.translations[u'Yes'] = u'Yes'
    $ library.translations[u'No'] = u'No'
    $ library.translations[u'Please click to continue.'] = u'Please click to continue.'
    $ library.translations[u'Are you sure you want to quit?'] = u'Are you sure you want to quit?'
    $ library.translations[u'Are you sure you want to return to the main menu?\nThis will lose unsaved progress.'] = u'Are you sure you want to return to the main menu?\nThis will lose unsaved progress.'
    $ library.translations[u'Loading will lose unsaved progress.\nAre you sure you want to do this?'] = u'Loading will lose unsaved progress.\nAre you sure you want to do this?'
    $ library.translations[u'Are you sure you want to overwrite your save?'] = u'Are you sure you want to overwrite your save?'
    $ library.translations[u'The error message was:'] = u'The error message was:'
    $ library.translations[u'You may want to try saving in a different slot, or playing for a while and trying again later.'] = u'You may want to try saving in a different slot, or playing for a while and trying again later.'
    $ library.translations[u'Save Failed.'] = u'Save Failed.'
    $ library.translations[u'Previous'] = u'Previous'
    $ library.translations[u'Next'] = u'Next'

    # Translatable strings found in common/voice.rpy

    $ library.translations[u'Voice Volume'] = u'Voice Volume'

    # Translatable strings found in common/library.rpy

    $ library.translations[u'Skip Mode'] = u'Skip Mode'
    $ library.translations[u'Fast Skip Mode'] = u'Fast Skip Mode'
    $ library.translations[u"While Ren'Py games may be playable without the renpy module, some features may be disabled. For more information, read the module/README.txt file or go to http://www.bishoujo.us/renpy/."] = u"While Ren'Py games may be playable without the renpy module, some features may be disabled. For more information, read the module/README.txt file or go to http://www.bishoujo.us/renpy/."
    $ library.translations[u'renpy module not found.'] = u'renpy module not found.'
    $ library.translations[u'The renpy module could not be loaded on your system.'] = u'The renpy module could not be loaded on your system.'
    $ library.translations[u'Old renpy module found.'] = u'Old renpy module found.'
    $ library.translations[u"An old version (%d) of the Ren'Py module was found on your system, while this game requires version %d."] = u"An old version (%d) of the Ren'Py module was found on your system, while this game requires version %d."

    # Translatable strings found in common/preferences.rpy

    $ library.translations[u'Test'] = u'Test'
    $ library.translations[u'Joystick Mapping'] = u'Joystick Mapping'
    $ library.translations[u'Not Assigned'] = u'Not Assigned'
    $ library.translations[u'Music Volume'] = u'Music Volume'
    $ library.translations[u'Sound Volume'] = u'Sound Volume'
    $ library.translations[u'Left'] = u'Left'
    $ library.translations[u'Right'] = u'Right'
    $ library.translations[u'Up'] = u'Up'
    $ library.translations[u'Down'] = u'Down'
    $ library.translations[u'Select/Dismiss'] = u'Select/Dismiss'
    $ library.translations[u'Rollback'] = u'Rollback'
    $ library.translations[u'Hold to Skip'] = u'Hold to Skip'
    $ library.translations[u'Toggle Skip'] = u'Toggle Skip'
    $ library.translations[u'Hide Text'] = u'Hide Text'
    $ library.translations[u'Menu'] = u'Menu'
    $ library.translations[u'Move the joystick or press a joystick button to create the mapping. Click the mouse to remove the mapping.'] = u'Move the joystick or press a joystick button to create the mapping. Click the mouse to remove the mapping.'
    $ library.translations[u'Display'] = u'Display'
    $ library.translations[u'Window'] = u'Window'
    $ library.translations[u'Fullscreen'] = u'Fullscreen'
    $ library.translations[u'Transitions'] = u'Transitions'
    $ library.translations[u'All'] = u'All'
    $ library.translations[u'Some'] = u'Some'
    $ library.translations[u'None'] = u'None'
    $ library.translations[u'Skip'] = u'Skip'
    $ library.translations[u'Seen Messages'] = u'Seen Messages'
    $ library.translations[u'All Messages'] = u'All Messages'
    $ library.translations[u'After Choices'] = u'After Choices'
    $ library.translations[u'Stop Skipping'] = u'Stop Skipping'
    $ library.translations[u'Keep Skipping'] = u'Keep Skipping'
    $ library.translations[u'Text Speed'] = u'Text Speed'
    $ library.translations[u'Auto-Forward Time'] = u'Auto-Forward Time'
    $ library.translations[u'Joystick...'] = u'Joystick...'
    $ library.translations[u'Joystick Configuration'] = u'Joystick Configuration'
Personal tools