[PATCH] Traslate
Esteban Arias
earias at plan.ceibal.edu.uy
Wed Jun 2 11:50:36 EDT 2010
---
po/es.po | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/po/es.po b/po/es.po
index 587608f..0e138a4 100644
--- a/po/es.po
+++ b/po/es.po
@@ -1275,6 +1275,45 @@ msgstr "Fuente del paquete de la actividad"
msgid "View source: %r"
msgstr "Ver c=F3digo fuente: %r"
+#: ../src/jarabe/journal/volumestoolbar.py:196
+msgid "Journal Backup"
+msgstr "Respaldar Diario"
+
+#: ../src/jarabe/journal/volumestoolbar.py:208
+msgid "Journal Restore"
+msgstr "Restaurar Diario"
+
+#: ../src/jarabe/journal/backup.py:84
+msgid "backup"
+msgstr "respaldar"
+
+#: ../src/jarabe/journal/backup.py:84
+msgid "restore"
+msgstr "restaurar"
+
+#: ../src/jarabe/journal/backup.py:89
+msgid ""
+"Close all activities and do not remove the external device during the
process. \n\n"
+"To make the backup of the Journal, a restart is required. \n\n"
+"The backup can only be restore from this computer"
+msgstr ""
+"Cierre todas las actividades y no extraiga el dispositivo externo durante
el proceso. \n\n"
+"Para realizar el respaldo del Diario, se requiere reiniciar. \n\n"
+"El resplado s=F3lo podr=E1 ser recuperado desde este equipo "
+
+#: ../src/jarabe/journal/backup.py:94
+msgid ""
+"The content you restore will overwrite the current contents of the
Journal. \n\n"
+"Do not remove the external device during the process. \n"
+"To implement the restoration of the Journal, a restart is required. \n\n"
+"It will restore the backup done for this computer "
+msgstr ""
+"El contenido que restaurar=E1 va a sobrescribir el contenido acutal del
Diario. \n\n"
+"No extraiga el dispositivo externo durante el proceso. \n"
+"Para aplicar la restauraci=F3n del Diario, se requiere reiniciar. \n\n"
+"Se restaurar=E1 el respado realizado para este equipo "
+
+
#~ msgid "Cannot obtain data needed for registration."
#~ msgstr "No se puede obtener datos necesarios para el registro"
--=20
1.6.2.5
--=20
Esteban Arias
Plan Ceibal - =C1rea T=E9cnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 601.57.73 Interno 2228
E-mail : earias at plan.ceibal.edu.uy
--001636e0b9b8e73b3104880e573f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
hi, <br>I attached patches of journal backup on volumenes.<br>then, we need=
migrate to 0.84.<br><br><br>From 3c28e29e44b8b30a2598ed7e90b3ca3ac809c89e =
Mon Sep 17 00:00:00 2001<br>From: Esteban Arias <<a href=3D"mailto:earia=
s at plan.ceibal.edu.uy" target=3D"_blank">earias at plan.ceibal.edu.uy</a>><b=
r>
Date: Wed, 2 Jun 2010 12:32:59 -0300<br>
Subject: [PATCH] Adds-JournalVolumePalette<br>Organization: Plan Ceibal<br>=
<br>---<br>=A0src/jarabe/journal/volumestoolbar.py |=A0=A0 42 +++++++++++++=
++++++++++++++++++++-<br>=A01 files changed, 41 insertions(+), 1 deletions(=
-)<br>
<br>diff --git a/src/jarabe/journal/volumestoolbar.py b/src/jarabe/journal/=
volumestoolbar.py<br>index 74b974c..cc7ae38 100644<br>--- a/src/jarabe/jour=
nal/volumestoolbar.py<br>+++ b/src/jarabe/journal/volumestoolbar.py<br>
@@ -1,4 +1,6 @@<br>=A0# Copyright (C) 2007, One Laptop Per Child<br>+# Copy=
right (C) 2010, Plan Ceibal <<a href=3D"mailto:comunidad at plan.ceibal.edu=
.uy" target=3D"_blank">comunidad at plan.ceibal.edu.uy</a>><br>+# Copyright=
(C) 2010, Paraguay Educa <<a href=3D"mailto:tecnologia at paraguayeduca.or=
g" target=3D"_blank">tecnologia at paraguayeduca.org</a>><br>
=A0#<br>=A0# This program is free software; you can redistribute it and/or =
modify<br>=A0# it under the terms of the GNU General Public License as publ=
ished by<br>@@ -22,13 +24,17 @@ import gio<br>=A0import gtk<br>=A0import gc=
onf<br>
=A0<br>+from sugar.graphics.icon import Icon<br>=A0from sugar.graphics.radi=
otoolbutton import RadioToolButton<br>=A0from sugar.graphics.palette import=
Palette<br>=A0from sugar.graphics.xocolor import XoColor<br>+from sugar.gr=
aphics.menuitem import MenuItem<br>
=A0<br>=A0from jarabe.journal import model<br>+from jarabe.journal.backup i=
mport Backup<br>=A0from jarabe.view.palettes import VolumePalette<br>=A0<br=
>+<br>=A0class VolumesToolbar(gtk.Toolbar):<br>=A0=A0=A0=A0 __gtype_name__ =
=3D 'VolumesToolbar'<br>
=A0<br>@@ -164,7 +170,7 @@ class VolumeButton(BaseButton):<br>=A0=A0=A0=A0=
=A0=A0=A0=A0 self.props.xo_color =3D color<br>=A0<br>=A0=A0=A0=A0 def creat=
e_palette(self):<br>-=A0=A0=A0=A0=A0=A0=A0 palette =3D VolumePalette(self._=
mount)<br>+=A0=A0=A0=A0=A0=A0=A0 palette =3D JournalVolumePalette(self._mou=
nt)<br>
=A0=A0=A0=A0=A0=A0=A0=A0 #palette.props.invoker =3D FrameWidgetInvoker(self=
)<br>=A0=A0=A0=A0=A0=A0=A0=A0 #palette.set_group_id('frame')<br>=A0=
=A0=A0=A0=A0=A0=A0=A0 return palette<br>@@ -179,3 +185,37 @@ class JournalB=
utton(BaseButton):<br>=A0=A0=A0=A0=A0=A0=A0=A0 color =3D XoColor(client.get=
_string('/desktop/sugar/user/color'))<br>
=A0=A0=A0=A0=A0=A0=A0=A0 self.props.xo_color =3D color<br>=A0<br>+class Jou=
rnalVolumePalette(VolumePalette):<br>+<br>+=A0=A0=A0 __gtype_name__ =3D =
9;JournalVolumePalette'<br>+<br>+=A0=A0=A0 def __init__(self, mount):<b=
r>+=A0=A0=A0=A0=A0=A0=A0 VolumePalette.__init__(self, mount)<br>
+<br>+=A0=A0=A0=A0=A0=A0=A0 journal_separator =3D gtk.SeparatorMenuItem()<b=
r>+=A0=A0=A0=A0=A0=A0=A0 self.menu.append(journal_separator)<br>+=A0=A0=A0=
=A0=A0=A0=A0 journal_separator.show()<br>+<br>+=A0=A0=A0=A0=A0=A0=A0 menu_i=
tem_journal_backup =3D MenuItem(_('Journal Backup'))<br>
+=A0=A0=A0=A0=A0=A0=A0 icon =3D Icon(icon_name=3D'transfer-to', ico=
n_size=3Dgtk.ICON_SIZE_MENU)<br>+=A0=A0=A0=A0=A0=A0=A0 menu_item_journal_ba=
ckup.set_image(icon)<br>+=A0=A0=A0=A0=A0=A0=A0 icon.show()<br>+=A0=A0=A0=A0=
=A0=A0=A0 menu_item_journal_backup.connect('activate', self.__journ=
al_backup_activate_cb, mount.get_root().get_path())<br>
+=A0=A0=A0=A0=A0=A0=A0 self.menu.append(menu_item_journal_backup)<br>+=A0=
=A0=A0=A0=A0=A0=A0 menu_item_journal_backup.show()<br>+<br>+=A0=A0=A0=A0=A0=
=A0=A0 menu_item_journal_restore =3D MenuItem(_('Journal Restore'))=
<br>+=A0=A0=A0=A0=A0=A0=A0 icon =3D Icon(icon_name=3D'transfer-from'=
;, icon_size=3Dgtk.ICON_SIZE_MENU)<br>
+=A0=A0=A0=A0=A0=A0=A0 menu_item_journal_restore.set_image(icon)<br>+=A0=A0=
=A0=A0=A0=A0=A0 icon.show()<br>+=A0=A0=A0=A0=A0=A0=A0 menu_item_journal_res=
tore.connect('activate', self.__journal_restore_activate_cb, mount.=
get_root().get_path())<br>+=A0=A0=A0=A0=A0=A0=A0 self.menu.append(menu_item=
_journal_restore)<br>
+=A0=A0=A0=A0=A0=A0=A0 menu_item_journal_restore.show()<br>+<br>+=A0=A0=A0 =
def __journal_backup_activate_cb(self, menu_item, mount_path):<br>+=A0=A0=
=A0=A0=A0=A0=A0 self._do_backup =3D Backup('backup', mount_path)<br=
>+=A0=A0=A0=A0=A0=A0=A0 self._do_backup.show()<br>
+<br>+=A0=A0=A0 def __journal_restore_activate_cb(self, menu_item, mount_pa=
th):<br>+=A0=A0=A0=A0=A0=A0=A0 self._do_restore =3D Backup('restore'=
;, mount_path)<br>+=A0=A0=A0=A0=A0=A0=A0 self._do_restore.show()<br>-- <br>=
1.6.2.5<br><br clear=3D"all">From 1e85ffa2955e7ca5761786ae63934ed9a41acffb =
Mon Sep 17 00:00:00 2001<br>
From: Esteban Arias <<a href=3D"mailto:earias at plan.ceibal.edu.uy">earias=
@plan.ceibal.edu.uy</a>><br>Date: Wed, 2 Jun 2010 12:48:03 -0300<br>Subj=
ect: [PATCH] Adds-view-and-scripts-for-volumes-backup-restore<br>Organizati=
on: Plan Ceibal<br>
<br>---<br>=A0bin/Makefile.am=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 |=A0=A0=A0 2 +<br>=A0bin/journal-backup-volume=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0 65 +++++++++<br>=A0bin/journal-resto=
re-volume=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0=A0 67 ++++++++++<br>=A0src/=
jarabe/journal/Makefile.am=A0=A0=A0=A0=A0=A0=A0 |=A0=A0=A0 3 +-<br>
=A0src/jarabe/journal/backup.py=A0=A0=A0=A0=A0=A0=A0=A0=A0 |=A0 231 +++++++=
++++++++++++++++++++++++++<br>=A0src/jarabe/model/Makefile.am=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 |=A0=A0=A0 3 +-<br>=A0src/jarabe/model/processmanagement.py=
|=A0=A0 88 +++++++++++++<br>=A07 files changed, 457 insertions(+), 2 delet=
ions(-)<br>
=A0create mode 100644 bin/journal-backup-volume<br>=A0create mode 100644 bi=
n/journal-restore-volume<br>=A0create mode 100644 src/jarabe/journal/backup=
.py<br>=A0create mode 100644 src/jarabe/model/processmanagement.py<br><br>d=
iff --git a/bin/Makefile.am b/bin/Makefile.am<br>
index 05a9215..90f157a 100644<br>--- a/bin/Makefile.am<br>+++ b/bin/Makefil=
e.am<br>@@ -9,6 +9,8 @@ python_scripts =3D=A0=A0=A0 =A0=A0=A0 \<br>=A0<br>=
=A0bin_SCRIPTS =3D =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 \<br>=A0=A0=A0=A0 sugar=A0=
=A0=A0 =A0=A0=A0 =A0=A0=A0 \<br>+=A0=A0=A0 journal-backup-volume=A0=A0=A0 =
=A0=A0=A0 =A0=A0=A0 \<br>
+=A0=A0=A0 journal-restore-volume=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 \<br>=A0=A0=
=A0=A0 $(python_scripts)<br>=A0<br>=A0EXTRA_DIST =3D $(python_scripts) <a h=
ref=3D"http://sugar.in">sugar.in</a><br>diff --git a/bin/journal-backup-vol=
ume b/bin/journal-backup-volume<br>new file mode 100644<br>
index 0000000..e4a070f<br>--- /dev/null<br>+++ b/bin/journal-backup-volume<=
br>@@ -0,0 +1,65 @@<br>+#!/bin/bash<br>+# Journal Backup<br>+# Copyright (C=
) 2010 Plan Ceibal<br>+# Copyright (C) 2010 Paraguay Educa<br>+#<br>+# This=
program is free software: you can redistribute it and/or modify<br>
+# it under the terms of the GNU General Public License as published by<br>=
+# the Free Software Foundation, either version 3 of the License, or<br>+# =
(at your option) any later version.<br>+#<br>+# This program is distributed=
in the hope that it will be useful,<br>
+# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+# MER=
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=A0 See the<br>+# GNU Gene=
ral Public License for more details.<br>+#<br>+# You should have received a=
copy of the GNU General Public License<br>
+# along with this program.=A0 If not, see <<a href=3D"http://www.gnu.or=
g/licenses/">http://www.gnu.org/licenses/</a>>.<br>+#<br>+# Contact info=
rmation: <a href=3D"mailto:comunidad at plan.ceibal.edu.uy">comunidad at plan.cei=
bal.edu.uy</a><br>
+# Plan Ceibal <a href=3D"http://www.ceibal.edu.uy">http://www.ceibal.edu.u=
y</a><br>+<br>+function check_for_errors() {<br>+=A0=A0=A0 if [[ $? !=3D 0 =
]]; then<br>+=A0=A0=A0 =A0=A0=A0 echo "$1" >&2<br>+=A0=A0=
=A0 =A0=A0=A0 exit 1<br>+=A0=A0=A0 fi;<br>
+}<br>+<br>+function validate_path() {<br>+=A0=A0=A0 if !(test -e "$1&=
quot;); then<br>+=A0=A0=A0 =A0=A0=A0 echo "No such file $1" >&=
amp;2<br>+=A0=A0=A0 =A0=A0=A0 exit 1<br>+=A0=A0=A0 fi;<br>+}<br>+<br>+DATAS=
TORE=3D"$HOME/.sugar/default/datastore/"<br>
+validate_path $DATASTORE<br>+<br>+if [ -z "$1" ]; then<br>+=A0=
=A0=A0 echo "Backup path is not valid." >&2<br>+=A0=A0=A0 =
exit 1<br>+fi;<br>+<br>+PARAMS_PATH=3D$1<br>+validate_path $PARAMS_PATH<br>=
+<br>+if [ -z "$2" ]; then<br>
+=A0=A0=A0 echo "Backup name is not valid." >&2<br>+=A0=A0=
=A0 exit 1<br>+fi;<br>+<br>+SERIAL=3D$2<br>+<br>+#TODO: Lets find a sugar-w=
ay to do this?<br>+pkill -f -x "python /usr/bin/datastore-service"=
;<br>+<br>
+BACKUP_PATH=3D$PARAMS_PATH/.backup/$SERIAL/<br>+mkdir -p $BACKUP_PATH<br>+=
<br>+cd $DATASTORE;<br>+tar -zcf "$BACKUP_PATH"datastore.tar.gz .=
/*<br>+<br>+check_for_errors<br>+<br>+exit 0<br>diff --git a/bin/journal-re=
store-volume b/bin/journal-restore-volume<br>
new file mode 100644<br>index 0000000..134be1c<br>--- /dev/null<br>+++ b/bi=
n/journal-restore-volume<br>@@ -0,0 +1,67 @@<br>+#!/bin/bash<br>+# Journal =
Restore<br>+# Copyright (C) 2010 Plan Ceibal<br>+# Copyright (C) 2010 Parag=
uay Educa<br>
+#<br>+# This program is free software: you can redistribute it and/or modi=
fy<br>+# it under the terms of the GNU General Public License as published =
by<br>+# the Free Software Foundation, either version 3 of the License, or<=
br>
+# (at your option) any later version.<br>+#<br>+# This program is distribu=
ted in the hope that it will be useful,<br>+# but WITHOUT ANY WARRANTY; wit=
hout even the implied warranty of<br>+# MERCHANTABILITY or FITNESS FOR A PA=
RTICULAR PURPOSE.=A0 See the<br>
+# GNU General Public License for more details.<br>+#<br>+# You should have=
received a copy of the GNU General Public License<br>+# along with this pr=
ogram.=A0 If not, see <<a href=3D"http://www.gnu.org/licenses/">http://w=
ww.gnu.org/licenses/</a>>.<br>
+#<br>+# Contact information: <a href=3D"mailto:comunidad at plan.ceibal.edu.u=
y">comunidad at plan.ceibal.edu.uy</a><br>+# Plan Ceibal <a href=3D"http://www=
.ceibal.edu.uy">http://www.ceibal.edu.uy</a><br>+<br>+function check_for_er=
rors() {<br>
+=A0=A0=A0 if [[ $? !=3D 0 ]]; then<br>+=A0=A0=A0 =A0=A0=A0 echo "$1&q=
uot; >&2<br>+=A0=A0=A0 =A0=A0=A0 exit 1<br>+=A0=A0=A0 fi;<br>+}<br>+=
<br>+function validate_path() {<br>+=A0=A0=A0 if !(test -e "$1");=
then<br>+=A0=A0=A0 =A0=A0=A0 echo "No such file $1" >&2<b=
r>
+=A0=A0=A0 =A0=A0=A0 exit 1<br>+=A0=A0=A0 fi;<br>+}<br>+<br>+DATASTORE_PATH=
=3D"$HOME/.sugar/default/datastore/"<br>+validate_path $DATASTORE=
_PATH<br>+<br>+if [ -z "$1" ]; then<br>+=A0=A0=A0 echo "Back=
up path is not valid." >&2<br>
+=A0=A0=A0 exit 1<br>+fi;<br>+<br>+PARAMS_PATH=3D$1<br>+validate_path $PARA=
MS_PATH<br>+<br>+if [ -z "$2" ]; then<br>+=A0=A0=A0 echo "Ba=
ckup name is not valid." >&2<br>+=A0=A0=A0 exit 1<br>+fi;<br>+<=
br>+SERIAL=3D$2<br>
+<br>+BACKUP_FILE=3D$PARAMS_PATH/.backup/$SERIAL/datastore.tar.gz<br>+valid=
ate_path $BACKUP_FILE<br>+<br>+#TODO: Lets find a sugar-way to do this?<br>=
+pkill -f -x "python /usr/bin/datastore-service"<br>+<br>+cd $DAT=
ASTORE_PATH<br>
+rm -rf $DATASTORE_PATH*<br>+<br>+tar -xvzf $BACKUP_FILE<br>+<br>+check_for=
_errors<br>+<br>+exit 0<br>diff --git a/src/jarabe/journal/Makefile.am b/sr=
c/jarabe/journal/Makefile.am<br>index f4bf273..6a3091e 100644<br>--- a/src/=
jarabe/journal/Makefile.am<br>
+++ b/src/jarabe/journal/Makefile.am<br>@@ -14,4 +14,5 @@ sugar_PYTHON =3D=
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 \<br>=A0=A0=A0=A0 model.py=A0=A0=A0=
=A0=A0=A0 =A0=A0=A0 \<br>=A0=A0=A0=A0 objectchooser.py=A0=A0=A0 =A0=A0=A0 =
\<br>=A0=A0=A0=A0 palettes.py=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 \<br>-=A0=A0=A0 =
volumestoolbar.py<br>+=A0=A0=A0 volumestoolbar.py \<br>
+=A0=A0=A0 backup.py<br>diff --git a/src/jarabe/journal/backup.py b/src/jar=
abe/journal/backup.py<br>new file mode 100644<br>index 0000000..1b12660<br>=
--- /dev/null<br>+++ b/src/jarabe/journal/backup.py<br>@@ -0,0 +1,231 @@<br=
>+#!/usr/bin/env python<br>
+# Copyright (C) 2010, Plan Ceibal <<a href=3D"mailto:comunidad at plan.cei=
bal.edu.uy">comunidad at plan.ceibal.edu.uy</a>><br>+# Copyright (C) 2010, =
Paraguay Educa <<a href=3D"mailto:tecnologia at paraguayeduca.org">tecnolog=
ia at paraguayeduca.org</a>><br>
+#<br>+# This program is free software: you can redistribute it and/or modi=
fy<br>+# it under the terms of the GNU General Public License as published =
by<br>+# the Free Software Foundation, either version 3 of the License, or<=
br>
+# (at your option) any later version.<br>+#<br>+# This program is distribu=
ted in the hope that it will be useful,<br>+# but WITHOUT ANY WARRANTY; wit=
hout even the implied warranty of<br>+# MERCHANTABILITY or FITNESS FOR A PA=
RTICULAR PURPOSE.=A0 See the<br>
+# GNU General Public License for more details.<br>+#<br>+# You should have=
received a copy of the GNU General Public License<br>+# along with this pr=
ogram.=A0 If not, see <<a href=3D"http://www.gnu.org/licenses/">http://w=
ww.gnu.org/licenses/</a>>.<br>
+<br>+import os<br>+import gtk<br>+import gobject<br>+import gconf<br>+impo=
rt logging<br>+<br>+from gettext import gettext as _<br>+from sugar.graphic=
s import style<br>+from sugar.graphics.icon import Icon<br>+from sugar.grap=
hics.xocolor import XoColor<br>
+<br>+from jarabe.model.session import get_session_manager<br>+from jarabe.=
model.processmanagement import ProcessManagement<br>+<br>+PATH_BACKUP =3D &=
#39;/usr/bin/journal-backup-volume'<br>+PATH_RESTORE =3D '/usr/bin/=
journal-restore-volume'<br>
+<br>+class Backup(gtk.Window):<br>+<br>+=A0=A0=A0 __gtype_name__ =3D '=
SugarJournalBackup'<br>+<br>+=A0=A0=A0 def __init__(self, type_ps, moun=
t_path):<br>+<br>+=A0=A0=A0=A0=A0=A0=A0 self._type_ps =3D type_ps<br>+=A0=
=A0=A0=A0=A0=A0=A0 self._mount_path =3D mount_path<br>
+<br>+=A0=A0=A0=A0=A0=A0=A0 if self._isValidType(self._type_ps):<br>+=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 if ((not self._mount_path =3D=3D "") =
and (not self._mount_path =3D=3D None)):<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 self._progressBarHandler =3D None<br>+<br>+=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 gtk.Window.__init__(self)<br>
+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.set_border_width(s=
tyle.LINE_WIDTH)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 width =
=3D gtk.gdk.screen_width()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 height =3D gtk.gdk.screen_height()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 self.set_size_request(width, height)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.set_position(gtk.WIN_PO=
S_CENTER_ALWAYS)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.set=
_decorated(False)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.se=
t_resizable(False)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.s=
et_modal(True)<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.=
_main_view =3D gtk.EventBox()<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._vbox =3D gtk.VBox()<br=
>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._vbox.set_spacing(styl=
e.DEFAULT_SPACING)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._=
vbox.set_border_width(style.GRID_CELL_SIZE)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 self._main_view.modify_bg(gtk.STATE_NORMAL,<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 style.COLOR_BLACK.get_g=
dk_color())<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._main_vi=
ew.add(self._vbox)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._=
vbox.show()<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 client =
=3D gconf.client_get_default()<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 color =3D XoColor(client.get=
_string('/desktop/sugar/user/color'))<br>+<br>+=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 icon =3D Icon(icon_name=3D'activity-journal=
',<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 pixel_size=3Dstyle.XLARGE_ICON_SIZE,<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 xo_color=3Dcolor)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 self._vbox.pack_start(icon, False)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 icon.show()<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 self._title =3D gtk.Label()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 self._title.modify_fg(gtk.STATE_NORMAL,<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 style.COLOR_WHITE.get_gdk_color())<=
br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._title.set_markup(&#=
39;<b>%s</b>' % _(self._type_ps))<br>+=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 self._vbox.pack_start(self._title, False)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._title.show()<br>+<br>+=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if self._type_ps =3D=3D '=
backup':<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
lbl_txt =3D _("Close all activities and do not remove the external dev=
ice during the process. \n\n"<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 "To make the backup of the Journal, a restart is=
required. \n\n"<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "The backup can only be =
restore from this computer")<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 elif self._type_ps =3D=3D 'restore':<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 lbl_txt =3D _(&q=
uot;The content you restore will overwrite the current contents of the Jour=
nal. \n\n"<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "Do not remove the external de=
vice during the process. \n"<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 "To implement the restoration of the Journal, a =
restart is required. \n\n"<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "It will restor=
e the backup done for this computer ")<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 lbl_txt +=3D self._get_seria=
l_number()<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._mes=
sage =3D gtk.Label(lbl_txt)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 self._message.modify_fg(gtk.STATE_NORMAL,<br>+=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 style.COLOR_WHITE.get_gdk_color())<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._message.set_line_wrap(=
True)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._vbox.pack_sta=
rt(self._message, True)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 s=
elf._message.show()<br>+<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 vbox =3D gtk.VBox(False, 5)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 vbox.show()<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 hbox =3D gtk.HBox(True, 3)<b=
r>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 hbox.show()<br>+<br>+=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 valign =3D gtk.Alignment(0, 1, 0=
, 0)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 valign.show()<br>+=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 vbox.pack_start(valign)<br>+<=
br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._accept =3D gtk.Butt=
on()<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._accept.set_label(_(=
9;Accept'))<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._acc=
ept.show()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._accept.c=
onnect('clicked', self.__accept_cb)<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 self._show_journal =3D gtk.Button()<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._show_journal.set_label=
(_('Close'))<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self=
._show_journal.show()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 sel=
f._show_journal.connect('clicked', self.__show_journal_cb)<br>+<br>=
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._restart =3D gtk.Button=
()<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._restart.set_label(_(&#=
39;Restart'))<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._r=
estart.hide()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._resta=
rt.connect('clicked', self.__restart_cb)<br>+<br>+=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 hbox.add(self._accept)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 hbox.add(self._show_journal)=
<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 hbox.add(self._restart)<=
br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 halign =3D gtk.Align=
ment(1, 0, 0, 0)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 halign.s=
how()<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 halign.add(hbox)<br=
>
+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 vbox.pack_start(halign,=
False, False, 3)<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 se=
lf._vbox.add(vbox)<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 s=
elf._progress_bar =3D gtk.ProgressBar(adjustment=3DNone)<br>+<br>+=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.add(self._main_view)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._main_view.show()<br>+<=
br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.connect("realiz=
e", self.__realize_cb)<br>+<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 self._process_management =3D ProcessManagement()<br>+=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._process_management.connect('pro=
cess-management-running', self._set_update_log)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._process_management.con=
nect('process-management-started', self._set_status_started)<br>+=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._process_management.conn=
ect('process-management-finished', self._set_status_finished)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._process_management.con=
nect('process-management-failed', self._set_status_failed)<br>+<br>=
+=A0=A0=A0 def __realize_cb(self, widget):<br>+=A0=A0=A0=A0=A0=A0=A0 self.w=
indow.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)<br>
+=A0=A0=A0=A0=A0=A0=A0 self.window.set_accept_focus(True)<br>+<br>+=A0=A0=
=A0 def __show_journal_cb(self, button):<br>+=A0=A0=A0=A0=A0=A0=A0 self.des=
troy()<br>+<br>+=A0=A0=A0 def __accept_cb(self, *args):<br>+=A0=A0=A0=A0=A0=
=A0=A0 if ((not self._mount_path =3D=3D "") and (not self._mount_=
path =3D=3D None)):<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if self._isValidType(self._type_ps):<br>=
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if self._type_ps =3D=3D '=
;backup':<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
self._process_management.do_process([PATH_BACKUP, self._mount_path, self._=
get_serial_number()])<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 elif self._type_ps =3D=3D &#=
39;restore':<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 self._process_management.do_process([PATH_RESTORE, self._mount_path, se=
lf._get_serial_number()])<br>+<br>+=A0=A0=A0 def _set_status_started(self, =
model, data=3DNone):<br>
+=A0=A0=A0=A0=A0=A0=A0 self._message.set_text(_("Is running, Please wa=
it"))<br>+=A0=A0=A0=A0=A0=A0=A0 self._accept.hide()<br>+=A0=A0=A0=A0=
=A0=A0=A0 self._show_journal.hide()<br>+=A0=A0=A0=A0=A0=A0=A0 self._showPro=
gress()<br>+<br>+=A0=A0=A0 def _set_update_log(self, model, data):<br>
+=A0=A0=A0=A0=A0=A0=A0 pass<br>+<br>+=A0=A0=A0 def _set_status_finished(sel=
f, model, data=3DNone):<br>+=A0=A0=A0=A0=A0=A0=A0 self._message.set_text(_(=
"It is done, please restart sugar"))<br>+=A0=A0=A0=A0=A0=A0=A0 se=
lf._progress_bar.hide()<br>+=A0=A0=A0=A0=A0=A0=A0 self._restart.show()<br>
+<br>+=A0=A0=A0 def _set_status_failed(self, model, data=3DNone):<br>+=A0=
=A0=A0=A0=A0=A0=A0 logging.error(data)<br>+=A0=A0=A0=A0=A0=A0=A0 self._show=
MsgError(data)<br>+<br>+=A0=A0=A0 def __restart_cb(self, *args):<br>+=A0=A0=
=A0=A0=A0=A0=A0 session_manager =3D get_session_manager()<br>
+=A0=A0=A0=A0=A0=A0=A0 session_manager.logout()<br>+<br>+=A0=A0=A0 def _sho=
wProgress(self):<br>+=A0=A0=A0=A0=A0=A0=A0 self._progress_bar.set_fraction(=
0.0)<br>+=A0=A0=A0=A0=A0=A0=A0 self._progress_bar.show()<br>+=A0=A0=A0=A0=
=A0=A0=A0 self._vbox.add(self._progress_bar)<br>+=A0=A0=A0=A0=A0=A0=A0 if (=
self._progressBarHandler =3D=3D None):<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._progressBarHandler =3D gobject.tim=
eout_add(1000, self._timerProgressBar)<br>+<br>+=A0=A0=A0 def _timerProgres=
sBar(self):<br>+=A0=A0=A0=A0=A0=A0=A0 self._progress_bar.pulse()<br>+=A0=A0=
=A0=A0=A0=A0=A0 return True<br>+<br>+=A0=A0=A0 def _showMsgError(self, msg)=
:<br>
+=A0=A0=A0=A0=A0=A0=A0 self._title.set_markup('<b>%s</b>=
9; % _("Error"))<br>+=A0=A0=A0=A0=A0=A0=A0 self._message.set_text=
(msg)<br>+=A0=A0=A0=A0=A0=A0=A0 self._show_journal.show()<br>+=A0=A0=A0=A0=
=A0=A0=A0 self._progress_bar.hide()<br>+<br>+=A0=A0=A0 def _isValidType(sel=
f, type_ps):<br>
+=A0=A0=A0=A0=A0=A0=A0 return (type_ps =3D=3D 'backup') | (type_ps =
=3D=3D 'restore')<br>+<br>+=A0=A0=A0 def _get_serial_number(self):<=
br>+=A0=A0=A0=A0=A0=A0=A0 serial_no =3D self._read_file('/ofw/serial-nu=
mber')<br>+=A0=A0=A0=A0=A0=A0=A0 if serial_no is None:<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 serial_no =3D self._get_nick()<br>+=A0=
=A0=A0=A0=A0=A0=A0 return serial_no<br>+<br>+=A0=A0=A0 def _read_file(self,=
path):<br>+=A0=A0=A0=A0=A0=A0=A0 if os.access(path, os.R_OK) =3D=3D 0:<br>=
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 return None<br>+<br>+=A0=A0=A0=A0=A0=A0=
=A0 fd =3D open(path, 'r')<br>
+=A0=A0=A0=A0=A0=A0=A0 value =3D fd.read()<br>+=A0=A0=A0=A0=A0=A0=A0 fd.clo=
se()<br>+=A0=A0=A0=A0=A0=A0=A0 if value:<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 value =3D value.strip('\n')<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 return value<br>+=A0=A0=A0=A0=A0=A0=A0 else:<br>+=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 logging.error('No information in file or directory: %s'=
; % path)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 return None<br>+<br>+=A0=A0=A0 def _get_=
nick(self):<br>+=A0=A0=A0=A0=A0=A0=A0 client =3D gconf.client_get_default()=
<br>+=A0=A0=A0=A0=A0=A0=A0 return client.get_string("/desktop/sugar/us=
er/nick")<br>diff --git a/src/jarabe/model/Makefile.am b/src/jarabe/mo=
del/Makefile.am<br>
index e9f0700..a4f89a3 100644<br>--- a/src/jarabe/model/Makefile.am<br>+++ =
b/src/jarabe/model/Makefile.am<br>@@ -15,4 +15,5 @@ sugar_PYTHON =3D=A0=A0=
=A0 =A0=A0=A0 =A0=A0=A0 \<br>=A0=A0=A0=A0 shell.py=A0=A0=A0 =A0=A0=A0 \<br>=
=A0=A0=A0=A0 screen.py=A0=A0=A0 =A0=A0=A0 \<br>=A0=A0=A0=A0=A0=A0=A0=A0 ses=
sion.py=A0=A0=A0 =A0=A0=A0 \<br>
-=A0=A0=A0 sound.py<br>+=A0=A0=A0 sound.py \<br>+=A0=A0=A0 processmanagemen=
t.py<br>diff --git a/src/jarabe/model/processmanagement.py b/src/jarabe/mod=
el/processmanagement.py<br>new file mode 100644<br>index 0000000..d28ad64<b=
r>--- /dev/null<br>
+++ b/src/jarabe/model/processmanagement.py<br>@@ -0,0 +1,88 @@<br>+# Copyr=
ight (C) 2010 Paraguay Educa, Martin Abente, Bernie Innocenti<br>+# Copyrig=
ht (C) 2010, Plan Ceibal <<a href=3D"mailto:comunidad at plan.ceibal.edu.uy=
">comunidad at plan.ceibal.edu.uy</a>><br>
+#<br>+# This program is free software; you can redistribute it and/or modi=
fy<br>+# it under the terms of the GNU General Public License as published =
by<br>+# the Free Software Foundation; either version 2 of the License, or<=
br>
+# (at your option) any later version.<br>+#<br>+# This program is distribu=
ted in the hope that it will be useful,<br>+# but WITHOUT ANY WARRANTY; wit=
hout even the implied warranty of<br>+# MERCHANTABILITY or FITNESS FOR A PA=
RTICULAR PURPOSE.=A0 See the<br>
+# GNU General Public License for more details.<br>+#<br>+# You should have=
received a copy of the GNU General Public License<br>+# along with this pr=
ogram; if not, write to the Free Software<br>+# Foundation, Inc., 51 Frankl=
in St, Fifth Floor, Boston, MA=A0 02110-1301=A0 USA<br>
+<br>+import os<br>+import gobject<br>+import glib<br>+import gio<br>+<br>+=
from gettext import gettext as _<br>+<br>+BYTES_TO_READ =3D 100<br>+<br>+cl=
ass ProcessManagement(gobject.GObject):<br>+<br>+=A0=A0=A0 __gtype_name__ =
=3D 'ProcessManagement'<br>
+<br>+=A0=A0=A0 __gsignals__ =3D {<br>+=A0=A0=A0=A0=A0=A0=A0 'process-m=
anagement-running'=A0=A0=A0 : (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_N=
ONE, ([str])),<br>+=A0=A0=A0=A0=A0=A0=A0 'process-management-started=
9;=A0=A0=A0 : (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ([])),<br>
+=A0=A0=A0=A0=A0=A0=A0 'process-management-finished'=A0=A0=A0 : (go=
bject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ([])),<br>+=A0=A0=A0=A0=A0=A0=A0=
'process-management-failed'=A0=A0=A0 : (gobject.SIGNAL_RUN_FIRST, =
gobject.TYPE_NONE, ([str]))<br>+=A0=A0=A0 }<br>
+<br>+=A0=A0=A0 def __init__(self):<br>+=A0=A0=A0=A0=A0=A0=A0 gobject.GObje=
ct.__init__(self)<br>+=A0=A0=A0=A0=A0=A0=A0 self._running =3D False<br>+<br=
>+=A0=A0=A0 def do_process(self, cmd):<br>+=A0=A0=A0=A0=A0=A0=A0 self._run_=
cmd_async(cmd)<br>+<br>+=A0=A0=A0 def _report_process_status(self, stream, =
result):<br>
+=A0=A0=A0=A0=A0=A0=A0 data =3D stream.read_finish(result)<br>+<br>+=A0=A0=
=A0=A0=A0=A0=A0 if len(data):<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.em=
it('process-management-running', data)<br>+=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 stream.read_async(BYTES_TO_READ, self._report_process_status)<br>
+<br>+=A0=A0=A0 def _report_process_error(self, stream, result, concat_err=
=3D''):<br>+=A0=A0=A0=A0=A0=A0=A0 data =3D stream.read_finish(resul=
t)<br>+=A0=A0=A0=A0=A0=A0=A0 concat_err =3D concat_err + data<br>+<br>+=A0=
=A0=A0=A0=A0=A0=A0 if len(data) =3D=3D 0:<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 self.emit('process-management-failed', concat_er=
r)<br>
+=A0=A0=A0=A0=A0=A0=A0 else:<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 stream.r=
ead_async(BYTES_TO_READ, self._report_process_error, user_data=3Dconcat_err=
)<br>+<br>+=A0=A0=A0 def _notify_error(self, stderr):<br>+=A0=A0=A0=A0=A0=
=A0=A0 stdin_stream =3D gio.unix.InputStream(stderr, True)<br>
+=A0=A0=A0=A0=A0=A0=A0 stdin_stream.read_async(BYTES_TO_READ, self._report_=
process_error)<br>+<br>+=A0=A0=A0 def _notify_process_status(self, stdout):=
<br>+=A0=A0=A0=A0=A0=A0=A0 stdin_stream =3D gio.unix.InputStream(stdout, Tr=
ue)<br>+=A0=A0=A0=A0=A0=A0=A0 stdin_stream.read_async(BYTES_TO_READ, self._=
report_process_status)<br>
+<br>+=A0=A0=A0 def _run_cmd_async(self, cmd):<br>+=A0=A0=A0=A0=A0=A0=A0 if=
self._running =3D=3D False:<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 try:<br>=
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 pid, stdin, stdout, stderr =
=3D glib.spawn_async(cmd, flags=3Dglib.SPAWN_DO_NOT_REAP_CHILD, standard_ou=
tput=3DTrue, standard_error=3DTrue)<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 gobject.child_watch_add(pid,=
_handle_process_end, (self, stderr))<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
except Exception:<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.e=
mit('process-management-failed', _("Error - Call process: &quo=
t;) + str(cmd))<br>
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 else:<br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 self._notify_process_status(stdout)<br>+=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 self._running=A0 =3D True<br>+=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 self.emit('process-management-started=
9;)<br>+<br>+def _handle_process_end(pid, condition, (myself, stderr)):<br>
+=A0=A0=A0 myself._running =3D False<br>+<br>+=A0=A0=A0 if os.WIFEXITED(con=
dition) and\<br>+=A0=A0=A0=A0=A0=A0=A0 os.WEXITSTATUS(condition) =3D=3D 0:<=
br>+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 myself.emit('process-management-f=
inished')<br>+=A0=A0=A0 else:<br>+=A0=A0=A0=A0=A0=A0=A0 myself._notify_=
error(stderr)<br>
-- <br>1.6.2.5<br><br>From c68f3f55bebc332643ee5d0c282fa29851cbd6a5 Mon Sep=
17 00:00:00 2001<br>From: Esteban Arias <<a href=3D"mailto:earias at plan.=
ceibal.edu.uy">earias at plan.ceibal.edu.uy</a>><br>Date: Wed, 2 Jun 2010 1=
2:50:36 -0300<br>
Subject: [PATCH] Traslate<br>Organization: Plan Ceibal<br><br>---<br>=A0po/=
es.po |=A0=A0 39 +++++++++++++++++++++++++++++++++++++++<br>=A01 files chan=
ged, 39 insertions(+), 0 deletions(-)<br><br>diff --git a/po/es.po b/po/es.=
po<br>
index 587608f..0e138a4 100644<br>--- a/po/es.po<br>+++ b/po/es.po<br>@@ -12=
75,6 +1275,45 @@ msgstr "Fuente del paquete de la actividad"<br>=
=A0msgid "View source: %r"<br>=A0msgstr "Ver c=F3digo fuente=
: %r"<br>
=A0<br>+#: ../src/jarabe/journal/volumestoolbar.py:196<br>+msgid "Jour=
nal Backup"<br>+msgstr "Respaldar Diario"<br>+<br>+#: ../src=
/jarabe/journal/volumestoolbar.py:208<br>+msgid "Journal Restore"=
<br>
+msgstr "Restaurar Diario"<br>+<br>+#: ../src/jarabe/journal/back=
up.py:84<br>+msgid "backup"<br>+msgstr "respaldar"<br>+=
<br>+#: ../src/jarabe/journal/backup.py:84<br>+msgid "restore"<br=
>
+msgstr "restaurar"<br>+<br>+#: ../src/jarabe/journal/backup.py:8=
9<br>+msgid ""<br>+"Close all activities and do not remove t=
he external device during the process. \n\n"<br>+"To make the bac=
kup of the Journal, a restart is required. \n\n"<br>
+"The backup can only be restore from this computer"<br>+msgstr &=
quot;"<br>+"Cierre todas las actividades y no extraiga el disposi=
tivo externo durante el proceso. \n\n"<br>+"Para realizar el resp=
aldo del Diario, se requiere reiniciar. \n\n"<br>
+"El resplado s=F3lo podr=E1 ser recuperado desde este equipo "<b=
r>+<br>+#: ../src/jarabe/journal/backup.py:94<br>+msgid ""<br>+&q=
uot;The content you restore will overwrite the current contents of the Jour=
nal. \n\n"<br>
+"Do not remove the external device during the process. \n"<br>+&=
quot;To implement the restoration of the Journal, a restart is required. \n=
\n"<br>+"It will restore the backup done for this computer "=
<br>
+msgstr ""<br>+"El contenido que restaurar=E1 va a sobrescri=
bir el contenido acutal del Diario. \n\n"<br>+"No extraiga el dis=
positivo externo durante el proceso. \n"<br>+"Para aplicar la res=
tauraci=F3n del Diario, se requiere reiniciar. \n\n"<br>
+"Se restaurar=E1 el respado realizado para este equipo "<br>+<br=
>+<br>=A0#~ msgid "Cannot obtain data needed for registration."<b=
r>=A0#~ msgstr "No se puede obtener datos necesarios para el registro&=
quot;<br>
=A0<br>-- <br>1.6.2.5<br><br><br><br><br>-- <br>
=A0 =A0Esteban Arias<br> =A0 =A0Plan Ceibal - =C1rea T=E9cnica<br> =A0 =A0=
Avda. Italia 6201<br> =A0 =A0Montevideo - Uruguay.<br> =A0 =A0Tel.: 601.57.=
73 Interno 2228<br> =A0 =A0E-mail : <a href=3D"mailto:earias at plan.ceibal.ed=
u.uy" target=3D"_blank">earias at plan.ceibal.edu.uy</a><br>
<br>
--001636e0b9b8e73b3104880e573f--
--001636e0b9b8e73b3604880e5741
Content-Type: application/octet-stream;
name="0001-Adds-JournalVolumePalette.patch"
Content-Disposition: attachment;
filename="0001-Adds-JournalVolumePalette.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9ycekiy0
RnJvbSAzYzI4ZTI5ZTQ0YjhiMzBhMjU5OGVkN2U5MGIzY2EzYWM4MDljODllIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBFc3RlYmFuIEFyaWFzIDxlYXJpYXNAcGxhbi5jZWliYWwuZWR1
LnV5PgpEYXRlOiBXZWQsIDIgSnVuIDIwMTAgMTI6MzI6NTkgLTAzMDAKU3ViamVjdDogW1BBVENI
XSBBZGRzLUpvdXJuYWxWb2x1bWVQYWxldHRlCk9yZ2FuaXph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: application/octet-stream;
name="0002-Adds-view-and-scripts-for-volumes-backup-restore.patch"
Content-Disposition: attachment;
filename="0002-Adds-view-and-scripts-for-volumes-backup-restore.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9ycguea1
RnJvbSAxZTg1ZmZhMjk1NWU3Y2E1NzYxNzg2YWU2MzkzNGVkOWE0MWFjZmZiIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBFc3RlYmFuIEFyaWFzIDxlYXJpYXNAcGxhbi5jZWliYWwuZWR1
LnV5PgpEYXRlOiBXZWQsIDIgSnVuIDIwMTAgMTI6NDg6MDMgLTAzMDAKU3ViamVjdDogW1BBVENI
XSBBZGRzLXZpZXctYW5kLXNjcmlwdHMtZm9yLXZvbHVtZXMtYmFja3VwLXJlc3RvcmUKT3JnYW5p
emF0aW9uOiBQbGFuIENlaWJhbAoKLS0tCiBiaW4vTWFrZWZpbGUuYW0gICAgICAgICAgICAgICAg
ICAgICAgIHwgICAgMiArCiBiaW4vam91cm5hbC1iYWNrdXAtdm9sdW1lICAgICAgICAgICAgIHwg
ICA2NSArKysrKysrKysKIGJpbi9qb3VybmFsLXJlc3RvcmUtdm9sdW1lICAgICAgICAgICAgfCAg
IDY3ICsrKysrKysrKysKIHNyYy9qYXJhYmUvam91cm5hbC9NYWtlZmlsZS5hbSAgICAgICAgfCAg
ICAzICstCiBzcmMvamFyYWJlL2pvdXJuYWwvYmFja3VwLnB5ICAgICAgICAgIHwgIDIzMSArKysr
KysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIHNyYy9qYXJhYmUvbW9kZWwvTWFrZWZpbGUu
YW0gICAgICAgICAgfCAgICAzICstCiBzcmMvamFyYWJlL21vZGVsL3Byb2Nlc3NtYW5hZ2VtZW50
LnB5IHwgICA4OCArKysrKysrKysrKysrCiA3IGZpbGVzIGNoYW5nZWQsIDQ1NyBpbnNlcnRpb25z
KCspLCAyIGRlbGV0aW9ucygtKQogY3JlYXRlIG1vZGUg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KyAgICAgICAgICAgICAgICBoZWlnaHQgPSBndGsuZ2RrLnNjcmVlbl9oZWlnaHQoKQorICAg
ICAgICAgICAgICAgIHNlbGYuc2V0X3NpemVfcmVxdWVzdCh3aWR0aCwgaGVpZ2h0KQorICAgICAg
ICAgICAgICAgIHNlbGYuc2V0X3Bvc2l0aW9uKGd0ay5XSU5fUE9TX0NFTlRFUl9BTFdBWVMpCisg
ICAgICAgICAgICAgICAgc2VsZi5zZXRfZGVjb3JhdGVkKEZhbHNlKQorICAgICAgICAgICAgICAg
IHNlbGYuc2V0X3Jlc2l6YWJsZShGYWxzZSkKKyAgICAgICAgICAgICAgICBzZWxmLnNldF9tb2Rh
bChUcnVlKQorCisgICAgICAgICAgICAgICAgc2VsZi5fbWFpbl92aWV3ID0gZ3RrLkV2ZW50Qm94
KCkKKyAgICAgICAgICAgICAgICBzZWxmLl92Ym94ID0gZ3RrLlZCb3goKQorICAgICAgICAgICAg
ICAgIHNlbGYuX3Zib3guc2V0X3NwYWNpbmcoc3R5bGUuREVGQVVMVF9TUEFDSU5HKQorICAgICAg
ICAgICAgICAgIHNlbGYuX3Zib3guc2V0X2JvcmRlcl93aWR0aChzdHlsZS5HUklEX0NFTExfU0la
RSkKKyAgICAgICAgICAgICAgICBzZWxmLl9tYWluX3ZpZXcubW9kaWZ5X2JnKGd0ay5TVEFURV9O
T1JNQUwsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5D
T0xPUl9CTEFDSy5nZXRfZ2RrX2NvbG9yKCkpCisgICAgICAgICAgICAgICAgc2VsZi5fbWFpbl92
aWV3LmFkZChzZWxmLl92Ym94KQorICAgICAgICAgICAgICAgIHNlbGYuX3Zib3guc2hvdygpCisK
KyAgICAgICAgICAgICAgICBjbGllbnQgPSBnY29uZi5jbGllbnRfZ2V0X2RlZmF1bHQoKQorICAg
ICAgICAgICAgICAgIGNvbG9yID0gWG9Db2xvcihjbGllbnQuZ2V0X3N0cmluZygnL2Rlc2t0b3Av
c3VnYXIvdXNlci9jb2xvcicpKQorCisgICAgICAgICAgICAgICAgaWNvbiA9IEljb24oaWNvbl9u
YW1lPSdhY3Rpdml0eS1qb3VybmFsJywKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBwaXhl
bF9zaXplPXN0eWxlLlhMQVJHRV9JQ09OX1NJWkUsCisgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgeG9fY29sb3I9Y29sb3IpCisgICAgICAgICAgICAgICAgc2VsZi5fdmJveC5wYWNrX3N0YXJ0
KGljb24sIEZhbHNlKQorICAgICAgICAgICAgICAgIGljb24uc2hvdygpCisKKyAgICAgICAgICAg
ICAgICBzZWxmLl90aXRsZSA9IGd0ay5MYWJlbCgpCisgICAgICAgICAgICAgICAgc2VsZi5fdGl0
bGUubW9kaWZ5X2ZnKGd0ay5TVEFURV9OT1JNQUwsCisgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIHN0eWxlLkNPTE9SX1dISVRFLmdldF9nZGtfY29sb3IoKSkKKyAgICAgICAg
ICAgICAgICBzZWxmLl90aXRsZS5zZXRfbWFya3VwKCc8Yj4lczwvYj4nICUgXyhzZWxmLl90eXBl
X3BzKSkKKyAgICAgICAgICAgICAgICBzZWxmLl92Ym94LnBhY2tfc3RhcnQoc2VsZi5fdGl0bGUs
IEZhbHNlKQorICAgICAgICAgICAgICAgIHNlbGYuX3RpdGxlLnNob3coKQorCisgICAgICAgICAg
ICAgICAgaWYgc2VsZi5fdHlwZV9wcyA9PSAnYmFja3VwJzoKKyAgICAgICAgICAgICAgICAgICAg
bGJsX3R4dCA9IF8oIkNsb3NlIGFsbCBhY3Rpdml0aWVzIGFuZCBkbyBub3QgcmVtb3ZlIHRoZSBl
eHRlcm5hbCBkZXZpY2UgZHVyaW5nIHRoZSBwcm9jZXNzLiBcblxuIgorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAiVG8gbWFrZSB0aGUgYmFja3VwIG9mIHRoZSB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Agc2VsZi5fbWVzc2FnZS5zZXRfbGluZV93cmFwKFRydWUp
CisgICAgICAgICAgICAgICAgc2VsZi5fdmJveC5wYWNrX3N0YXJ0KHNlbGYuX21lc3NhZ2UsIFRy
dWUpCisgICAgICAgICAgICAgICAgc2VsZi5fbWVzc2FnZS5zaG93KCkKKworCisgICAgICAgICAg
ICAgICAgdmJveCA9IGd0ay5WQm94KEZhbHNlLCA1KQorICAgICAgICAgICAgICAgIHZib3guc2hv
dygpCisgICAgICAgICAgICAgICAgaGJveCA9IGd0ay5IQm94KFRydWUsIDMpCisgICAgICAgICAg
ICAgICAgaGJveC5zaG93KCkKKworICAgICAgICAgICAgICAgIHZhbGlnbiA9IGd0ay5BbGlnbm1l
bnQoMCwgMSwgMCwgMCkKKyAgICAgICAgICAgICAgICB2YWxpZ24uc2hvdygpCisgICAgICAgICAg
ICAgICAgdmJveC5wYWNrX3N0YXJ0KHZhbGlnbikKKworICAgICAgICAgICAgICAgIHNlbGYuX2Fj
Y2VwdCA9IGd0ay5CdXR0b24oKQorICAgICAgICAgICAgICAgIHNlbGYuX2FjY2VwdC5zZXRfbGFi
ZWwoXygnQWNjZXB0JykpCisgICAgICAgICAgICAgICAgc2VsZi5fYWNjZXB0LnNob3coKQorICAg
ICAgICAgICAgICAgIHNlbGYuX2FjY2VwdC5jb25uZWN0KCdjbGlja2VkJywgc2VsZi5fX2FjY2Vw
dF9jYikKKworICAgICAgICAgICAgICAgIHNlbGYuX3Nob3dfam91cm5hbCA9IGd0ay5CdXR0b24o
KQorICAgICAgICAgICAgICAgIHNlbGYuX3Nob3dfam91cm5hbC5zZXRfbGFiZWwoXygnQ2xvc2Un
KSkKKyAgICAgICAgICAgICAgICBzZWxmLl9zaG93X2pvdXJuYWwuc2hvdygpCisgICAgICAgICAg
ICAgICAgc2VsZi5fc2hvd19qb3VybmFsLmNvbm5lY3QoJ2NsaWNrZWQnLCBzZWxmLl9fc2hvd19q
b3VybmFsX2NiKQorCisgICAgICAgICAgICAgICAgc2VsZi5fcmVzdGFydCA9IGd0ay5CdXR0b24o
KQorICAgICAgICAgICAgICAgIHNlbGYuX3Jlc3RhcnQuc2V0X2xhYmVsKF8oJ1Jlc3RhcnQnKSkK
KyAgICAgICAgICAgICAgICBzZWxmLl9yZXN0YXJ0LmhpZGUoKQorICAgICAgICAgICAgICAgIHNl
bGYuX3Jlc3RhcnQuY29ubmVjdCgnY2xpY2tlZCcsIHNlbGYuX19yZXN0YXJ0X2NiKQorCisgICAg
ICAgICAgICAgICAgaGJveC5hZGQoc2VsZi5fYWNjZXB0KQorICAgICAgICAgICAgICAgIGhib3gu
YWRkKHNlbGYuX3Nob3dfam91cm5hbCkKKyAgICAgICAgICAgICAgICBoYm94LmFkZChzZWxmLl9y
ZXN0YXJ0KQorCisgICAgICAgICAgICAgICAgaGFsaWduID0gZ3RrLkFsaWdubWVudCgxLCAwLCAw
LCAwKQorICAgICAgICAgICAgICAgIGhhbGlnbi5zaG93KCkKKyAgICAgICAgICAgICAgICBoYWxp
Z24uYWRkKGhib3gpCisKKyAgICAgICAgICAgICAgICB2Ym94LnBhY2tfc3RhcnQoaGFsaWduLCBG
YWxzZSwgRmFsc2UsIDMpCisKKyAgICAgICAgICAgICAgICBzZWxmLl92Ym94LmFkZCh2Ym94KQor
CisgICAgICAgICAgICAgICAgc2VsZi5fcHJvZ3Jlc3NfYmFyID0gZ3RrLlByb2dyZXNzQmFyKGFk
anVzdG1lbnQ9Tm9uZSkKKworICAgICAgICAgICAgICAgIHNlbGYuYWRkKHNlbGYuX21haW5fdmll
dykKKyAgICAgICAgICAgICAgICBzZWxmLl9tYWluX3ZpZXcuc2hvdygpCisKKyAgICAgICAgICAg
ICAgICBzZWxmLmNvbm5lY3QoInJlYWxpemUiLCBzZWxmLl9fcmVhbGl6ZV9jYikKKworICAgICAg
ICAgICAgICAgIHNlbGYuX3Byb2Nlc3NfbWFuYWdlbWVudCA9IFByb2Nlc3NNYW5hZ2VtZW50KCkK
KyAgICAgICAgICAgIC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1ZhbGlk
VHlwZShzZWxmLCB0eXBlX3BzKToKKyAgICAgICAgcmV0dXJuICh0eXBlX3BzID09ICdiYWNrdXAn
KSB8ICh0eXBlX3BzID09ICdyZXN0b3JlJykKKworICAgIGRlZiBfZ2V0X3NlcmlhbF9udW1iZXIo
c2VsZik6CisgICAgICAgIHNlcmlhbF9ubyA9IHNlbGYuX3JlYWRfZmlsZSgnL29mdy9zZXJpYWwt
bnVtYmVyJykKKyAgICAgICAgaWYgc2VyaWFsX25vIGlzIE5vbmU6CisgICAgICAgICAgICBzZXJp
YWxfbm8gPSBzZWxmLl9nZXRfbmljaygpCisgICAgICAgIHJldHVybiBzZXJpYWxfbm8KKworICAg
IGRlZiBfcmVhZF9maWxlKHNlbGYsIHBhdGgpOgorICAgICAgICBpZiBvcy5hY2Nlc3MocGF0aCwg
b3MuUl9PSykgPT0gMDoKKyAgICAgICAgICAgIHJldHVybiBOb25lCisKKyAgICAgICAgZmQgPSBv
cGVuKHBhdGgsICdyJykKKyAgICAgICAgdmFsdWUgPSBmZC5yZWFkKCkKKyAgICAgICAgZmQuY2xv
c2UoKQorICAgICAgICBpZiB2YWx1ZToKKyAgICAgICAgICAgIHZhbHVlID0gdmFsdWUuc3RyaXAo
J1xuJykKKyAgICAgICAgICAgIHJldHVybiB2YWx1ZQorICAgICAgICBlbHNlOgorICAgICAgICAg
ICAgbG9nZ2luZy5lcnJvcignTm8gaW5mb3JtYXRpb24gaW4gZmlsZSBvciBkaXJlY3Rvcnk6ICVz
JyAlIHBhdGgpCisgICAgICAgICAgICByZXR1cm4gTm9uZQorCisgICAgZGVmIF9nZXRfbmljayhz
ZWxmKToKKyAgICAgICAgY2xpZW50ID0gZ2NvbmYuY2xpZW50X2dldF9kZWZhdWx0KCkKKyAgICAg
ICAgcmV0dXJuIGNsaWVudC5nZXRfc3RyaW5nKCIvZGVza3RvcC9zdWdhci91c2VyL25pY2siKQpk
aWZmIC0tZ2l0IGEvc3JjL2phcmFiZS9tb2RlbC9NY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S42LjIuNQoK
--001636e0b9b8e73b3604880e5741
Content-Type: application/octet-stream; name="0003-Traslate.patch"
Content-Disposition: attachment; filename="0003-Traslate.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9ycgxbd2
RnJvbSBjNjhmM2Y1NWJlYmMzMzI2NDNlZTVkMGMyODJmYTI5ODUxY2JkNmE1IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBFc3RlYmFuIEFyaWFzIDxlYXJpYXNAcGxhbi5jZWliYWwuZWR1
LnV5PgpEYXRlOiBXZWQsIDIgSnVuIDIwMTAgMTI6NTA6MzYgLTAzMDAKU3ViamVjdDogW1BBVENI
XSBUcmFzbGF0ZQpPcmdhbml6YXRpb246IFBsYW4gQ2VpYmFsCgotLS0KIHBvL2VzLnBvIHwgICAz
OSArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDEgZmlsZXMgY2hhbmdl
ZCwgMzkgaW5zZXJ0aW9ucygrKSwgMCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9wby9lcy5w
byBiL3BvL2VzLnBvCmluZGV4IDU4NzYwOGYuLjBlMTM4YTQgMTAwNjQ0Ci0tLSBhL3BvL2VzLnBv
CisrKyBiL3BvL2VzLnBvCkBAIC0xMjc1LDYgKzEyNzUsNDUgQEAgbXNnc3RyICJGdWVudGUgZGVs
IHBhcXVldGUgZGUgbGEgYWN0aXZpZGFkIgogbXNnaWQgIlZpZXcgc291cmNlOiAlciIKIG1zZ3N0
ciAiVmVyIGPDs2RpZ28gZnVlbnRlOiAlciIKIAorIzogLi4vc3JjL2phcmFiZS9qb3VybmFsL3Zv
bHVtZXN0b29sYmFyLnB5OjE5NgorbXNnaWQgIkpvdXJuYWwgQmFja3VwIgorbXNnc3RyICJSZXNw
YWxkYXIgRGlhcmlvIgorCisjOiAuLi9zcmMvamFyYWJlL2pvdXJuYWwvdm9sdW1lc3Rvb2xiYXIu
cHk6MjA4Cittc2dpZCA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