[Goodies-commits] r1819 - in xfce4-notes-plugin/trunk: . panel-plugin po
Mike Massonnet
mmassonnet at xfce.org
Sun Jul 30 23:58:14 CEST 2006
Author: mmassonnet
Date: 2006-07-30 21:58:10 +0000 (Sun, 30 Jul 2006)
New Revision: 1819
Modified:
xfce4-notes-plugin/trunk/ChangeLog
xfce4-notes-plugin/trunk/configure.ac
xfce4-notes-plugin/trunk/panel-plugin/notes-window.c
xfce4-notes-plugin/trunk/panel-plugin/notes-window.h
xfce4-notes-plugin/trunk/panel-plugin/notes.c
xfce4-notes-plugin/trunk/po/ChangeLog
xfce4-notes-plugin/trunk/po/fr.po
xfce4-notes-plugin/trunk/po/hu.po
xfce4-notes-plugin/trunk/po/xfce4-notes-plugin.pot
xfce4-notes-plugin/trunk/po/zh_TW.po
Log:
* Remove the Add new page button. Replace with two buttons Add/Remove.
* Remove close eventbox from the tabs.
* Don't ask confirmation to delete an empty note.
* Put "@LINGUAS@" inside XDT_I18N (Thanks Darren Salt).
* Versionning 1.3.0.
* Update the po. Completed the fr traduction.
* I have seen how to write ChangeLogs :)
Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/ChangeLog 2006-07-30 21:58:10 UTC (rev 1819)
@@ -1,22 +1,27 @@
++ 2006/07/33 mmassonnet
+ - Remove the Add new page button. Add two buttons Add/Remove.
+ - Remove close eventbox from the tabs
+ - Don't ask confirmation to delete an empty note
+ - Versionning 1.3.0
+ 2006/07/27 mmassonnet
- - Set vertical scrollbar policy by default to automatic
- - Add a confirmation dialog on note delete
+ - Set vertical scrollbar policy by default to automatic
+ - Add a confirmation dialog on note delete
+ 2006/07/24 mmassonnet
- - Fix a bug with the window size
+ - Fix a bug with the window size
+ 2006/07/24 mmassonnet
- - Support multiple notes through a notebook
- - Options: always on top, sticky, show at startup, show in task switcher
+ - Support multiple notes through a notebook
+ - Options: always on top, sticky, show at startup, show in task switcher
+ 2006/07/03 mmassonnet
- - New release for new panel version 4.4
- - The features:
- - Save / load the data (amazing isn't it :)
- - Moving the note without holding ALT (brilliant :)
- - Show/hide the note (kikoo)
- - Close button on the upper right corner
- - Escape touch
- - Panel toggle button
- - Always on top and Sticky
- - Remember the position of the note
+ - New release for new panel version 4.4
+ - The features:
+ - Save / load the data (amazing isn't it :)
+ - Moving the note without holding ALT (brilliant :)
+ - Show/hide the note (kikoo)
+ - Close button on the upper right corner
+ - Escape touch
+ - Panel toggle button
+ - Always on top and Sticky
+ - Remember the position of the note
+ 2003/10/23 b0kaj
- added a dialog to confirm deletion of a note when it is not
empty.
Modified: xfce4-notes-plugin/trunk/configure.ac
===================================================================
--- xfce4-notes-plugin/trunk/configure.ac 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/configure.ac 2006-07-30 21:58:10 UTC (rev 1819)
@@ -7,7 +7,7 @@
dnl 2006 Mike Massonnet <mmassonnet at gmail.com>
dnl
-m4_define([xfce4_notes_plugin_version], [1.2.2])
+m4_define([xfce4_notes_plugin_version], [1.3.0])
AC_INIT([xfce4-notes-plugin], [xfce4_notes_plugin_version()],
[mmassonnet at gmail.com])
@@ -45,7 +45,7 @@
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.90])
dnl Translations
-XDT_I18N([hu zh_TW])
+XDT_I18N(["@LINGUAS@"])
dnl Check for debugging support
XDT_FEATURE_DEBUG()
Modified: xfce4-notes-plugin/trunk/panel-plugin/notes-window.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes-window.c 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes-window.c 2006-07-30 21:58:10 UTC (rev 1819)
@@ -41,15 +41,15 @@
static gboolean on_note_key_press (GtkWidget *, GdkEventKey *, NotesPlugin *);
static void on_note_changed (GtkWidget *, NotesPlugin *);
static void on_page_create (GtkWidget *, NotesPlugin *);
-static gboolean on_page_delete (GtkWidget *, GdkEventButton *, NotesPlugin *);
+static gboolean on_page_delete (GtkWidget *, NotesPlugin *);
static void note_page_destroy (GtkWidget *, gint response_id,
NotesPlugin *);
-static void note_page_free (NotePage *);
Note *
note_new (NotesPlugin *notes)
{
Note *note;
+ GtkWidget *image_add, *image_del, *image_close, *trick;
DBG ("Create Note Window");
@@ -91,26 +91,38 @@
gtk_box_pack_start (GTK_BOX (note->vbox), note->hbox, FALSE, FALSE, 0);
- /* Create new page button + icon */
- note->create_page_button = xfce_create_panel_button ();
- gtk_widget_show (note->create_page_button);
+ /* Add button */
+ note->add = xfce_create_panel_button ();
+ gtk_widget_show (note->add);
- gtk_tooltips_set_tip (GTK_TOOLTIPS (notes->tooltips),
- note->create_page_button, _("Open a new page"), NULL);
- gtk_widget_set_size_request (note->create_page_button, 22, 22);
- gtk_box_pack_start (GTK_BOX (note->hbox), note->create_page_button, FALSE,
- FALSE, 0);
+ gtk_tooltips_set_tip (GTK_TOOLTIPS (notes->tooltips), note->add,
+ _("Open a new page"), NULL);
+ gtk_widget_set_size_request (note->add, 22, 22);
+ gtk_box_pack_start (GTK_BOX (note->hbox), note->add, FALSE, FALSE, 0);
- note->create_page_icon =
- gtk_image_new_from_stock (GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU);
- gtk_widget_show (note->create_page_icon);
+ image_add = gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_MENU);
+ gtk_widget_show (image_add);
- gtk_container_add (GTK_CONTAINER (note->create_page_button),
- note->create_page_icon);
+ gtk_container_add (GTK_CONTAINER (note->add), image_add);
- g_signal_connect (note->create_page_button, "clicked",
- G_CALLBACK (on_page_create), notes);
+ g_signal_connect (note->add, "clicked", G_CALLBACK (on_page_create), notes);
+ /* Remove button */
+ note->del = xfce_create_panel_button ();
+ gtk_widget_show (note->del);
+
+ gtk_tooltips_set_tip (GTK_TOOLTIPS (notes->tooltips), note->del,
+ _("Delete a page"), NULL);
+ gtk_widget_set_size_request (note->del, 22, 22);
+ gtk_box_pack_start (GTK_BOX (note->hbox), note->del, FALSE, FALSE, 0);
+
+ image_del = gtk_image_new_from_stock (GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU);
+ gtk_widget_show (image_del);
+
+ gtk_container_add (GTK_CONTAINER (note->del), image_del);
+
+ g_signal_connect (note->del, "clicked", G_CALLBACK (on_page_delete), notes);
+
/* Event box move + Title */
note->move_event_box = gtk_event_box_new ();
gtk_widget_show (note->move_event_box);
@@ -131,21 +143,27 @@
gtk_container_add (GTK_CONTAINER (note->move_event_box), note->title);
+ /* A little trick to center the text :S */
+ trick = gtk_label_new ("");
+ gtk_widget_show (trick);
+
+ gtk_widget_set_size_request (trick, 22, 22);
+ gtk_box_pack_start (GTK_BOX (note->hbox), trick, FALSE, FALSE, 0);
+
/* Close button + icon */
- note->close_button = xfce_create_panel_button ();
- gtk_widget_show (note->close_button);
+ note->close = xfce_create_panel_button ();
+ gtk_widget_show (note->close);
- gtk_widget_set_size_request (note->close_button, 22, 22);
- gtk_box_pack_start (GTK_BOX (note->hbox), note->close_button, FALSE, FALSE,
- 0);
+ gtk_widget_set_size_request (note->close, 22, 22);
+ gtk_box_pack_start (GTK_BOX (note->hbox), note->close, FALSE, FALSE, 0);
- note->close_icon = gtk_image_new_from_stock (GTK_STOCK_CLOSE,
- GTK_ICON_SIZE_MENU);
- gtk_widget_show (note->close_icon);
+ image_close = gtk_image_new_from_stock (GTK_STOCK_CLOSE,
+ GTK_ICON_SIZE_MENU);
+ gtk_widget_show (image_close);
- gtk_container_add (GTK_CONTAINER (note->close_button), note->close_icon);
+ gtk_container_add (GTK_CONTAINER (note->close), image_close);
- g_signal_connect (note->close_button, "clicked", G_CALLBACK (on_note_close),
+ g_signal_connect (note->close, "clicked", G_CALLBACK (on_note_close),
notes->button);
@@ -180,7 +198,7 @@
page->hbox = gtk_hbox_new (FALSE, 0);
gtk_widget_show (page->hbox);
- /* Label + Close eventbox/icon */
+ /* Label */
g_snprintf (note_id, 8, "%d", g_list_length (note->pages));
page->label = gtk_label_new (note_id);
gtk_widget_show (page->label);
@@ -188,25 +206,10 @@
gtk_label_set_justify (GTK_LABEL (page->label), GTK_JUSTIFY_RIGHT);
gtk_box_pack_start (GTK_BOX (page->hbox), page->label, TRUE, TRUE, 0);
- page->close_eventbox = gtk_event_box_new ();
- gtk_widget_show (page->close_eventbox);
-
- gtk_event_box_set_above_child (GTK_EVENT_BOX (page->close_eventbox), TRUE);
-
- page->close_icon = gtk_image_new_from_stock (GTK_STOCK_CLOSE,
- GTK_ICON_SIZE_MENU);
- gtk_widget_show (page->close_icon);
-
- gtk_container_add (GTK_CONTAINER (page->close_eventbox), page->close_icon);
- gtk_box_pack_start (GTK_BOX (page->hbox), page->close_eventbox, FALSE,
- FALSE, 0);
-
/* Scrolled window + Text view */
page->scroll = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_show (page->scroll);
- //GtkPolicyType vpolicy = (notes->options.vscrollbar) ? GTK_POLICY_ALWAYS
- // : GTK_POLICY_AUTOMATIC;
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (page->scroll),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
@@ -227,8 +230,6 @@
note_page_load_data (plugin, page);
- g_signal_connect (page->close_eventbox, "button-release-event",
- G_CALLBACK (on_page_delete), notes);
g_signal_connect (page->text, "key-press-event",
G_CALLBACK (on_note_key_press), notes);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (page->text));
@@ -350,23 +351,35 @@
}
static gboolean
-on_page_delete (GtkWidget *widget, GdkEventButton *event, NotesPlugin * notes)
+on_page_delete (GtkWidget *widget, NotesPlugin *notes)
{
- if (event->type == GDK_BUTTON_RELEASE && event->button == 1)
+ gint id;
+ NotePage *page;
+ GtkTextBuffer *buffer;
+
+ if (gtk_notebook_get_n_pages (GTK_NOTEBOOK (notes->note->notebook)) == 1)
+ return TRUE;
+
+ id = gtk_notebook_get_current_page (GTK_NOTEBOOK (notes->note->notebook));
+ page = (NotePage *)g_list_nth_data (notes->note->pages, id);
+ buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (page->text));
+
+ if (gtk_text_buffer_get_char_count (buffer) > 0)
{
- /* Ask for confirmation */
- GtkWidget *dialog;
- dialog =
- gtk_message_dialog_new (GTK_WINDOW (notes->note->window),
- GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
- _("Are you sure you want to delete this note?"));
+ /* Ask for confirmation */
+ GtkWidget *dialog;
+ dialog = gtk_message_dialog_new (GTK_WINDOW (notes->note->window),
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
+ _("Are you sure you want to delete this note?"));
- g_signal_connect (dialog, "response", G_CALLBACK (note_page_destroy),
- notes);
+ g_signal_connect (dialog, "response", G_CALLBACK (note_page_destroy),
+ notes);
gtk_widget_show (dialog);
}
+ else
+ note_page_destroy (NULL, GTK_RESPONSE_YES, notes);
return TRUE;
}
@@ -374,7 +387,8 @@
static void
note_page_destroy (GtkWidget *widget, gint response_id, NotesPlugin *notes)
{
- gtk_widget_destroy (widget);
+ if (widget != NULL);
+ gtk_widget_destroy (widget);
if (response_id == GTK_RESPONSE_YES)
{
@@ -427,6 +441,7 @@
xfce_rc_delete_entry (rc, note_entry, TRUE);
xfce_rc_close (rc);
}
+
gtk_notebook_set_show_tabs (notebook,
(gboolean)g_list_length (pages)-1);
Modified: xfce4-notes-plugin/trunk/panel-plugin/notes-window.h
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes-window.h 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes-window.h 2006-07-30 21:58:10 UTC (rev 1819)
@@ -24,9 +24,6 @@
{
GtkWidget *hbox;
GtkWidget *label;
- GtkWidget *close_eventbox;
- GtkWidget *close_icon;
-
GtkWidget *scroll;
GtkWidget *text;
@@ -39,12 +36,11 @@
GtkWidget *window;
GtkWidget *frame;
- GtkWidget *create_page_icon;
- GtkWidget *create_page_button;
+ GtkWidget *add;
+ GtkWidget *del;
GtkWidget *move_event_box;
GtkWidget *title;
- GtkWidget *close_button;
- GtkWidget *close_icon;
+ GtkWidget *close;
GtkWidget *notebook;
GList *pages;
Modified: xfce4-notes-plugin/trunk/panel-plugin/notes.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes.c 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes.c 2006-07-30 21:58:10 UTC (rev 1819)
@@ -241,8 +241,7 @@
notes->tooltips = gtk_tooltips_new ();
gtk_tooltips_set_tip (GTK_TOOLTIPS (notes->tooltips), notes->button,
- _("Notes\nClick this button to show/hide your notes"),
- NULL);
+ _("Notes"), NULL);
notes->note = note_new (notes);
notes_load_data (plugin, notes);
@@ -289,7 +288,7 @@
notes->options.always_on_top =
xfce_rc_read_bool_entry (rc, "always_on_top", FALSE);
notes->options.stick = xfce_rc_read_bool_entry (rc, "stick", TRUE);
- notes->options.vscrollbar =
+ notes->options.vscrollbar =
xfce_rc_read_bool_entry (rc, "vscrollbar", TRUE);
xfce_rc_close (rc);
@@ -324,7 +323,7 @@
{
gtk_window_get_position (GTK_WINDOW (notes->note->window),
¬es->note->x, ¬es->note->y);
- gtk_window_get_size (GTK_WINDOW (notes->note->window), ¬es->note->w,
+ gtk_window_get_size (GTK_WINDOW (notes->note->window), ¬es->note->w,
¬es->note->h);
gtk_widget_hide (notes->note->window);
Modified: xfce4-notes-plugin/trunk/po/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/po/ChangeLog 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/po/ChangeLog 2006-07-30 21:58:10 UTC (rev 1819)
@@ -1,3 +1,8 @@
+2006-07-30 Mike Massonnet <mmassonnet at gmail.com>
+
+ * fr.po: mise à jour.
+ * xfce4-notes-plugin.pot: update.
+
2006-07-29 Jean-François Wauthy <pollux at xfce.org>
* fr.po: Add French translations by Maximilian Schleiss
Modified: xfce4-notes-plugin/trunk/po/fr.po
===================================================================
--- xfce4-notes-plugin/trunk/po/fr.po 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/po/fr.po 2006-07-30 21:58:10 UTC (rev 1819)
@@ -5,12 +5,11 @@
# package.
# Mike Massonnet <mmassonnet at gmail.com>, 2006.
# Maximilian Schleiss <maxschleiss at bluewin.ch>, 2006.
-
msgid ""
msgstr ""
"Project-Id-Version: 1.2.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-07-24 00:56+0200\n"
+"POT-Creation-Date: 2006-07-30 22:24+0200\n"
"PO-Revision-Date: 2006-07-28 13:07+0100\n"
"Last-Translator: Maximilian Schleiss <maxschleiss at bluewin.ch>\n"
"Language-Team: French <xfce-i18n at xfce.org>\n"
@@ -18,13 +17,10 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/notes.c:244
-msgid ""
-"Notes\n"
-"Click this button to show/hide your notes"
-msgstr ""
-"Notes\n"
-"Cliquer sur ce bouton pour afficher/cacher les notes"
+#: ../panel-plugin/notes.c:244 ../panel-plugin/notes-window.c:62
+#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
+msgid "Notes"
+msgstr "Notes"
#: ../panel-plugin/notes-options.c:59
msgid "Notes Plugin"
@@ -58,19 +54,23 @@
msgid "A restart of the panel is needed"
msgstr "Un redémarrage du panneau est nécessaire"
-#: ../panel-plugin/notes-window.c:96
+#: ../panel-plugin/notes-window.c:99
msgid "Open a new page"
msgstr "Ouvrir une nouvelle page"
-#: ../panel-plugin/notes-window.c:125
+#: ../panel-plugin/notes-window.c:115
+msgid "Delete a page"
+msgstr "Supprimer une page"
+
+#: ../panel-plugin/notes-window.c:140
msgid "<b>Notes</b>"
msgstr "<b>Notes</b>"
-#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
-msgid "Notes"
-msgstr "Notes"
+#: ../panel-plugin/notes-window.c:374
+msgid "Are you sure you want to delete this note?"
+msgstr "Êtes-vous certain(e) de vouloir supprimer cette note ?"
#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:2
-msgid "Notes applet for the Xfce4 panel"
-msgstr "Applet Notes pour le panneau Xfce4"
+msgid "Notes plugin for the Xfce4 desktop"
+msgstr "Greffon de notes Post-It pour le bureau Xfce4"
Modified: xfce4-notes-plugin/trunk/po/hu.po
===================================================================
--- xfce4-notes-plugin/trunk/po/hu.po 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/po/hu.po 2006-07-30 21:58:10 UTC (rev 1819)
@@ -1,7 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
-"POT-Creation-Date: \n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2006-07-30 22:24+0200\n"
"PO-Revision-Date: 2006-07-25 09:38+0100\n"
"Last-Translator: SZERVÑC Attila <sas at 321.hu>\n"
"Language-Team: hu\n"
@@ -12,13 +13,10 @@
"X-Poedit-Language: Hungarian\n"
"X-Poedit-Country: HUNGARY\n"
-#: ../panel-plugin/notes.c:244
-msgid ""
-"Notes\n"
-"Click this button to show/hide your notes"
-msgstr ""
-"Jegyzetek\n"
-"Kattints e gombra jegyzeteid mutatásához/elrejtéséhez"
+#: ../panel-plugin/notes.c:244 ../panel-plugin/notes-window.c:62
+#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
+msgid "Notes"
+msgstr "Jegyzetek"
#: ../panel-plugin/notes-options.c:59
msgid "Notes Plugin"
@@ -52,19 +50,30 @@
msgid "A restart of the panel is needed"
msgstr "A panel újraindítása szükséges"
-#: ../panel-plugin/notes-window.c:96
+#: ../panel-plugin/notes-window.c:99
msgid "Open a new page"
msgstr "Új lapot nyit"
-#: ../panel-plugin/notes-window.c:125
+#: ../panel-plugin/notes-window.c:115
+msgid "Delete a page"
+msgstr ""
+
+#: ../panel-plugin/notes-window.c:140
msgid "<b>Notes</b>"
msgstr "<b>Jegyzetek</b>"
-#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
-msgid "Notes"
-msgstr "Jegyzetek"
+#: ../panel-plugin/notes-window.c:374
+msgid "Are you sure you want to delete this note?"
+msgstr ""
#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:2
-msgid "Notes applet for the Xfce4 panel"
+#, fuzzy
+msgid "Notes plugin for the Xfce4 desktop"
msgstr "Jegyzettömb az Xfce4 panelhoz"
+#~ msgid ""
+#~ "Notes\n"
+#~ "Click this button to show/hide your notes"
+#~ msgstr ""
+#~ "Jegyzetek\n"
+#~ "Kattints e gombra jegyzeteid mutatásához/elrejtéséhez"
Modified: xfce4-notes-plugin/trunk/po/xfce4-notes-plugin.pot
===================================================================
--- xfce4-notes-plugin/trunk/po/xfce4-notes-plugin.pot 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/po/xfce4-notes-plugin.pot 2006-07-30 21:58:10 UTC (rev 1819)
@@ -1,16 +1,14 @@
-# Xfce4 notes plugin.
-# Copyright (C) 2003 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
-# 2006 Mike Massonnet <mmassonnet at gmail.com>
-# This file is distributed under the same license as the xfce4-notes-plugin
-# package.
-# Mike Massonnet <mmassonnet at gmail.com>, 2006.
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: 1.2.1\n"
+"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-07-24 00:56+0200\n"
+"POT-Creation-Date: 2006-07-30 22:24+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -18,10 +16,9 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/notes.c:244
-msgid ""
-"Notes\n"
-"Click this button to show/hide your notes"
+#: ../panel-plugin/notes.c:244 ../panel-plugin/notes-window.c:62
+#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
+msgid "Notes"
msgstr ""
#: ../panel-plugin/notes-options.c:59
@@ -56,18 +53,22 @@
msgid "A restart of the panel is needed"
msgstr ""
-#: ../panel-plugin/notes-window.c:96
+#: ../panel-plugin/notes-window.c:99
msgid "Open a new page"
msgstr ""
-#: ../panel-plugin/notes-window.c:125
+#: ../panel-plugin/notes-window.c:115
+msgid "Delete a page"
+msgstr ""
+
+#: ../panel-plugin/notes-window.c:140
msgid "<b>Notes</b>"
msgstr ""
-#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
-msgid "Notes"
+#: ../panel-plugin/notes-window.c:374
+msgid "Are you sure you want to delete this note?"
msgstr ""
#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:2
-msgid "Notes applet for the Xfce4 panel"
+msgid "Notes plugin for the Xfce4 desktop"
msgstr ""
Modified: xfce4-notes-plugin/trunk/po/zh_TW.po
===================================================================
--- xfce4-notes-plugin/trunk/po/zh_TW.po 2006-07-30 13:10:38 UTC (rev 1818)
+++ xfce4-notes-plugin/trunk/po/zh_TW.po 2006-07-30 21:58:10 UTC (rev 1819)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: xfce4-notes-plugin 1.2.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-07-24 00:56+0200\n"
+"POT-Creation-Date: 2006-07-30 22:24+0200\n"
"PO-Revision-Date: 2006-07-25 16:52+0800\n"
"Last-Translator: Cosmo Chene <cosmolax at gmail.com>\n"
"Language-Team: Tradictional Chinese <zh-l10n at linux.org.tw>\n"
@@ -16,13 +16,10 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/notes.c:244
-msgid ""
-"Notes\n"
-"Click this button to show/hide your notes"
-msgstr ""
-"小筆記\n"
-"按下這個按鈕以顯示或隱藏小筆記"
+#: ../panel-plugin/notes.c:244 ../panel-plugin/notes-window.c:62
+#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
+msgid "Notes"
+msgstr "小筆記"
#: ../panel-plugin/notes-options.c:59
msgid "Notes Plugin"
@@ -56,18 +53,30 @@
msgid "A restart of the panel is needed"
msgstr "需要重新啟動面板"
-#: ../panel-plugin/notes-window.c:96
+#: ../panel-plugin/notes-window.c:99
msgid "Open a new page"
msgstr "開啟新頁面"
-#: ../panel-plugin/notes-window.c:125
+#: ../panel-plugin/notes-window.c:115
+msgid "Delete a page"
+msgstr ""
+
+#: ../panel-plugin/notes-window.c:140
msgid "<b>Notes</b>"
msgstr "<b>小筆記</b>"
-#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
-msgid "Notes"
-msgstr "小筆記"
+#: ../panel-plugin/notes-window.c:374
+msgid "Are you sure you want to delete this note?"
+msgstr ""
#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:2
-msgid "Notes applet for the Xfce4 panel"
+#, fuzzy
+msgid "Notes plugin for the Xfce4 desktop"
msgstr "Xfce4 面板上的小筆記外掛程式"
+
+#~ msgid ""
+#~ "Notes\n"
+#~ "Click this button to show/hide your notes"
+#~ msgstr ""
+#~ "小筆記\n"
+#~ "按下這個按鈕以顯示或隱藏小筆記"
More information about the Goodies-commits
mailing list