gosa-plugin-squid-2.7.4/0000755000175000017500000000000011752422557014102 5ustar cajuscajusgosa-plugin-squid-2.7.4/contrib/0000755000175000017500000000000011752422557015542 5ustar cajuscajusgosa-plugin-squid-2.7.4/contrib/mkHash.pl0000644000175000017500000000030710776434330017307 0ustar cajuscajus#!/usr/bin/perl use strict; use DB_File; my $db = "/var/spool/squid/domains.db"; my %db; tie(%db, 'DB_File', $db); while(<>) { chomp; unless(exists($db{$_})) { $db{$_} = 1; } } untie %db; gosa-plugin-squid-2.7.4/contrib/goQuota.pl0000644000175000017500000001602211321117143017477 0ustar cajuscajus#!/usr/bin/perl -w # # Parse squid log and write current traffic usage by users into cache # # Igor Muratov # # $Id: goQuota.pl,v 1.4 2005/04/03 00:46:14 migor-guest Exp $ # use strict; use Time::Local; use Net::LDAP; use DB_File; use POSIX qw(strftime); my $debug = 0; $|=1; my $LDAP; my $LDAP_HOST = "localhost"; my $LDAP_PORT = "389"; my $LDAP_BASE = "ou=People,dc=example,dc=com"; my $ACCESS_LOG = '/var/log/squid/access.log'; my $CACHE_FILE = '/var/spool/squid/quota.db'; my $DEFAULT_PERIOD = 'm'; my $FORMAT = "A16 A5 S S L A5 L L L"; my %cache; my @lines; sub timestamp { return strftime("%a %b %X goQuota[$$]: ", localtime); } sub anonBind { my $ldap = Net::LDAP->new( $LDAP_HOST, port => $LDAP_PORT ); if($ldap) { my $mesg = $ldap->bind(); $mesg->code && warn timestamp, "Can't bind to ldap://$LDAP_HOST:$LDAP_PORT:", $mesg->error, "\n"; return $ldap; } else { warn timestamp, "Can't connect to ldap://$LDAP_HOST:$LDAP_PORT\n"; return undef; } } # Retrive users's data from LDAP sub update_userinfo { my $user = shift; my $uid = $user->{uid}; return undef unless $LDAP; # User unknown or cache field is expired my $result = $LDAP->search( base=>$LDAP_BASE, filter=>"(&(objectClass=gosaProxyAccount)(uid=$uid))", attrs=>[ 'uid', 'gosaProxyAcctFlags', 'gosaProxyQuota', 'gosaProxyQuotaPeriod', 'gosaProxyWorkingStop', 'gosaProxyWorkingStart', 'modifyTimestamp' ] ); $result->code && warn timestamp, "Failed to search: ", $result->error; # Get user's data if($result->count) { my $entry = ($result->entries)[0]; $user->{uid} = ($entry->get_value('uid'))[0]; $user->{modifyTimestamp} = ($entry->get_value('modifyTimestamp'))[0]; $user->{gosaProxyWorkingStart} = ($entry->get_value('gosaProxyWorkingStart'))[0]; $user->{gosaProxyWorkingStop} = ($entry->get_value('gosaProxyWorkingStop'))[0]; $user->{gosaProxyAcctFlags} = ($entry->get_value('gosaProxyAcctFlags'))[0]; my ($quota, $unit) = ($entry->get_value('gosaProxyQuota'))[0] =~ /(\d+)(\S)/g; $user->{gosaProxyQuota} = $quota; $user->{gosaProxyQuota} *= 1024 if $unit =~ /[Kk]/; $user->{gosaProxyQuota} *= 1048576 if $unit =~ /[Mm]/; $user->{gosaProxyQuota} *= 1073741824 if $unit =~ /[Gg]/; $user->{gosaProxyQuotaPeriod} = ($entry->get_value('gosaProxyQuotaPeriod'))[0] || $DEFAULT_PERIOD; # Return warn timestamp, "User $uid found in LDAP.\n"; return 1; } else { # Unknown user warn timestamp, "User $uid does not exists in LDAP.\n"; $user->{uid} = $uid; $user->{gosaProxyAcctFlags} = '[FTB]'; $user->{gosaProxyQuota} = 0; $user->{gosaProxyQuotaPeriod} = 'y'; return 0; } } sub get_update { my $ts = shift; my %update; my $result = $LDAP->search( base=>$LDAP_BASE, filter=>"(&(objectClass=gosaProxyAccount)(modifyTimestamp>=$ts))", attrs=>'uid' ); # Get user's data if($result->count) { my $entry = ($result->entries)[0]; $update{($entry->get_value('uid'))[0]}++; } return %update; } # Check quota sub update_quota { my $user = shift; my $uid = $user->{uid}; my $period = 0; $period = 3600 if $user->{gosaProxyQuotaPeriod} eq 'h'; $period = 86400 if $user->{gosaProxyQuotaPeriod} eq 'd'; $period = 604800 if $user->{gosaProxyQuotaPeriod} eq 'w'; $period = 2592000 if $user->{gosaProxyQuotaPeriod} eq 'm'; $period = 220752000 if $user->{gosaProxyQuotaPeriod} eq 'y'; if($user->{lastRequest} - $user->{firstRequest} > $period) { if($user->{trafficUsage} > $user->{gosaProxyQuota}) { warn timestamp, "Reduce quota for $uid while $period seconds.\n"; $user->{trafficUsage} -= $user->{gosaProxyQuota}; $user->{firstRequest} += $period; } else { warn timestamp, "Restart quota for $uid.\n"; $user->{trafficUsage} = 0; $user->{firstRequest} = $user->{lastRequest}; } } } sub dump_data { my $user = shift; print "User: ",$user->{uid},"\n"; print "\t",$user->{modifyTimestamp},"\n"; print "\t",$user->{gosaProxyAcctFlags},"\n"; print "\t",$user->{gosaProxyWorkingStart},"\n"; print "\t",$user->{gosaProxyWorkingStop},"\n"; print "\t",$user->{gosaProxyQuota},"\n"; print "\t",$user->{gosaProxyQuotaPeriod},"\n"; print "\t",$user->{trafficUsage},"\n"; print "\t",$user->{firstRequest},"\n"; print "\t",$user->{lastRequest},"\n"; } sub unpack_user { my $uid = shift; my $user; $user->{uid} = $uid; ( $user->{modifyTimestamp}, $user->{gosaProxyAcctFlags}, $user->{gosaProxyWorkingStart}, $user->{gosaProxyWorkingStop}, $user->{gosaProxyQuota}, $user->{gosaProxyQuotaPeriod}, $user->{trafficUsage}, $user->{firstRequest}, $user->{lastRequest} ) = unpack($FORMAT, $cache{$uid}); return $user; } sub pack_user { my $user = shift; $cache{$user->{uid}} = pack( $FORMAT, $user->{modifyTimestamp}, $user->{gosaProxyAcctFlags}, $user->{gosaProxyWorkingStart}, $user->{gosaProxyWorkingStop}, $user->{gosaProxyQuota}, $user->{gosaProxyQuotaPeriod}, $user->{trafficUsage}, $user->{firstRequest}, $user->{lastRequest} ); } #-------------------------------------- $LDAP = anonBind or die timestamp, "No lines processed.\n"; # This is a first time parsing? my $firstStart = 1; $firstStart = 0 if -e $CACHE_FILE; # Open log file and cache my $cache = tie(%cache, 'DB_File', $CACHE_FILE, O_CREAT|O_RDWR); my $log = tie(@lines, 'DB_File', $ACCESS_LOG, O_RDWR, 0640, $DB_RECNO) or die "Cannot open file $ACCESS_LOG: $!\n"; # Mark users which updated in LDAP my %updated; if(! $firstStart) { my $ts = strftime("%Y%m%d%H%M%SZ", gmtime); %updated = get_update($cache{MODIFY_TIMESTAMP} || "19700101000000Z"); my @count = %updated; $cache{MODIFY_TIMESTAMP} = $ts if $#count; foreach my $u (keys %updated) { warn timestamp, "User $u has been updated in LDAP. Refresh data.\n"; my $user = unpack_user($u); update_userinfo($user); pack_user($user); } } # Processing log file my $index = $cache{TIMESTAMP} < (split / +/, $lines[0])[0] ? 0 : $cache{STRING_NUMBER}; warn timestamp, "Cache update start at line $index.\n"; while($lines[$index]) { # There are array named lines with elements # 0 - line timestamp # 1 - ?? (unused) # 2 - client's IP (unused) # 3 - squid's cache status TEXT_CODE/num_code (unused) # 4 - object size in bytes # 5 - metod (unused) # 6 - URL (unused) # 7 - username # 8 - load status TYPE/source # 9 - mime type (unused) my @line = split / +/, $lines[$index++]; # Skip line if have no incoming traffic (my $errcode = $line[8]) =~ s/\/\S+//; next if $errcode eq "NONE"; # Get data from cache (my $uid = $line[7]) =~ s/^-$/anonymous/; my $user = unpack_user($uid); # Update user info from LDAP if need if ( !exists($cache{$uid}) ) { warn timestamp, "User $uid is not in cache. Go to search LDAP.\n"; update_userinfo($user); } # Update traffic info $user->{trafficUsage} += $line[4]; $user->{firstRequest} |= $line[0]; $user->{lastRequest} = $line[0]; update_quota($user); pack_user($user); dump_data($user) if $debug; $cache{TIMESTAMP} = $user->{lastRequest}; } warn timestamp, $index - $cache{STRING_NUMBER}, " new lines processed.\n"; $cache{STRING_NUMBER} = $index; $LDAP->unbind; untie @lines; untie %cache; gosa-plugin-squid-2.7.4/contrib/goSquid.pl0000644000175000017500000000521611321117143017476 0ustar cajuscajus#!/usr/bin/perl -w # # Squid redirect programm for GOsa project # # Igor Muratov # # $Id: goSquid.pl,v 1.3 2005/04/03 00:46:14 migor-guest Exp $ # use strict; use POSIX qw(strftime); use Time::Local; use DB_File; my $debug = 0; $|=1; my $DEFAULT_URL = "http://www.squid-cache.org/Squidlogo2.gif"; my $black_list = '/var/spool/squid/domains.db'; my $cache_file = '/var/spool/squid/quota.db'; my $format = "A16 A5 S S L A5 L L L"; my %cache; my %blacklist; sub timestamp { return strftime("%a %b %X goSquid[$$]: ", localtime); } # Check url in our blacklist sub unwanted_content { my $url = shift; my $host = (split(/\//, $url))[2]; return 1 if exists($blacklist{$host}) and $blacklist{$host} > 0; return undef; } # Check work time limit sub work_time { my $user = shift; my ($min,$hour) = (localtime)[1,2]; my $time = $hour * 60 + $min; return 1 if $user->{gosaProxyWorkingStart} < $time and $user->{gosaProxyWorkingStop} > $time; return undef; } sub quota_exceed { my $user = shift; return 1 if $user->{trafficUsage} > $user->{gosaProxyQuota}; return undef; } sub check_access { my ($user, $url) = @_; $user->{timed} = 0; $user->{quoted} = 0; $user->{filtered} = 0; if($user->{gosaProxyAcctFlags} =~ m/[F]/) { # Filter unwanted content $user->{filtered} = 1 if unwanted_content($url); } if($user->{gosaProxyAcctFlags} =~ m/[T]/) { # Filter unwanted content during working hours only $user->{timed} = 1 if work_time($user); } if($user->{gosaProxyAcctFlags} =~ m/B/) { $user->{quoted} = 1 if quota_exceed($user); } } #-------------------------------------- while (<>) { my ($url, $addr, $uid, $method) = split; my $time = timelocal(localtime); tie(%blacklist, 'DB_File', $black_list, O_RDONLY); tie(%cache, 'DB_File', $cache_file, O_RDONLY); if( exists($cache{$uid}) ) { my $user; $user->{uid} = $uid; ( $user->{modifyTimestamp}, $user->{gosaProxyAcctFlags}, $user->{gosaProxyWorkingStart}, $user->{gosaProxyWorkingStop}, $user->{gosaProxyQuota}, $user->{gosaProxyQuotaPeriod}, $user->{trafficUsage}, $user->{firstRequest}, $user->{lastRequest} ) = unpack($format, $cache{$uid}); check_access($user, $url); if($user->{'disabled'}) { warn timestamp, "Access denied for unknown user $uid\n"; } elsif($user->{'timed'}) { warn timestamp, "Access denied by worktime for $uid\n"; } elsif($user->{'quoted'}) { warn timestamp, "Access denied by quota for $uid\n"; } elsif($user->{'filtered'}) { warn timestamp, "Content $url filtered for $uid\n"; } else { print "$url\n"; next; } } untie %blacklist; untie %cache; print "$DEFAULT_URL\n"; } gosa-plugin-squid-2.7.4/contrib/goQuotaView.pl0000644000175000017500000000421511321117143020333 0ustar cajuscajus#!/usr/bin/perl -w # # Show user info from cache # # Igor Muratov # # $Id: goQuotaView.pl,v 1.2 2005/04/03 00:46:14 migor-guest Exp $ # use strict; use DB_File; use Date::Format; my $CACHE_FILE = '/var/spool/squid/quota.db'; my $FORMAT = "A16 A5 S S L A5 L L L"; my %cache; sub min2time { my $min = shift; return sprintf("%2d:%02d",$min/60,$min%60); } sub show_user { my $uid = shift; my ( $modifyTimestamp, $gosaProxyAcctFlags, $gosaProxyWorkingStart, $gosaProxyWorkingStop, $gosaProxyQuota, $gosaProxyQuotaPeriod, $trafficUsage, $firstRequest, $lastRequest ) = unpack($FORMAT, $cache{$uid}); my ($ts_Y, $ts_M, $ts_D, $ts_h, $ts_m, $ts_s) = $modifyTimestamp =~ /(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)/g; my $ts = "$ts_D\.$ts_M\.$ts_Y $ts_h:$ts_m:$ts_s GMT"; $gosaProxyAcctFlags =~ s/[\[\]]//g; $gosaProxyAcctFlags =~ s/F/unwanted content, /g; $gosaProxyAcctFlags =~ s/T/work time, /g; $gosaProxyAcctFlags =~ s/B/traffic/g; $gosaProxyQuotaPeriod =~ s/h/hour/; $gosaProxyQuotaPeriod =~ s/d/day/; $gosaProxyQuotaPeriod =~ s/w/week/; $gosaProxyQuotaPeriod =~ s/m/month/; $gosaProxyQuotaPeriod =~ s/y/year/; $firstRequest = localtime($firstRequest); $lastRequest = localtime($lastRequest); printf "User: %s LDAP modify timestamp\t%s Limited by\t\t%s Work time from\t%s Work time to\t\t%s Quota period\t\tOne %s Traffic quota size\t%s bytes Current traffic usage\t%s bytes First request time\t%s Last request time\t%s\n", $uid, $ts, $gosaProxyAcctFlags, min2time($gosaProxyWorkingStart), min2time($gosaProxyWorkingStop), $gosaProxyQuotaPeriod, $gosaProxyQuota, $trafficUsage, $firstRequest, $lastRequest; } #------------------------ tie(%cache, 'DB_File', $CACHE_FILE, O_CREAT|O_RDWR); if($ARGV[0]) { show_user($ARGV[0]); } else { print "eee\n"; printf "LAST STRING: %d\nLAST CACHE UPDATE: %s\nLDAP LAST CHANGE: %s\n", $cache{STRING_NUMBER}, time2str("%d.%m.%Y %H:%M:%S",$cache{TIMESTAMP}), $cache{MODIFY_TIMESTAMP}; foreach my $user (keys %cache) { next if $user eq "TIMESTAMP"; next if $user eq "STRING_NUMBER"; next if $user eq "MODIFY_TIMESTAMP"; show_user($user); } } untie %cache; gosa-plugin-squid-2.7.4/contrib/goAgent.pl0000644000175000017500000001157111325263127017460 0ustar cajuscajus#!/usr/bin/perl # # Igor Muratov # # Find changes at LDAP and put this to filesystem # # # Igor Muratov # 20041004 # - Added rebuildVirtual function # # Igor Muratov # 20040617: # - Changed search fiter to exclude gosaUserTemplate entries # # Simon Liebold : # 20040617: # - Changed $TS_FILE-location # # $Id: goAgent.pl,v 1.4 2004/11/19 21:46:56 migor-guest Exp $ # use strict; use Net::LDAP; my $LDAP_HOST='localhost'; my $LDAP_PORT='389'; my $LDAP_BASE='dc=example,dc=com'; #my $LDAP_USER='cn=admin,dc=example,dc=com'; #my $LDAP_PASS='secret'; my $HOME_DIR='/home'; my $TS_FILE='/tmp/gosa_timestamp'; my $KEYS_DIR='/etc/openssh/authorized_keys2'; my $MAIL_DIR='/var/spool/mail'; my $VLOCAL='/etc/postfix/virtual_local'; my $VFORWARD='/etc/postfix/virtual_forward'; my ($ldap, $mesg, $entry); my $virtuals = 0; # Anonymous bind to LDAP sub anonBind { my $ldap = Net::LDAP->new( $LDAP_HOST, port => $LDAP_PORT ); my $mesg = $ldap->bind(); $mesg->code && die $mesg->error; return $ldap; } # Bind as LDAP user #sub userBind #{ # my $ldap = Net::LDAP->new( $LDAP_HOST, port => $LDAP_PORT ); # my $mesg = $ldap->bind($LDAP_USER, password=>$LDAP_PASS); # $mesg->code && die $mesg->error; # return $ldap; #} # Read timestamp sub getTS { open(F, "< $TS_FILE"); my $ts = ; chop $ts; $ts ||= "19700101000000Z"; return $ts; } # save timestamp sub putTS { my $ts = `date -u '+%Y%m%d%H%M%SZ'`; open(F, "> $TS_FILE"); print F $ts; } sub rebuildVirtuals { print "Rebuild virtuals table for postfix\n"; $mesg = $ldap->search( base => $LDAP_BASE, filter => "(&(objectClass=gosaMailAccount)(gosaMailDeliveryMode=[*L*])(|(mail=*)(gosaMailAlternateAddress=*)))", attrs => [ 'mail', 'uid', 'gosaMailForwardingAddress', 'memberUid' ], ); # Work if changes is present open(VIRT, "> $VLOCAL"); foreach my $entry ($mesg->all_entries) { foreach my $addr ($entry->get_value('mail')) { print VIRT "$addr\t"; print VIRT join(",", ( $entry->get_value("uid"), $entry->get_value("gosaMailForwardingAddress"), $entry->get_value("memberUid"), )); print VIRT "\n"; } } close(VIRT); `postmap $VLOCAL`; $mesg = $ldap->search( base => $LDAP_BASE, filter => "(&(objectClass=gosaMailAccount)(!(gosaMailDeliveryMode=[*L*]))(|(mail=*)(gosaMailAlternateAddress=*)))", attrs => [ 'gosaMailForwardingAddress', ], ); # Work if changes is present open(VIRT, "> $VFORWARD"); foreach my $entry ($mesg->all_entries) { foreach my $addr ($entry->get_value('mail')) { print VIRT "$addr\t"; print VIRT join(",", ( $entry->get_value("gosaMailForwardingAddress"), )); print VIRT "\n"; } } close(VIRT); `postmap $VFORWARD`; } sub posixAccount { my $entry = shift; my $uid = ($entry->get_value('uid'))[0]; my $home = ($entry->get_value('homeDirectory'))[0]; my $uidNumber = ($entry->get_value('uidNumber'))[0]; my $gidNumber = ($entry->get_value('gidNumber'))[0]; print "Update posixAccount: $uid\n"; `install -dD -m0701 -o$uidNumber:$gidNumber $home`; #`install -d -m0700 -o$uidNumber:$gidNumber $home/.ssh`; #`install -d -m0751 -o$uidNumber:$gidNumber $home/.public_html`; print "\tEntry ".$entry->dn()." updated\n"; } # Get ssh keys and place to system directory sub strongAuthenticationUser { my $entry = shift; my $uid = ($entry->get_value('uid'))[0]; open(KEYS, "> $KEYS_DIR/$uid"); print KEYS $_ foreach ($entry->get_value('userCertificate;binary')); } # Create mailbox if need sub inetLocalMailRecipient { my $entry = shift; my $uid = ($entry->get_value('uid'))[0]; my $mail = ($entry->get_value('mailLocalAddress'))[0]; my $addr = ($entry->get_value('mailRoutingAddress'))[0]; my $uidNumber = ($entry->get_value('uidNumber'))[0]; my $mailbox = "$MAIL_DIR/$uid"; print "Update inetLocalMailRecipient: $mail\n"; if( $uid eq $addr ) { if( -f "$mailbox" ) { print "Warning: mailbox $mailbox alredy exists. No changes.\n"; } else { `install -m660 -o$uidNumber -gmail /dev/null $mailbox`; } } print "\tEntry ".$entry->dn()." updated\n"; } sub disassemble { my $entry = shift; foreach my $attr ($entry->get_value('objectClass')) { if( $attr eq "posixAccount" ) { posixAccount($entry); } elsif( $attr eq "inetLocalMailRecipient" ) { inetLocalMailRecipient($entry); } elsif( $attr eq "strongAuthenticationUser" ) { strongAuthenticationUser($entry); } elsif( $attr eq "gosaMailAccount" ) { $virtuals++; } } } # # Start main process # # Read timestamp from file my $ts = getTS; $ldap = anonBind; $mesg = $ldap->search( base => $LDAP_BASE, filter => "(&(modifyTimestamp>=$ts)(!(objectClass=gosaUserTemplate)))" ); # Put timestamp to file putTS; # Work if changes is present if($mesg->count > 0) { print "Processing records modified after $ts\n\n"; foreach my $entry ($mesg->all_entries) { disassemble($entry); } rebuildVirtuals if $virtuals; } gosa-plugin-squid-2.7.4/README.squid0000644000175000017500000000130311321117143016063 0ustar cajuscajusgoQuota.pl - run this script via cron (each 5-10 min for example). It makes cache file (quota.db) with traffic usage and user info from LDAP goQuotaView.pl - read collected data from quota.db and print it to stdout in human readable format Libraries needed The goQuotaView.pl needs libtimedate-perl goSquid.pl - connect this script to squid redirect_program /usr/local/sbin/goSquid goAgent.pl - one script to create home directories and mailboxes on filesystem. run it via cron mkHash.pl - create hash file for black list At this time all scripts have no config file. Please, edit source to configure. Igor Muratov gosa-plugin-squid-2.7.4/plugin.dsc0000644000175000017500000000042411336200072016053 0ustar cajuscajus[gosa-plugin] name = squid description = "Squid connectivity plugin" version = 2.6.8 author = "Cajus Pollmeier " maintainer = "GOsa packages maintainers group " homepage = https://oss.gonicus.de/labs/gosa/ depends = connectivity gosa-plugin-squid-2.7.4/personal/0000755000175000017500000000000011752422557015725 5ustar cajuscajusgosa-plugin-squid-2.7.4/personal/connectivity/0000755000175000017500000000000011752422557020443 5ustar cajuscajusgosa-plugin-squid-2.7.4/personal/connectivity/squid/0000755000175000017500000000000011752422557021570 5ustar cajuscajusgosa-plugin-squid-2.7.4/personal/connectivity/squid/proxy.tpl0000644000175000017500000001006511344163174023466 0ustar cajuscajus

{if $multiple_support} {else} {render acl=$proxyAccountACL} {/render} {/if} {t}Proxy account{/t}

{render acl=$gosaProxyFlagFACL checkbox=$multiple_support checked=$use_filterF} {/render} {t}Filter unwanted content (i.e. pornographic or violence related){/t}
{render acl=$gosaProxyFlagTACL checkbox=$multiple_support checked=$use_filterT} {/render}
{render acl=$gosaProxyFlagTACL} {/render}  :  {render acl=$gosaProxyFlagTACL} {/render}  -  {render acl=$gosaProxyFlagTACL} {/render}  :  {render acl=$gosaProxyFlagTACL} {/render}
{render acl=$gosaProxyFlagBACL checkbox=$multiple_support checked=$use_filterB} {/render}
{render acl=$gosaProxyFlagBACL} {/render}   {render acl=$gosaProxyFlagBACL} {/render} {render acl=$gosaProxyFlagBACL} {/render}
gosa-plugin-squid-2.7.4/personal/connectivity/squid/class_proxyAccount.inc0000644000175000017500000003462711613742614026155 0ustar cajuscajusattrs['uid'][0])){ $this->uid = $this->attrs['uid'][0]; } } /*! \brief Create html output for this class */ public function execute() { /* Call parent execute */ plugin::execute(); /* Log view */ if($this->is_account && !$this->view_logged){ $this->view_logged = TRUE; new log("view","users/".get_class($this),$this->dn); } $display= ""; $smarty= get_smarty(); /* Assign radio boxes */ foreach (array("F", "T", "B", "N") as $val){ if (preg_match("/".$val."/",$this->gosaProxyAcctFlags)){ $smarty->assign("filter$val", "checked"); $smarty->assign($val."state", ""); } else { $smarty->assign("filter$val", ""); if(session::get('js')==1){ $smarty->assign($val."state", "disabled"); }else{ $smarty->assign($val."state", ""); } } } /* Assign ACLs */ $tmp = $this->plInfo(); foreach($tmp['plProvidedAcls'] as $acl => $desc){ $smarty->assign($acl."ACL",$this->getacl($acl,$this->ReadOnly)); $smarty->assign($acl."_W",$this->acl_is_writeable($acl,$this->ReadOnly)); } /* Assign working time */ $smarty->assign("starthour" ,floor($this->gosaProxyWorkingStart / 60)); $smarty->assign("startminute", ($this->gosaProxyWorkingStart % 60)); $smarty->assign("stophour", floor($this->gosaProxyWorkingStop / 60)); $smarty->assign("stopminute", ($this->gosaProxyWorkingStop % 60)); $hours= array(); for($i=0; $i<24; $i++){ $hours[]= sprintf("%02d",$i); } $smarty->assign("hours", $hours); $smarty->assign("minutes", array("00","15","30","45")); /* Assign quota values */ $smarty->assign("quota_unit", array("k" => _("KB"), "m" => _("MB"), "g" => _("GB"))); $smarty->assign("quota_time", array("h" => _("hour"), "d" => _("day"), "w" => _("week"), "m" => _("month"))); $smarty->assign("gosaProxyQuotaPeriod", set_post($this->gosaProxyQuotaPeriod)); $smarty->assign("quota_size", set_post(preg_replace("/[a-z]$/i", "", $this->gosaProxyQuota))); $smarty->assign("quota_u", set_post(preg_replace("/^[0-9]+/", "", $this->gosaProxyQuota))); if ($this->is_account){ $smarty->assign("proxyState", "checked"); } else { $smarty->assign("proxyState", ""); } /* Handle input grey out and javascript enabled/disable of input fields */ if($this->multiple_support_active){ /* In Multiple edit, everything is enabled */ $changeB = ""; $smarty->assign("pstate", ""); $smarty->assign("ProxyWorkingStateChange",""); }else{ /* Depeding on the account status, we disable or * enable all input fields */ if (!$this->is_account){ $smarty->assign("pstate", "disabled"); } else { $smarty->assign("pstate", ""); } /* Create JS activation string for everal input fields */ $ProxyWorkingStateChange ="\n"; if($this->acl_is_writeable("gosaProxyFlagT")){ $ProxyWorkingStateChange.= "changeState('startHour'); \n"; $ProxyWorkingStateChange.= "changeState('startMinute'); \n"; $ProxyWorkingStateChange.= "changeState('stopHour'); \n"; $ProxyWorkingStateChange.= "changeState('stopMinute'); \n"; } $smarty->assign("ProxyWorkingStateChange",$ProxyWorkingStateChange); $changeB = ""; if($this->acl_is_writeable("gosaProxyFlagB")){ $changeB = "changeSubselectState('filterB', 'quota_size'); changeSubselectState('filterB', 'quota_unit'); changeSubselectState('filterB', 'gosaProxyQuotaPeriod');"; } } /* Assign filter settings */ $smarty->assign("changeB",$changeB); foreach(array("T","B","F") as $attr){ if(in_array_strict("filter".$attr,$this->multi_boxes)){ $smarty->assign("use_filter".$attr,TRUE); }else{ $smarty->assign("use_filter".$attr,FALSE); } } /* check if we are allowed to switch the checkbox. */ $smarty->assign('proxyAccountACL', preg_replace("/w/","",$this->getacl("",$this->ReadOnly))); if(($this->acl_is_removeable() && $this->is_account) || ($this->acl_is_createable() && !$this->is_account)){ $smarty->assign('proxyAccountACL', $this->getacl("",$this->ReadOnly)); } $smarty->assign("use_proxy",in_array_strict("proxy",$this->multi_boxes)); $smarty->assign("multiple_support",$this->multiple_support_active); $display.= $smarty->fetch(get_template_path('proxy.tpl', TRUE, dirname(__FILE__))); return($display); } /*! \brief Removes proxy account from current object */ public function remove_from_parent() { if($this->acl_is_removeable() && $this->initially_was_account){ plugin::remove_from_parent(); $ldap= $this->config->get_ldap_link(); @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__, $this->attributes, "Save"); $ldap->cd($this->dn); $this->cleanup(); $ldap->modify ($this->attrs); /* Log last action */ new log("remove","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_MOD, get_class())); } /* Optionally execute a command after we're done */ $this->handle_post_events("remove",array("uid" => $this->uid)); } } /*! \brief Check given input @return array Returns an array of error messages */ public function check() { /* Call common method to give check the hook */ $message= plugin::check(); /* We've got only one value to check for positive integer or emtpy field */ if ($this->is_account && $this->acl_is_writeable("gosaProxyQuota")){ if (isset($_POST["quota_size"])){ if ($_POST["quota_size"] == "gosaProxyQuota"){ $message[]= msgPool::invalid(_("Quota Setting")); }elseif ($_POST["quota_size"] <= 0){ $message[]= msgPool::invalid(_("Quota Setting"),get_post("quota_size"),"/^[0-9]/"); } } } return $message; } /*! \brief Save POST data to object */ public function save_object() { /* Do we need to flip is_account state? */ if (isset($_POST['connectivityTab'])){ if (isset($_POST['proxy'])){ if (!$this->is_account && $_POST['proxy'] == "B"){ if($this->acl_is_createable()){ $this->is_account= TRUE; } } } else { if($this->acl_is_removeable()){ $this->is_account= FALSE; } } } /* Save flag value */ if ($this->is_account || $this->multiple_support_active){ $flags= ""; $acl= ""; foreach(array("F", "T", "B") as $key){ if($this->acl_is_writeable("gosaProxyFlag".$key)){ /* Add acl */ if (isset($_POST["filter$key"])){ $flags.= $key; } }else{ /* Keep all flags that can't be written*/ if(preg_match("/".$key."/",$this->gosaProxyAcctFlags)){ $flags .=$key; } } } if ("[$flags]" != $this->gosaProxyAcctFlags){ $this->is_modified= TRUE; } $this->gosaProxyAcctFlags= "[$flags]"; /* Save time values */ if ($this->acl_is_writeable("gosaProxyFlagT")){ if(isset($_POST['startMinute'])){ $old= $this->gosaProxyWorkingStart; $this->gosaProxyWorkingStart= get_post('startHour') * 60 + get_post('startMinute'); $this->is_modified= ($old != $this->gosaProxyWorkingStart)?TRUE:$this->is_modified; } if (isset($_POST['stopMinute'])){ $old= $this->gosaProxyWorkingStop; $this->gosaProxyWorkingStop = get_post('stopHour') * 60 + get_post('stopMinute'); $this->is_modified= ($old != $this->gosaProxyWorkingStop)?TRUE:$this->is_modified; } } /* Save quota values */ if ($this->acl_is_writeable("gosaProxyFlagB")){ if(isset($_POST["quota_size"]) && isset($_POST["quota_unit"])){ $this->gosaProxyQuota= get_post("quota_size").get_post("quota_unit"); } } /*Save quota period */ if($this->acl_is_writeable("gosaProxyFlagB")){ if(isset($_POST["gosaProxyQuotaPeriod"])){ $this->gosaProxyQuotaPeriod = get_post("gosaProxyQuotaPeriod"); } } } } /*! \brief Save settings to ldap */ public function save() { plugin::save(); /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); $ldap->cd($this->dn); $this->cleanup(); $ldap->modify ($this->attrs); /* Log last action */ if($this->initially_was_account){ new log("modify","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); }else{ new log("create","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); } if (!$ldap->success()){ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_MOD, get_class())); } /* Optionally execute a command after we're done */ if ($this->initially_was_account == $this->is_account){ if ($this->is_modified){ $this->handle_post_events("modify",array("uid" => $this->uid)); } } else { $this->handle_post_events("add",array("uid" => $this->uid)); } } /*! \brief Static Function returning an ACL information array. @return Array Returns an ACL array */ static function plInfo() { return (array( "plShortName" => _("Proxy"), "plDescription" => _("Proxy account")." ("._("Connectivity add-on").")", "plSelfModify" => TRUE, "plDepends" => array("user"), "plPriority" => 21, // Position in tabs "plSection" => array("personal" => _("My account")), "plCategory" => array("users"), "plOptions" => array(), "plRequirements"=> array( 'ldapSchema' => array('gosaProxyAccount' => '>=2.7'), 'onFailureDisablePlugin' => array(get_class()) ), "plProvidedAcls" => array( "gosaProxyQuota" => _("Quota"), "gosaProxyFlagF" => _("Filter unwanted content"), "gosaProxyFlagT" => _("Limit proxy access"), "gosaProxyFlagB" => _("Restrict proxy usage by quota")) )); } /*! \brief Save html POSTs in multiple edit. */ public function multiple_save_object() { if (isset($_POST['connectivityTab'])){ plugin::multiple_save_object(); if(isset($_POST['use_proxy'])){ $this->multi_boxes[] = "proxy"; } foreach(array("T","B","F") as $attr){ if(isset($_POST["use_filter".$attr])){ $this->multi_boxes[] = "filter".$attr; } } $this->save_object(); } } /*! \brief Returns all modified values. \ All selected an modified values will be returned \ in an array. @return array Returns an array containing all attribute modifications */ public function get_multi_edit_values() { $ret = plugin::get_multi_edit_values(); if(in_array_strict("proxy",$this->multi_boxes)){ $ret['is_account'] = $this->is_account; } if(in_array_strict("filterT",$this->multi_boxes)){ $ret['gosaProxyWorkingStart'] = $this->gosaProxyWorkingStart; $ret['gosaProxyWorkingStop'] = $this->gosaProxyWorkingStop; } if(in_array_strict("filterB",$this->multi_boxes)){ $ret['gosaProxyQuota'] = $this->gosaProxyQuota; $ret['gosaProxyQuotaPeriod'] = $this->gosaProxyQuotaPeriod; } foreach(array("B","T","F") as $attr){ $name = "filter".$attr; if(in_array_strict($name,$this->multi_boxes)){ $ret[$name] = preg_match("/".$attr."/",$this->gosaProxyAcctFlags); } } return($ret); } /*! \brief Sets modified attributes in mutliple edit. \ All collected values from "get_multi_edit_values()" \ will be applied to this plugin. @param array An array containing modified attributes returned by get_multi_edit_values(); */ public function set_multi_edit_values($values) { plugin::set_multi_edit_values($values); if(isset($values['is_account'])){ $this->is_account = $values['is_account']; } foreach(array("B","T","F") as $attr){ $name = "filter".$attr; if(isset($values[$name])){ if($values[$name] && !preg_match("/".$attr."/",$this->gosaProxyAcctFlags)){ $this->gosaProxyAcctFlags = preg_replace("/\]/",$attr."]",$this->gosaProxyAcctFlags); }elseif(!$values[$name] && preg_match("/".$attr."/",$this->gosaProxyAcctFlags)){ $this->gosaProxyAcctFlags = preg_replace("/".$attr."/","",$this->gosaProxyAcctFlags); } } } } /*! \brief Initialize multiple edit ui for this plugin. \ This function sets plugin defaults in multiple edit. @param array Attributes used in all object @param array All used attributes. */ public function init_multiple_support($attrs,$all) { plugin::init_multiple_support($attrs,$all); if(isset($attrs['objectClass']) && in_array_strict("gosaProxyAccount",$attrs['objectClass'])){ $this->is_account = TRUE; } } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> gosa-plugin-squid-2.7.4/locale/0000755000175000017500000000000011752422557015341 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/ru/0000755000175000017500000000000011752422557015767 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/ru/LC_MESSAGES/0000755000175000017500000000000011752422557017554 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/ru/LC_MESSAGES/messages.po0000644000175000017500000001027011475426262021722 0ustar cajuscajus# Translation of messages.po to Russian # Valia V. Vaneeva , 2004. # $Id: messages.po,v 1.61 2005/04/18 10:37:13 migor-guest Exp $ msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2005-04-18 14:35+0300\n" "Last-Translator: Igor Muratov \n" "Language-Team: ALT Linux Team\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: poEdit 1.3.1\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Прокси-сервер" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Общая информация о пользователе" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "Kb" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "Мб" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "Gb" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "час" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "день" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "неделя" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "месяц" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 #, fuzzy msgid "LDAP error" msgstr "Ошибка LDAP:" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 #, fuzzy msgid "Quota Setting" msgstr "Почтовые настройки пользователя" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Аккаунт Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "Подключение" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Моя учетная запись" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:346 #, fuzzy msgid "Limit proxy access" msgstr "Ограничить доступ к прокси рабочим временем" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Ограничить квотой использование прокси" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "Базы данных" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "" "Фильтровать нежелательное содержимое (например, порнографическое или " "связанное с насилием)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Ограничить доступ к прокси рабочим временем" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "Срок действия пароля истекает" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "Системная информация" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "per" #~ msgid "This does something" #~ msgstr "Что-то будет" #, fuzzy #~ msgid "Removing of user/proxy account with dn '%s' failed." #~ msgstr "Удалить учетную запись POSIX" #, fuzzy #~ msgid "Saving of user/proxy account with dn '%s' failed." #~ msgstr "Аккаунт Proxy" #, fuzzy #~ msgid "Numerical value for Quota Setting is not valid." #~ msgstr "Значение поля \"Квота\" некорректно." gosa-plugin-squid-2.7.4/locale/pl/0000755000175000017500000000000011752422557015754 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/pl/LC_MESSAGES/0000755000175000017500000000000011752422557017541 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/pl/LC_MESSAGES/messages.po0000644000175000017500000000751511475426262021717 0ustar cajuscajusmsgid "" msgstr "" "Project-Id-Version: polski\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2007-07-14 21:45+0100\n" "Last-Translator: Piotr Rybicki \n" "Language-Team: Piotr Rybicki \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Polish\n" "X-Poedit-Country: POLAND\n" "X-Poedit-SourceCharset: iso-8859-2\n" "X-Poedit-Basepath: tedst\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Ogólne ustawienia użytkownika" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "KB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "MB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "GB" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "godzina" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "dzień" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "tydzień" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "miesiąc" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 #, fuzzy msgid "LDAP error" msgstr "błąd LDAP:" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 #, fuzzy msgid "Quota Setting" msgstr "Ustawienia pocztowe" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Konto Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "Konto połączeń" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Moje konto " #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "Filtruj niechcianą zawartość" #: personal/connectivity/squid/class_proxyAccount.inc:346 msgid "Limit proxy access" msgstr "Ogranicz dostęp do proxy" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Ogranicz użycie proxy mechanizmami quota" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "Konfiguracja PHP" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "Filtruj niechcianą zawartość (n.p. pornografia, przemoc)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Ogranicz dostęp do proxy do czasu pracu" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "Hasło wygasa" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "Konfiguracja pobierania" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "na" #~ msgid "This does something" #~ msgstr "To robi coś" #, fuzzy #~ msgid "Removing of user/proxy account with dn '%s' failed." #~ msgstr "Usuwanie konta proxy nieudane" #, fuzzy #~ msgid "Saving of user/proxy account with dn '%s' failed." #~ msgstr "Zapisywanie konta proxy nieudane" #~ msgid "Numerical value for Quota Setting is empty." #~ msgstr "Wartość numeryczna dla ustawień Quoty jest pusta." #~ msgid "Numerical value for Quota Setting is not valid." #~ msgstr "Wartość numeryczna dla ustawień Quoty jest nieprawidłowa." gosa-plugin-squid-2.7.4/locale/it/0000755000175000017500000000000011752422557015755 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/it/LC_MESSAGES/0000755000175000017500000000000011752422557017542 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/it/LC_MESSAGES/messages.po0000644000175000017500000000751411475426262021717 0ustar cajuscajus# translation of messages.po to Italian # Copyright (c) 2005 B-Open Solutions srl - http://www.bopen.it/ # Copyright (c) 2005 Alessandro Amici # Alessandro Amici , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2005-11-18 15:26+0100\n" "Last-Translator: Alessandro Amici \n" "Language-Team: Italian\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.9.1\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Impostazioni generali delle code" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "KB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "Mb" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "ora" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "giorno" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "settimana" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "mese" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 #, fuzzy msgid "LDAP error" msgstr "Errore LDAP" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 #, fuzzy msgid "Quota Setting" msgstr "Opzioni di posta dell'identità" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Estenzioni Proxy Internet" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "Connettività" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Identità" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:346 #, fuzzy msgid "Limit proxy access" msgstr "Limita l'accesso a Internet alle ore lavorative" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Restringi la quota d'uso di Internet" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "Scarica il file di configurazione" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "Filtra il contenuto non desiderato (p.e. pornografico o violento)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Limita l'accesso a Internet alle ore lavorative" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "La password spira il" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "Scarica il file di configurazione" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "per" #~ msgid "This does something" #~ msgstr "Questo fa qualcosa" #, fuzzy #~ msgid "Removing of user/proxy account with dn '%s' failed." #~ msgstr "Elimina estensioni Unix" #, fuzzy #~ msgid "Saving of user/proxy account with dn '%s' failed." #~ msgstr "Estenzioni Proxy Internet" #, fuzzy #~ msgid "Numerical value for Quota Setting is not valid." #~ msgstr "Il valore di 'Dimensione quota' non è valido" gosa-plugin-squid-2.7.4/locale/pt_BR/0000755000175000017500000000000011752422557016347 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/pt_BR/LC_MESSAGES/0000755000175000017500000000000011752422557020134 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/pt_BR/LC_MESSAGES/messages.po0000644000175000017500000000706211475426262022307 0ustar cajuscajus# 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 , YEAR. # msgid "" msgstr "" "Project-Id-Version: GOsa plugins - squid\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-03-25 10:10-0300\n" "Last-Translator: Marcos Amorim \n" "Language-Team: Marcos Amorim Clever de Oliveira " "\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Portuguese\n" "X-Poedit-Country: BRAZIL\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Configurações gerais do usuário" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "KB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "MB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "GB" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "hora" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "dia" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "semana" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "mês" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 msgid "LDAP error" msgstr "Erro LDAP" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 msgid "Quota Setting" msgstr "Configurações de Cota" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Conta proxy" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "Addon conectividade" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Minha conta" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "Filtro de conteúdo indesejado" #: personal/connectivity/squid/class_proxyAccount.inc:346 msgid "Limit proxy access" msgstr "Limite de acesso ao proxy" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Restringir uso do proxy por cota" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "Configuração do PHP" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "" "Filtrar conteúdo indesejado (ex. relacionados com pornografia ou violência)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Limitar o acesso ao proxy para o horário de trabalho" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "Restrições de login" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "Baixar configuração" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "por" #~ msgid "This does something" #~ msgstr "Isto faz algo" gosa-plugin-squid-2.7.4/locale/es/0000755000175000017500000000000011752422557015750 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/es/LC_MESSAGES/0000755000175000017500000000000011752422557017535 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/es/LC_MESSAGES/messages.po0000644000175000017500000000767011475426262021715 0ustar cajuscajus# translation of admin.po to # translation of systems.po to # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # , 2010. msgid "" msgstr "" "Project-Id-Version: admin\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-01-20 00:41+0100\n" "Last-Translator: \n" "Language-Team: Spanish <>\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Parámetros genéricos del usuario" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "Kb" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "Mb" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "Gb" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "hora" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "día" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "semana" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "mes" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 msgid "LDAP error" msgstr "Error LDAP" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 msgid "Quota Setting" msgstr "Tamaño de cuota" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Cuenta Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "Conectividad adicional" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Mi cuenta" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "Filtrar contenido no requerido" #: personal/connectivity/squid/class_proxyAccount.inc:346 msgid "Limit proxy access" msgstr "Limitar acceso al Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Restringir el uso del proxy con cuotas" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "Configuración PHP" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "Filtrar contenido indeseable (p.e. pornografía o contenido violento)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Limitar acceso al proxy al horario laboral" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "Restricciones de contraseña" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "Descargar configuración" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "por" #~ msgid "This does something" #~ msgstr "Esto hace algo" #~ msgid "Removing of user/proxy account with dn '%s' failed." #~ msgstr "Se ha fallado al eliminar la cuenta de usuario/Proxy con dn '%s'." #~ msgid "Saving of user/proxy account with dn '%s' failed." #~ msgstr "Ha fallado la grabación de la cuenta de usuario/proxy con dn '%s'." #~ msgid "Numerical value for Quota Setting is empty." #~ msgstr "El valor numérico para cuota esta vacío." #~ msgid "Numerical value for Quota Setting is not valid." #~ msgstr "El valor numérico para cuota no es valido." gosa-plugin-squid-2.7.4/locale/de/0000755000175000017500000000000011752422557015731 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/de/LC_MESSAGES/0000755000175000017500000000000011752422557017516 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/de/LC_MESSAGES/messages.po0000644000175000017500000000723111475450310021656 0ustar cajuscajus# translation of messages.po to Deutsch # GOsa2 Translations # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # # # Alfred Schroeder , 2004. # Cajus Pollmeier , 2004, 2005, 2006. # Jan Wenzel , 2004,2005, 2008. # Stefan Koehler , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-09-17 11:02+0100\n" "Last-Translator: Fabian Hickert \n" "Language-Team: Deutsch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:6 msgid "Manage Proxy user settings" msgstr "Persönliche Proxy-Einstellungen verwalten" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "KB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "MB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "GB" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "Stunde" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "Tag" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "Woche" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "Monat" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 msgid "LDAP error" msgstr "LDAP-Fehler" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 msgid "Quota Setting" msgstr "Kontingent-Einstellung" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Proxy Konto" #: personal/connectivity/squid/class_proxyAccount.inc:331 msgid "Connectivity add-on" msgstr "Konnektivitäts-Erweiterung" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Mein Konto" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "Kontingent" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "Filtere ungewünschten Inhalt" #: personal/connectivity/squid/class_proxyAccount.inc:346 msgid "Limit proxy access" msgstr "Beschränke Proxy-Zugriff" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Proxynutzung durch Kontingent einschränken" #: personal/connectivity/squid/proxy.tpl:39 msgid "Proxy configuration" msgstr "Proxy-Konfiguration" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "" "Filtern von unerwünschten Inhalten (z.B. pornografische oder gewalttätige " "Inhalte)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Inhaltsfilterung nur während der Arbeitszeit" #: personal/connectivity/squid/proxy.tpl:58 msgid "Worktime restrictions" msgstr "Arbeitszeit-Einschränkungen" #: personal/connectivity/squid/proxy.tpl:99 msgid "Quota configuration" msgstr "Kontingenteinschränkungen" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "pro" #~ msgid "This does something" #~ msgstr "Dies tut etwas" gosa-plugin-squid-2.7.4/locale/fr/0000755000175000017500000000000011752422557015750 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/fr/LC_MESSAGES/0000755000175000017500000000000011752422557017535 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/fr/LC_MESSAGES/messages.po0000644000175000017500000000666511475426262021720 0ustar cajuscajus# translation of messages.po to # Benoit Mortier , 2005, 2006, 2007, 2008, 2010. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2010-11-25 23:30+0100\n" "Last-Translator: Benoit Mortier \n" "Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Paramètres par défaut des utilisateurs" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "heure" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "jour" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "semaine" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "mois" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 msgid "LDAP error" msgstr "Erreur LDAP" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 msgid "Quota Setting" msgstr "Paramètres du quota" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Compte Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:331 msgid "Connectivity add-on" msgstr "Connectivité" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Mon Compte" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "Filtrer le contenu non désiré" #: personal/connectivity/squid/class_proxyAccount.inc:346 msgid "Limit proxy access" msgstr "Accès au proxy autorisé durant la plage horaire suivante" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Restreindre la quantité de données téléchargeables par quota" #: personal/connectivity/squid/proxy.tpl:39 msgid "Proxy configuration" msgstr "Configuration du proxy" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "Filtrer le contenu non désiré (i.e. pornographique ou violent)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Accès au proxy autorisé durant la plage horaire suivante" #: personal/connectivity/squid/proxy.tpl:58 msgid "Worktime restrictions" msgstr "Restrictions horaires" #: personal/connectivity/squid/proxy.tpl:99 msgid "Quota configuration" msgstr "Configuration du quota" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "par" #~ msgid "This does something" #~ msgstr "Ceci fait quelque chose" gosa-plugin-squid-2.7.4/locale/en/0000755000175000017500000000000011752422557015743 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/en/LC_MESSAGES/0000755000175000017500000000000011752422557017530 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/messages.po0000644000175000017500000000563611475426262017521 0ustar cajuscajus# 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 , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:6 msgid "Manage Proxy user settings" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 msgid "LDAP error" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 msgid "Quota Setting" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:331 msgid "Connectivity add-on" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:346 msgid "Limit proxy access" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "" #: personal/connectivity/squid/proxy.tpl:39 msgid "Proxy configuration" msgstr "" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "" #: personal/connectivity/squid/proxy.tpl:58 msgid "Worktime restrictions" msgstr "" #: personal/connectivity/squid/proxy.tpl:99 msgid "Quota configuration" msgstr "" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "" gosa-plugin-squid-2.7.4/locale/zh/0000755000175000017500000000000011752422557015762 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/zh/LC_MESSAGES/0000755000175000017500000000000011752422557017547 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/zh/LC_MESSAGES/messages.po0000644000175000017500000000754711475426262021732 0ustar cajuscajus# translation of messages.po to Chinese Simplified # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # # Jiang Xin , 2007. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2007-06-03 12:27+0800\n" "Last-Translator: Jiang Xin \n" "Language-Team: Chinese Simplified \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "代理" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "通用队列设置" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "KB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "MB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "GB" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "小时" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "天" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "周" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "月" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 #, fuzzy msgid "LDAP error" msgstr "LDAP 错误:" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 #, fuzzy msgid "Quota Setting" msgstr "邮件选项" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "代理账号" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "互联" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "我的账号" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:346 #, fuzzy msgid "Limit proxy access" msgstr "限制代理访问仅在工作时间" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "通过 quota 限制代理使用" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "PHP 安装检查" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "过滤不想要的内容(如:色情或暴力相关)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "限制代理访问仅在工作时间" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "口令过期截止日" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "下载配置" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "每" #, fuzzy #~ msgid "This does something" #~ msgstr "******" #, fuzzy #~ msgid "Removing of user/proxy account with dn '%s' failed." #~ msgstr "删除 dn 为 '%s' 的 user/kolab 账号失败。" #, fuzzy #~ msgid "Saving of user/proxy account with dn '%s' failed." #~ msgstr "保存 dn 为 '%s' 的 user/kolab 账号为空。" #~ msgid "Numerical value for Quota Setting is empty." #~ msgstr "Quota 设置的数值为空。" #~ msgid "Numerical value for Quota Setting is not valid." #~ msgstr "Quota 设置的数值无效。" gosa-plugin-squid-2.7.4/locale/nl/0000755000175000017500000000000011752422557015752 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/nl/LC_MESSAGES/0000755000175000017500000000000011752422557017537 5ustar cajuscajusgosa-plugin-squid-2.7.4/locale/nl/LC_MESSAGES/messages.po0000644000175000017500000001014311475426262021704 0ustar cajuscajus# translation of messages.po to Dutch # GOsa2 Translations # Copyright (C) 2003 GONICUS GmbH, Germany # This file is distributed under the same license as the GOsa2 package. # Alfred Schroeder , 2004. # Cajus Pollmeier , 2004. # # Translator: # Niels Klomp (CareWorks ICT Services) , 2005. msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2010-11-04 15:24+0100\n" "PO-Revision-Date: 2006-06-02 16:58+0100\n" "Last-Translator: Niels Klomp (CareWorks ICT Services) \n" "Language-Team: CareWorks ICT Services \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: personal/connectivity/squid/class_proxyAccount.inc:5 #: personal/connectivity/squid/class_proxyAccount.inc:330 msgid "Proxy" msgstr "Proxy" #: personal/connectivity/squid/class_proxyAccount.inc:6 #, fuzzy msgid "Manage Proxy user settings" msgstr "Algemene wachtrij instellingen" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "KB" msgstr "KB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "MB" msgstr "MB" #: personal/connectivity/squid/class_proxyAccount.inc:92 msgid "GB" msgstr "GB" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "hour" msgstr "uur" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "day" msgstr "dag" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "week" msgstr "week" #: personal/connectivity/squid/class_proxyAccount.inc:93 msgid "month" msgstr "maand" #: personal/connectivity/squid/class_proxyAccount.inc:183 #: personal/connectivity/squid/class_proxyAccount.inc:309 #, fuzzy msgid "LDAP error" msgstr "LDAP fout:" #: personal/connectivity/squid/class_proxyAccount.inc:204 #: personal/connectivity/squid/class_proxyAccount.inc:206 #, fuzzy msgid "Quota Setting" msgstr "E-mail instellingen" #: personal/connectivity/squid/class_proxyAccount.inc:331 #: personal/connectivity/squid/proxy.tpl:37 msgid "Proxy account" msgstr "Proxy account" #: personal/connectivity/squid/class_proxyAccount.inc:331 #, fuzzy msgid "Connectivity add-on" msgstr "Verbindingen" #: personal/connectivity/squid/class_proxyAccount.inc:335 msgid "My account" msgstr "Mijn account" #: personal/connectivity/squid/class_proxyAccount.inc:344 msgid "Quota" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:345 msgid "Filter unwanted content" msgstr "" #: personal/connectivity/squid/class_proxyAccount.inc:346 #, fuzzy msgid "Limit proxy access" msgstr "Beperk proxy gebruik tot tijd" #: personal/connectivity/squid/class_proxyAccount.inc:347 #: personal/connectivity/squid/proxy.tpl:97 msgid "Restrict proxy usage by quota" msgstr "Beperk proxy gebruik met quota" #: personal/connectivity/squid/proxy.tpl:39 #, fuzzy msgid "Proxy configuration" msgstr "FAX database" #: personal/connectivity/squid/proxy.tpl:45 msgid "Filter unwanted content (i.e. pornographic or violence related)" msgstr "" "Filter ongewilde inhoud (bijvoorbeeld pornografische of geweld gerelateerde " "inhoud)" #: personal/connectivity/squid/proxy.tpl:56 msgid "Limit proxy access to working time" msgstr "Beperk proxy gebruik tot tijd" #: personal/connectivity/squid/proxy.tpl:58 #, fuzzy msgid "Worktime restrictions" msgstr "Wachtwoord verloopt op" #: personal/connectivity/squid/proxy.tpl:99 #, fuzzy msgid "Quota configuration" msgstr "Systeem configuratie" #: personal/connectivity/squid/proxy.tpl:112 msgid "per" msgstr "per" #~ msgid "This does something" #~ msgstr "Dit doet iets" #, fuzzy #~ msgid "Removing of user/proxy account with dn '%s' failed." #~ msgstr "Het verwijderen van het proxy account is mislukt" #, fuzzy #~ msgid "Saving of user/proxy account with dn '%s' failed." #~ msgstr "Het opslaan van het proxy account is mislukt" #~ msgid "Numerical value for Quota Setting is empty." #~ msgstr "De nummerieke waarde opgegeven voor Quota Instellingen is leeg." #~ msgid "Numerical value for Quota Setting is not valid." #~ msgstr "" #~ "De nummerieke waarde opgegeven voor Quota Instellingen is niet geldig."