pyatcron-devel-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pyatcron-devel-list] Status Update & Question


From: Chris Flanigan
Subject: [Pyatcron-devel-list] Status Update & Question
Date: Sun, 13 Jun 2004 19:40:51 -0500
User-agent: Mozilla Thunderbird 0.6 (X11/20040502)

I have attached the en_US translated PO file which contains all translateable strings. The only exception to this are the glade files. I need the developers to use the glade development utility (I could, just very busy with the integration process) to generate messages.pot for the glade files. I will integrate that into pyatcron.po and that will contain all of the strings.

To update you on the status of my work, here is a CHANGELOG of sorts.

################################################################################3

# Directory Structure
/usr/local/cvs/pyatcron/src/locales
/usr/local/cvs/pyatcron/src/locales/en_US
/usr/local/cvs/pyatcron/src/locales/en_US/LC_MESSAGES
# New Files
/usr/local/cvs/pyatcron/src/get_messages.sh
       - This file is supposed to extract all strings from all .py files.
/usr/local/cvs/pyatcron/src/locales/en_US/pyatcron.po
- This is the PO file containing all translateable strings from every .py file in the source tree.
/usr/local/cvs/pyatcron/src/locales/en_US/LC_MESSAGES/pyatcron.mo
- This is the MO file containing all compiled and translated strings.
# ./src/config.py
LOCALE_PATH           = PYATCRON_PATH + "/locales/"

################################################################################

I was wondering, by looking at your code.. what YOU think the best method is of setting _() as a global function in the project - without redundant redeclarations and such. I have an idea, but obviously you guys are more familiar with the code...


# address@hidden
# English Translation
# Copyright (C) 2004
# Chris Flanigan <address@hidden>, 2004.

msgid ""
msgstr ""

"Project-Id-Version: $id\n"
"PO-Revision-Date: Sun Jun 12 18:57:11 2004\n"
"Last-Translator: Chris Flanigan <address@hidden>\n"
"Language-Team: English <address@hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"

# ./src/pyatcron.py

msgid   "You need to install pyGTK or GTKv2"
msgstr  "You need to install pyGTK or GTKv2"

msgid   "or set your PYTHONPATH correctly"
msgstr  "or set your PYTHONPATH correctly"

# ./src/config.py

msgid   "Hmm, first time using address@hidden, creating personal data folder"
msgstr  "Hmm, first time using address@hidden, creating personal data folder"

# ./src/lib/about.py

msgid   "Release "
msgstr  "Release "

# ./src/lib/errors.py

msgid   "Unknown PyAtCron error occured"
msgstr  "Unknown PyAtCron error occured"

msgid   "Error while parsing 'crontab -l' output: "
msgstr  "Error while parsing 'crontab -l' output: "

msgid   "Error in ScheduleList: "
msgstr  "Error in ScheduleList: "

# ./src/lib/gui.py

msgid   "Task"
msgstr  "Task"

msgid   "Schedule"
msgstr  "Schedule"

msgid   "SchedulerEditor::on_scheduler_changed: NOT IMPLEMENTED"
msgstr  "SchedulerEditor::on_scheduler_changed: NOT IMPLEMENTED"

# ./src/lib/mainwin.py

#msgid  "Task"
#msgstr "Task"

msgid   "Next run"
msgstr  "Next run"

msgid   "Quit without saving?"
msgstr  "Quit without saving?"

msgid   "You have some unsaved data\nDo you really want to quit?"
msgstr  "You have some unsaved data\nDo you really want to quit?"

# ./src/lib/newtask.py

msgid   "Basic command line"
msgstr  "Basic command line"

msgid   "Use the list on the left to choose the type of task you would like to 
add."
msgstr  "Use the list on the left to choose the type of task you would like to 
add."

msgid   "Choose the type of task"
msgstr  "Choose the type of task"

msgid   "PAGE 2 NOT SET"
msgstr  "PAGE 2 NOT SET"

msgid   "Configure the task"
msgstr  "Configure the task"

msgid   "PAGE 3 NOT SET"
msgstr  "PAGE 3 NOT SET"

#msgid  "Configure the task"
#msgstr "Configure the task"

msgid   "Value"
msgstr  "Value"

# ./src/lib/parser.py

msgid   "WARNING - saveEntryList method must be overridden"
msgstr  "WARNING - saveEntryList method must be overridden"

msgid   "fields missing in cron command"
msgstr  "fields missing in cron command"

msgid   "Non matching alpha chars in field"
msgstr  "Non matching alpha chars in field"

msgid   "AtEntryParser::saveEntryList: NOT IMPLEMENTED"
msgstr  "AtEntryParser::saveEntryList: NOT IMPLEMENTED"

msgid   "     Processing Active At scheduler: TO BE DONE"
msgstr  "     Processing Active At scheduler: TO BE DONE"

msgid   "AtEntryParser::__parseAtJob: NOT IMPLEMENTED"
msgstr  "AtEntryParser::__parseAtJob: NOT IMPLEMENTED"

# ./src/lib/scheduler.py

msgid   "This class will be used to create schedules for either the At or Cron 
programs"
msgstr  "This class will be used to create schedules for either the At or Cron 
programs"

msgid   "Sunday"
msgstr  "Sunday"

msgid   "Monday"
msgstr  "Monday"

msgid   "Tuesday"
msgstr  "Tuesday"

msgid   "Wednesday"
msgstr  "Wednesday"

msgid   "Thursday"
msgstr  "Thursday"

msgid   "Friday"
msgstr  "Friday"

msgid   "Saturday"
msgstr  "Saturday"

msgid   "Minute"
msgstr  "Minute"

msgid   "Hour"
msgstr  "Hour"

msgid   "Month day"
msgstr  "Month day"

msgid   "Month"
msgstr  "Month"

msgid   "Weekday"
msgstr  "Weekday"

msgid   "NOT AVAILABLE"
msgstr  "NOT AVAILABLE"

msgid   "Select schedule values"
msgstr  "Select schedule values"

msgid   "Recurrent task"
msgstr  "Recurrent task"

msgid   "Scheduler::setActive: active status set to True"
msgstr  "Scheduler::setActive: active status set to True"

msgid   "Scheduler::setActive: active status set to False"
msgstr  "Scheduler::setActive: active status set to False"

msgid   "Name        : "
msgstr  "Name        : "

msgid   "Type        : "
msgstr  "Type        : "

msgid   "Active      : "
msgstr  "Active      : "

msgid   "Task        : "
msgstr  "Task        : "

msgid   "minute      : "
msgstr  "minute      : "

msgid   "hour        : "
msgstr  "hour        : "

msgid   "day of month: "
msgstr  "day of month: "

msgid   "month       : "
msgstr  "month       : "

msgid   "day of week : "
msgstr  "day of week : "

msgid   "year        : "
msgstr  "year        : "

#msgid  "Value"
#msgstr "Value"

# ./src/lib/syntacticengine.py

msgid   "Value outside of system limits"
msgstr  "Value outside of system limits"

# ./src/lib/task.py

msgid   "Generic task"
msgstr  "Generic task"

msgid   "Widget not set"
msgstr  "Widget not set"

msgid   "Command line task: "
msgstr  "Command line task: "

msgid   "Command to run:"
msgstr  "Command to run:"

msgid   "Command options:"
msgstr  "Command options:"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]