Commit 1d4706a4 authored by Benedikt Meurer's avatar Benedikt Meurer

2006-01-04 Benedikt Meurer <benny@xfce.org>

	* docs/reference/thunar-vfs/thunar-vfs-sections.txt,
	  thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols,
	  docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Add method
	  thunar_vfs_info_chmod() to change the permissions of a file
	  identified by a given ThunarVfsInfo.
	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols,
	  docs/reference/thunar-vfs/thunar-vfs-sections.txt,
	  docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Add method
	  thunar_vfs_info_chgrp() to change the group id of a file identified
	  by a given ThunarVfsInfo.
	* thunar-vfs/thunar-vfs-user.c(thunar_vfs_user_load): Properly
	  substitute '&' in real names.
	* icons/16x16/, icons/Makefile.am, configure.in.in, thunar/Makefile.am,
	  thunar/thunar-stock.{c,h}: Add stock icons thunar-permissions-user,
	  thunar-permissions-group and thunar-permissions-other.
	* thunar-uca/thunar-uca-plugin.c: Don't display debug messages unless
	  G_ENABLE_DEBUG is defined.
	* thunar-vfs/thunar-vfs-user.{c,h}, thunar-vfs/thunar-vfs.symbols,
	  docs/reference/thunar-vfs/thunar-vfs-sections.txt,
	  docs/reference/thunar-vfs/tmpl/thunar-vfs-user-manager.sgml: Add new
	  method thunar_vfs_user_manager_get_all_groups() to retrieve all groups
	  known to the ThunarVfsUserManager.
	* thunar/thunar-advanced-permissions-dialog.{c,h},
	  thunar/thunar-change-group-dialog.{c,h},
	  thunar/thunar-permissions-model.{c,h},
	  thunar/thunar-permissions-view.{c,h},
	  thunar/Makefile.am, thunar/thunar-file.{c,h},
	  thunar/thunar-properties-dialog.c: Add permissions tab to the
	  file properties dialog.
	* po/POTFILES.in: Add new files.
	* po/*.po: Merge new strings.
	* tdb/tdbtool.c(print_rec): Fix printf format.




(Old svn revision: 19296)
parent cf19232d
2006-01-04 Benedikt Meurer <benny@xfce.org>
* docs/reference/thunar-vfs/thunar-vfs-sections.txt,
thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols,
docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Add method
thunar_vfs_info_chmod() to change the permissions of a file
identified by a given ThunarVfsInfo.
* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols,
docs/reference/thunar-vfs/thunar-vfs-sections.txt,
docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Add method
thunar_vfs_info_chgrp() to change the group id of a file identified
by a given ThunarVfsInfo.
* thunar-vfs/thunar-vfs-user.c(thunar_vfs_user_load): Properly
substitute '&' in real names.
* icons/16x16/, icons/Makefile.am, configure.in.in, thunar/Makefile.am,
thunar/thunar-stock.{c,h}: Add stock icons thunar-permissions-user,
thunar-permissions-group and thunar-permissions-other.
* thunar-uca/thunar-uca-plugin.c: Don't display debug messages unless
G_ENABLE_DEBUG is defined.
* thunar-vfs/thunar-vfs-user.{c,h}, thunar-vfs/thunar-vfs.symbols,
docs/reference/thunar-vfs/thunar-vfs-sections.txt,
docs/reference/thunar-vfs/tmpl/thunar-vfs-user-manager.sgml: Add new
method thunar_vfs_user_manager_get_all_groups() to retrieve all groups
known to the ThunarVfsUserManager.
* thunar/thunar-advanced-permissions-dialog.{c,h},
thunar/thunar-change-group-dialog.{c,h},
thunar/thunar-permissions-model.{c,h},
thunar/thunar-permissions-view.{c,h},
thunar/Makefile.am, thunar/thunar-file.{c,h},
thunar/thunar-properties-dialog.c: Add permissions tab to the
file properties dialog.
* po/POTFILES.in: Add new files.
* po/*.po: Merge new strings.
* tdb/tdbtool.c(print_rec): Fix printf format.
2006-01-02 Benedikt Meurer <benny@xfce.org>
* thunar-uca/thunar-uca-model.c: Include <locale.h> to get LC_MESSAGES
......
......@@ -375,6 +375,7 @@ docs/reference/thunarx/version.xml
examples/Makefile
examples/tex-open-terminal/Makefile
icons/Makefile
icons/16x16/Makefile
icons/24x24/Makefile
icons/48x48/Makefile
po/Makefile.in
......
......@@ -30,6 +30,8 @@ thunar_vfs_info_new_for_path
thunar_vfs_info_ref
thunar_vfs_info_unref
thunar_vfs_info_execute
thunar_vfs_info_chgrp
thunar_vfs_info_chmod
thunar_vfs_info_rename
thunar_vfs_info_matches
thunar_vfs_info_list_free
......@@ -311,6 +313,7 @@ ThunarVfsUserManager
thunar_vfs_user_manager_get_default
thunar_vfs_user_manager_get_group_by_id
thunar_vfs_user_manager_get_user_by_id
thunar_vfs_user_manager_get_all_groups
<SUBSECTION Standard>
ThunarVfsUserManagerClass
THUNAR_VFS_TYPE_USER_MANAGER
......
......@@ -79,6 +79,28 @@ ThunarVfsInfo
@uris:
<!-- ##### FUNCTION thunar_vfs_info_chgrp ##### -->
<para>
</para>
@info:
@gid:
@error:
@Returns:
<!-- ##### FUNCTION thunar_vfs_info_chmod ##### -->
<para>
</para>
@info:
@mode:
@error:
@Returns:
<!-- ##### FUNCTION thunar_vfs_info_rename ##### -->
<para>
......
......@@ -51,3 +51,12 @@ ThunarVfsUserManager
@Returns:
<!-- ##### FUNCTION thunar_vfs_user_manager_get_all_groups ##### -->
<para>
</para>
@manager:
@Returns:
# $Id$
iconsdir = $(datadir)/icons/hicolor/16x16/stock/generic
icons_DATA = \
stock_thunar-permissions-group.png \
stock_thunar-permissions-other.png \
stock_thunar-permissions-user.png
EXTRA_DIST = \
$(icons_DATA)
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
# $Id$
SUBDIRS = \
16x16 \
24x24 \
48x48
......
......@@ -29,7 +29,9 @@ thunar-vfs/thunar-vfs-xfer.c
thunar-vfs/thunar-vfs.c
thunar/main.c
thunar/thunar-advanced-permissions-dialog.c
thunar/thunar-application.c
thunar/thunar-change-group-dialog.c
thunar/thunar-chooser-dialog.c
thunar/thunar-chooser-model.c
thunar/thunar-clipboard-manager.c
......@@ -38,9 +40,6 @@ thunar/thunar-details-view.c
thunar/thunar-dialogs.c
thunar/thunar-dnd.c
thunar/thunar-emblem-chooser.c
thunar/thunar-shortcuts-model.c
thunar/thunar-shortcuts-pane.c
thunar/thunar-shortcuts-view.c
thunar/thunar-file.c
thunar/thunar-folder.c
thunar/thunar-gdk-pixbuf-extensions.c
......@@ -59,13 +58,19 @@ thunar/thunar-metafile.c
thunar/thunar-navigator.c
thunar/thunar-open-with-action.c
thunar/thunar-path-entry.c
thunar/thunar-permissions-model.c
thunar/thunar-permissions-view.c
thunar/thunar-preferences-dialog.c
thunar/thunar-preferences.c
thunar/thunar-progress-dialog.c
thunar/thunar-properties-dialog.c
thunar/thunar-shortcuts-model.c
thunar/thunar-shortcuts-pane.c
thunar/thunar-shortcuts-view.c
thunar/thunar-side-pane.c
thunar/thunar-standard-view.c
thunar/thunar-statusbar.c
thunar/thunar-stock.c
thunar/thunar-text-renderer.c
thunar/thunar-thumbnail-generator.c
thunar/thunar-view.c
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Thunar 0.1.4svn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-01-02 02:20+0900\n"
"POT-Creation-Date: 2006-01-04 18:34+0100\n"
"PO-Revision-Date: 2005-12-20 14:28+0900\n"
"Last-Translator: Pau Rul·lan Ferragut <paurullan@bulma.net>\n"
"Language-Team: Catalan <ca@dodds.net>\n"
......@@ -16,23 +16,23 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
#: ../thunar-vfs/thunar-vfs-info.c:261
#: ../thunar-vfs/thunar-vfs-info.c:362
msgid "No Exec field specified"
msgstr "No ha especificat un camp executable"
#: ../thunar-vfs/thunar-vfs-info.c:269
#: ../thunar-vfs/thunar-vfs-info.c:370
msgid "Unable to parse file"
msgstr "No s'ha pogut analitzar el fitxer"
#: ../thunar-vfs/thunar-vfs-info.c:359
#: ../thunar-vfs/thunar-vfs-info.c:460
msgid "Invalid file name"
msgstr "El nom del fitxer no és vàlid"
#: ../thunar-vfs/thunar-vfs-info.c:381
#: ../thunar-vfs/thunar-vfs-info.c:482
msgid "Invalid desktop file"
msgstr "El nom de l'escriptori no és vàlid"
#: ../thunar-vfs/thunar-vfs-info.c:615
#: ../thunar-vfs/thunar-vfs-info.c:716
#, c-format
msgid "Failed to stat file `%s': %s"
msgstr ""
......@@ -145,7 +145,7 @@ msgid "copy of %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-xfer.c:158 ../thunar/thunar-list-model.c:703
#: ../thunar/thunar-properties-dialog.c:629
#: ../thunar/thunar-properties-dialog.c:643
#, c-format
msgid "link to %s"
msgstr ""
......@@ -257,10 +257,62 @@ msgid "Failed to create symbolic `%s'"
msgstr ""
#. setup application name
#: ../thunar/main.c:47 ../thunar/thunar-window.c:404
#: ../thunar/main.c:48 ../thunar/thunar-window.c:404
msgid "Thunar"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:159
#, fuzzy
msgid "Advanced Permissions"
msgstr "Permisos"
#: ../thunar/thunar-advanced-permissions-dialog.c:167
msgid "Special Bits"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:180
msgid "Set _User ID (SUID)"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:190
msgid ""
"An executable file whose Set User ID (SUID) bit is\n"
"set will always be executed with the privileges of\n"
"the owner of the executable."
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:211
msgid "Set _Group ID (SGID)"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:221
msgid ""
"An executable file whose Set Group ID (SGID) bit is\n"
"set will always be executed with the privileges of the\n"
"group of the executable."
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:242
msgid "_Sticky"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:252
msgid ""
"A file in a sticky directory may only be removed or\n"
"renamed by a user if the user has write permission\n"
"for the directory and the user is the owner of the\n"
"file, the owner of the directory or the superuser."
msgstr ""
#. display an error message to the user
#. display an error to the user (when we get here, we definitely have a valid file!)
#: ../thunar/thunar-advanced-permissions-dialog.c:356
#: ../thunar/thunar-permissions-model.c:830
#: ../thunar/thunar-permissions-view.c:494
#, fuzzy, c-format
msgid "Failed to change permissions of `%s'"
msgstr "Impossible de carregar el programa des del fitxer %s"
#. display an error message to the user
#: ../thunar/thunar-application.c:222
msgid "Failed to launch operation"
......@@ -287,11 +339,25 @@ msgstr ""
msgid "Creating directories..."
msgstr "Recol·lectant fitxers..."
#: ../thunar/thunar-change-group-dialog.c:193
msgid "Change Group"
msgstr ""
#: ../thunar/thunar-change-group-dialog.c:200
msgid "_Group:"
msgstr ""
#. display an error message
#: ../thunar/thunar-change-group-dialog.c:309
#, c-format
msgid "Failed to change the group to which `%s' belongs"
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:169 ../thunar/thunar-emblem-chooser.c:147
#: ../thunar/thunar-emblem-chooser.c:148 ../thunar/thunar-icon-renderer.c:161
#: ../thunar/thunar-open-with-action.c:146
#: ../thunar/thunar-open-with-action.c:147
#: ../thunar/thunar-properties-dialog.c:171 ../thunar/thunar-statusbar.c:190
#: ../thunar/thunar-properties-dialog.c:172 ../thunar/thunar-statusbar.c:190
msgid "File"
msgstr "Fitxer"
......@@ -437,7 +503,11 @@ msgstr ""
msgid "Name"
msgstr "Nom"
#.
#. Permissions chooser
#.
#: ../thunar/thunar-details-view.c:197
#: ../thunar/thunar-properties-dialog.c:382
msgid "Permissions"
msgstr "Permisos"
......@@ -483,35 +553,15 @@ msgstr "_Enllaça aquí"
msgid "Unable to execute file `%s'"
msgstr "No s'ha pogut analitzar el fitxer"
#. append the remove menu item
#: ../thunar/thunar-shortcuts-view.c:319
msgid "_Remove Shortcut"
msgstr ""
#. append the rename menu item
#: ../thunar/thunar-shortcuts-view.c:334
msgid "Re_name Shortcut"
msgstr ""
#: ../thunar/thunar-shortcuts-view.c:654
#, c-format
msgid "The path '%s' does not refer to a directory"
msgstr ""
#. display an error message to the user
#: ../thunar/thunar-shortcuts-view.c:673
msgid "Failed to add new shortcut"
msgstr ""
#: ../thunar/thunar-file.c:762
#: ../thunar/thunar-file.c:775
msgid "The root folder has no parent"
msgstr ""
#: ../thunar/thunar-file.c:954
#: ../thunar/thunar-file.c:1032
msgid "Filesystem"
msgstr "Sistema de fitxers"
#: ../thunar/thunar-file.c:978
#: ../thunar/thunar-file.c:1056
msgid "Home"
msgstr "Inici"
......@@ -739,7 +789,7 @@ msgstr ""
msgid "Whether to display hidden files"
msgstr ""
#: ../thunar/thunar-list-model.c:701 ../thunar/thunar-properties-dialog.c:627
#: ../thunar/thunar-list-model.c:701 ../thunar/thunar-properties-dialog.c:641
msgid "broken link"
msgstr ""
......@@ -825,6 +875,77 @@ msgstr ""
msgid "The icon size for the path entry"
msgstr ""
#: ../thunar/thunar-permissions-model.c:440
#, c-format
msgid "%s (%s)"
msgstr ""
#: ../thunar/thunar-permissions-model.c:447
msgid "Unknown file owner"
msgstr ""
#: ../thunar/thunar-permissions-model.c:460
msgid "Unknown file group"
msgstr ""
#: ../thunar/thunar-permissions-model.c:465
msgid "All other users"
msgstr ""
#: ../thunar/thunar-permissions-model.c:474
msgid "Read"
msgstr ""
#: ../thunar/thunar-permissions-model.c:478
msgid "Write"
msgstr ""
#: ../thunar/thunar-permissions-model.c:482
msgid "List folder contents"
msgstr ""
#: ../thunar/thunar-permissions-model.c:482
#, fuzzy
msgid "Execute"
msgstr "_Executa"
#. actions for the group item
#: ../thunar/thunar-permissions-model.c:884
msgid "Change _Group..."
msgstr ""
#. append the "Grant Permission" action
#: ../thunar/thunar-permissions-model.c:897
#, fuzzy
msgid "_Grant Permission"
msgstr "Permisos"
#. append the "Deny Permission" action
#: ../thunar/thunar-permissions-model.c:906
#, fuzzy
msgid "_Deny Permission"
msgstr "Permisos"
#: ../thunar/thunar-permissions-view.c:213
msgid ""
"For special permissions and for\n"
"advanced settings, click Advanced."
msgstr ""
#: ../thunar/thunar-permissions-view.c:222
msgid "_Advanced..."
msgstr ""
#: ../thunar/thunar-permissions-view.c:223
msgid "Click here for special permissions and for advanced settings."
msgstr ""
#: ../thunar/thunar-permissions-view.c:243
msgid ""
"You are not the owner of this file, so\n"
"you cannot change these permissions."
msgstr ""
#: ../thunar/thunar-preferences-dialog.c:184
#, fuzzy
msgid "File Manager Preferences"
......@@ -943,71 +1064,91 @@ msgid_plural "(%lu seconds remaining)"
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-properties-dialog.c:172
#: ../thunar/thunar-properties-dialog.c:173
msgid "The file displayed by the dialog"
msgstr ""
#: ../thunar/thunar-properties-dialog.c:217
#: ../thunar/thunar-properties-dialog.c:220
msgid "General"
msgstr "General"
#: ../thunar/thunar-properties-dialog.c:234
#: ../thunar/thunar-properties-dialog.c:237
msgid "Name:"
msgstr "Nom:"
#.
#. Second box (kind)
#.
#: ../thunar/thunar-properties-dialog.c:259
#: ../thunar/thunar-properties-dialog.c:262
msgid "Kind:"
msgstr ""
#.
#. Third box (modified, accessed)
#.
#: ../thunar/thunar-properties-dialog.c:284
#: ../thunar/thunar-properties-dialog.c:287
msgid "Modified:"
msgstr "Modificat:"
#: ../thunar/thunar-properties-dialog.c:297
#: ../thunar/thunar-properties-dialog.c:300
msgid "Accessed:"
msgstr "Accedit:"
#.
#. Fourth box (volume, size)
#.
#: ../thunar/thunar-properties-dialog.c:321
#: ../thunar/thunar-properties-dialog.c:324
msgid "Volume:"
msgstr "Volum:"
#: ../thunar/thunar-properties-dialog.c:344
#: ../thunar/thunar-properties-dialog.c:347
msgid "Size:"
msgstr "Mida:"
#.
#. Emblem chooser
#.
#: ../thunar/thunar-properties-dialog.c:368
#: ../thunar/thunar-properties-dialog.c:371
msgid "Emblems"
msgstr ""
#: ../thunar/thunar-properties-dialog.c:604
#: ../thunar/thunar-properties-dialog.c:618
#, c-format
msgid "%s Info"
msgstr ""
#: ../thunar/thunar-properties-dialog.c:685
#: ../thunar/thunar-properties-dialog.c:699
#, c-format
msgid "%s (%u Bytes)"
msgstr ""
#. display an error message
#: ../thunar/thunar-properties-dialog.c:731
#: ../thunar/thunar-properties-dialog.c:745
#: ../thunar/thunar-standard-view.c:2170
#, fuzzy, c-format
msgid "Failed to rename `%s'"
msgstr "No s'ha pogut eliminar %s."
#. append the remove menu item
#: ../thunar/thunar-shortcuts-view.c:319
msgid "_Remove Shortcut"
msgstr ""
#. append the rename menu item
#: ../thunar/thunar-shortcuts-view.c:334
msgid "Re_name Shortcut"
msgstr ""
#: ../thunar/thunar-shortcuts-view.c:654
#, c-format
msgid "The path '%s' does not refer to a directory"
msgstr ""
#. display an error message to the user
#: ../thunar/thunar-shortcuts-view.c:673
msgid "Failed to add new shortcut"
msgstr ""
#: ../thunar/thunar-standard-view.c:253
msgid "File Context Menu"
msgstr ""
......@@ -1661,25 +1802,25 @@ msgstr "Seleccioneu una aplicació"
msgid "Image Files"
msgstr "Fitxers"
#: ../thunar-uca/thunar-uca-model.c:767
#: ../thunar-uca/thunar-uca-model.c:770
#, c-format
msgid "Unknown element <%s>"
msgstr ""
#: ../thunar-uca/thunar-uca-model.c:785
#: ../thunar-uca/thunar-uca-model.c:788
msgid "End element handler called while in root context"
msgstr ""
#: ../thunar-uca/thunar-uca-model.c:873
#: ../thunar-uca/thunar-uca-model.c:876
#, c-format
msgid "Unknown closing element <%s>"
msgstr ""
#: ../thunar-uca/thunar-uca-model.c:1298
#: ../thunar-uca/thunar-uca-model.c:1301
msgid "Failed to determine save location for uca.xml"
msgstr ""
#: ../thunar-uca/thunar-uca-model.c:1414
#: ../thunar-uca/thunar-uca-model.c:1417
msgid "Command not configured"
msgstr ""
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Thunar 0.1.4svn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-01-02 02:20+0900\n"
"POT-Creation-Date: 2006-01-04 18:34+0100\n"
"PO-Revision-Date: 2005-10-06 22:03+0900\n"
"Last-Translator: Benedikt Meurer <benny@xfce.org>\n"
"Language-Team: German <de@li.org>\n"
......@@ -15,23 +15,23 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../thunar-vfs/thunar-vfs-info.c:261
#: ../thunar-vfs/thunar-vfs-info.c:362
msgid "No Exec field specified"
msgstr ""
#: ../thunar-vfs/thunar-vfs-info.c:269
#: ../thunar-vfs/thunar-vfs-info.c:370
msgid "Unable to parse file"
msgstr ""
#: ../thunar-vfs/thunar-vfs-info.c:359
#: ../thunar-vfs/thunar-vfs-info.c:460
msgid "Invalid file name"
msgstr ""
#: ../thunar-vfs/thunar-vfs-info.c:381
#: ../thunar-vfs/thunar-vfs-info.c:482
msgid "Invalid desktop file"
msgstr ""
#: ../thunar-vfs/thunar-vfs-info.c:615
#: ../thunar-vfs/thunar-vfs-info.c:716
#, c-format
msgid "Failed to stat file `%s': %s"
msgstr ""
......@@ -138,7 +138,7 @@ msgid "copy of %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-xfer.c:158 ../thunar/thunar-list-model.c:703
#: ../thunar/thunar-properties-dialog.c:629
#: ../thunar/thunar-properties-dialog.c:643
#, c-format
msgid "link to %s"
msgstr ""
......@@ -250,10 +250,62 @@ msgid "Failed to create symbolic `%s'"
msgstr ""
#. setup application name
#: ../thunar/main.c:47 ../thunar/thunar-window.c:404
#: ../thunar/main.c:48 ../thunar/thunar-window.c:404
msgid "Thunar"
msgstr "Thunar"
#: ../thunar/thunar-advanced-permissions-dialog.c:159
#, fuzzy
msgid "Advanced Permissions"
msgstr "Berechtigungen"
#: ../thunar/thunar-advanced-permissions-dialog.c:167
msgid "Special Bits"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:180
msgid "Set _User ID (SUID)"
msgstr ""
#: ../thunar/thunar-advanced-permissions-dialog.c:190
msgid ""
"An executable file whose Set User ID (SUID) bit is\n"