#9428: Internationalize the Sage Notebook
-------------------------------------------------+--------------------------
Reporter: timdumol | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: notebook | Keywords:
Author: Luiz Aquino, Dan Drake, Tim Dumol | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------------------------+--------------------------
Comment(by LuizAquino):
It installed ok. But, you didn't comment (or remove) the line 4166 in
"sagenb/notebook/worksheet.js". Without this change, I got an error when I
tried to save a new worksheet. The last messages about this error were:
{{{
File "/home/lcaquino/Instaladores/sage/sage/local/lib/python2.6
/site-packages/sagenb-0.8.2_dev_i18n-py2.6.egg/sagenb/notebook/twist.py",
line 864, in render
self.worksheet.save_snapshot(self.username)
File "/home/lcaquino/Instaladores/sage/sage/local/lib/python2.6
/site-packages/sagenb-0.8.2_dev_i18n-
py2.6.egg/sagenb/notebook/worksheet.py", line 1964, in save_snapshot
self.limit_snapshots()
File "/home/lcaquino/Instaladores/sage/sage/local/lib/python2.6
/site-packages/sagenb-0.8.2_dev_i18n-
py2.6.egg/sagenb/notebook/worksheet.py", line 2060, in limit_snapshots
amnesty = int(calendar.timegm(time.strptime("01 May 2009", "%d
%b %Y")))
File
"/home/lcaquino/Instaladores/sage/sage/local/lib/python/_strptime.py",
line 454, in _strptime_time
return _strptime(data_string, format)[0]
File
"/home/lcaquino/Instaladores/sage/sage/local/lib/python/_strptime.py",
line 325, in _strptime
(data_string, format))
exceptions.ValueError: time data '01 May 2009' does not match
format '%d %b %Y'
}}}
By the way, you forgot to put the strings in the files "localization.js"
and "translated-messages.js" as pointed above.
When we finish the work with this package, how do you think to instruct
another user to add new localization files? Do you think to ask them to
send to you the localization files and then you add it to the package?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9428#comment:30>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.