Author: locilka Date: Mon Apr 14 11:44:07 2008 New Revision: 46532 URL: http://svn.opensuse.org/viewcvs/yast?rev=46532&view=rev Log: - Enhanced firewall-services translations script to generate a bit more usefule output for translators. Modified: trunk/yast2/library/network/src/refresh-srv-def-by-pkgs-trans.sh trunk/yast2/library/network/src/yast2-services-translations.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/network/src/refresh-srv-def-by-pkgs-trans.sh URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/src/refresh... ============================================================================== --- trunk/yast2/library/network/src/refresh-srv-def-by-pkgs-trans.sh (original) +++ trunk/yast2/library/network/src/refresh-srv-def-by-pkgs-trans.sh Mon Apr 14 11:44:07 2008 @@ -72,10 +72,20 @@ echo cd $TMPDIR +ls -1 $TMPDIR/$SUSEFWFILES > $TMPDIR/last + # installs these files into a temporary directory for ONEPACKAGE in $AFFECTED; do echo "Package: "$ONEPACKAGE rpm2cpio $RPMDIRECTORY/*/$ONEPACKAGE.rpm | cpio -idm --no-absolute-filenames "./$SUSEFWFILES" "$SUSEFWFILES" 2> /dev/null + ls -1 $TMPDIR/$SUSEFWFILES > $TMPDIR/now + + for CPIOEDFILE in `diff -u $TMPDIR/last $TMPDIR/now | grep "^+[^+]" | sed 's/+//'`; do + echo " File: ${CPIOEDFILE}" + echo "${CPIOEDFILE}_:_$ONEPACKAGE" >> $TMPDIR/FileBelongsTo + done + + mv $TMPDIR/now $TMPDIR/last done echo @@ -100,6 +110,8 @@ for FILENAME in `ls -1 | grep -v $Y2_NEWYCPFILE`; do #echo "Transforming file: "$FILENAME + RPMNAME=`grep "${FILENAME}_:_" $TMPDIR/FileBelongsTo | sed s'/.*_:_//'` + # ... ## Name: TAG_NAME=`grep -i ".*##[\t ]*Name:[\t ]*" $FILENAME | sed 's/^.*##[\t ]*[Nn][Aa][Mm][Ee]:[\t ]//' | sed 's/"/\"/'` if [ "$TAG_NAME" == "" ]; then @@ -107,7 +119,7 @@ elif [ "$TAG_NAME" == "template service" ]; then echo "'Name:' not adjusted correctly in the '"$FILENAME"' file!" else - echo " // TRANSLATORS: Name of Service (rpm: "$FILENAME"), can be used as check box, item in multiple selection box..." >> $Y2_NEWYCPFILE + echo " // TRANSLATORS: Name of Service (File name: "$FILENAME", RPM: "$RPMNAME"), can be used as check box, item in multiple selection box..." >> $Y2_NEWYCPFILE echo " tmpstring = _(""$TAG_NAME"");" >> $Y2_NEWYCPFILE echo >> $Y2_NEWYCPFILE fi Modified: trunk/yast2/library/network/src/yast2-services-translations.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/src/yast2-s... ============================================================================== --- trunk/yast2/library/network/src/yast2-services-translations.ycp (original) +++ trunk/yast2/library/network/src/yast2-services-translations.ycp Mon Apr 14 11:44:07 2008 @@ -10,19 +10,19 @@ string tmpstring = nil; - // TRANSLATORS: Name of Service (rpm: apache2), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: apache2, RPM: apache2), can be used as check box, item in multiple selection box... tmpstring = _("Apache 2"); // TRANSLATORS: Description of a Service (rpm: apache2), used as a common label or an item in table tmpstring = _("Opens ports for Apache Web Server."); - // TRANSLATORS: Name of Service (rpm: apache2-ssl), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: apache2-ssl, RPM: apache2), can be used as check box, item in multiple selection box... tmpstring = _("Apache 2"); // TRANSLATORS: Description of a Service (rpm: apache2-ssl), used as a common label or an item in table tmpstring = _("Opens ports for Apache Web Server."); - // TRANSLATORS: Name of Service (rpm: avahi), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: avahi, RPM: avahi), can be used as check box, item in multiple selection box... tmpstring = _("Zeroconf/Bonjour Multicast DNS"); // TRANSLATORS: Description of a Service (rpm: avahi), used as a common label or an item in table @@ -37,145 +37,145 @@ // TRANSLATORS: Description of a Service (rpm: bacula-sd), used as a common label or an item in table tmpstring = _("Bacula Storage Daemon "); - // TRANSLATORS: Name of Service (rpm: bind), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: bind, RPM: bind ypbind), can be used as check box, item in multiple selection box... tmpstring = _("bind DNS server"); // TRANSLATORS: Description of a Service (rpm: bind), used as a common label or an item in table tmpstring = _("Open ports for the bind DNS server"); - // TRANSLATORS: Name of Service (rpm: courier-imap), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: courier-imap, RPM: courier-imap), can be used as check box, item in multiple selection box... tmpstring = _("courier-imapd"); // TRANSLATORS: Description of a Service (rpm: courier-imap), used as a common label or an item in table tmpstring = _("Opens ports for courier-imapd."); - // TRANSLATORS: Name of Service (rpm: courier-imap-ssl), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: courier-imap-ssl, RPM: courier-imap), can be used as check box, item in multiple selection box... tmpstring = _("courier-imapd"); // TRANSLATORS: Description of a Service (rpm: courier-imap-ssl), used as a common label or an item in table tmpstring = _("Opens ports for courier-imapd."); - // TRANSLATORS: Name of Service (rpm: cups), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: cups, RPM: cups-libs), can be used as check box, item in multiple selection box... tmpstring = _("cups"); // TRANSLATORS: Description of a Service (rpm: cups), used as a common label or an item in table tmpstring = _("Firewall Configuration file for printing service CUPS"); - // TRANSLATORS: Name of Service (rpm: cyrus-imapd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: cyrus-imapd, RPM: cyrus-imapd), can be used as check box, item in multiple selection box... tmpstring = _("cyrus-imapd Server"); // TRANSLATORS: Description of a Service (rpm: cyrus-imapd), used as a common label or an item in table tmpstring = _("Opens ports for the cyrus-imapd Server."); - // TRANSLATORS: Name of Service (rpm: dhcp-server), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: dhcp-server, RPM: dhcp), can be used as check box, item in multiple selection box... tmpstring = _("DHCP Server"); // TRANSLATORS: Description of a Service (rpm: dhcp-server), used as a common label or an item in table tmpstring = _("Opens ports for ISC DHCP Server."); - // TRANSLATORS: Name of Service (rpm: dnsmasq-dhcp), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: dnsmasq-dhcp, RPM: dnsmasq), can be used as check box, item in multiple selection box... tmpstring = _("dnsmasq"); // TRANSLATORS: Description of a Service (rpm: dnsmasq-dhcp), used as a common label or an item in table tmpstring = _("Open ports for the dnsmasq DNS/DHCP server"); - // TRANSLATORS: Name of Service (rpm: dnsmasq-dns), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: dnsmasq-dns, RPM: dnsmasq), can be used as check box, item in multiple selection box... tmpstring = _("dnsmasq"); // TRANSLATORS: Description of a Service (rpm: dnsmasq-dns), used as a common label or an item in table tmpstring = _("Open ports for the dnsmasq DNS/DHCP server"); - // TRANSLATORS: Name of Service (rpm: finger-server), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: finger-server, RPM: finger-server), can be used as check box, item in multiple selection box... tmpstring = _("Finger Server"); // TRANSLATORS: Description of a Service (rpm: finger-server), used as a common label or an item in table tmpstring = _("Opens ports for Finger Server."); - // TRANSLATORS: Name of Service (rpm: iceccd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: iceccd, RPM: icecream), can be used as check box, item in multiple selection box... tmpstring = _("icecream daemon"); // TRANSLATORS: Description of a Service (rpm: iceccd), used as a common label or an item in table tmpstring = _("opens socket for the icecream compilation daemon"); - // TRANSLATORS: Name of Service (rpm: icecream-scheduler), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: icecream-scheduler, RPM: icecream), can be used as check box, item in multiple selection box... tmpstring = _("icecream scheduler"); // TRANSLATORS: Description of a Service (rpm: icecream-scheduler), used as a common label or an item in table tmpstring = _("opens ports for the Icecream scheduler"); - // TRANSLATORS: Name of Service (rpm: imap), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: imap, RPM: courier-imap imap-lib), can be used as check box, item in multiple selection box... tmpstring = _("imap Server"); // TRANSLATORS: Description of a Service (rpm: imap), used as a common label or an item in table tmpstring = _("Opens ports for imap Server."); - // TRANSLATORS: Name of Service (rpm: iscsitarget), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: iscsitarget, RPM: tgt), can be used as check box, item in multiple selection box... tmpstring = _("iSCSI Target Daemon"); // TRANSLATORS: Description of a Service (rpm: iscsitarget), used as a common label or an item in table tmpstring = _("Opens ports for iSCSI Target Daemon with broadcast allowed."); - // TRANSLATORS: Name of Service (rpm: isns), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: isns, RPM: isns), can be used as check box, item in multiple selection box... tmpstring = _("iSNS Daemon"); // TRANSLATORS: Description of a Service (rpm: isns), used as a common label or an item in table tmpstring = _("Opens ports for iSNS daemon with broadcast allowed."); - // TRANSLATORS: Name of Service (rpm: kadmind), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: kadmind, RPM: krb5-server), can be used as check box, item in multiple selection box... tmpstring = _("Kerberos Admin Server"); // TRANSLATORS: Description of a Service (rpm: kadmind), used as a common label or an item in table tmpstring = _("Open ports for kadmind Server"); - // TRANSLATORS: Name of Service (rpm: kdc), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: kdc, RPM: krb5-server), can be used as check box, item in multiple selection box... tmpstring = _("Key Distribution Center"); // TRANSLATORS: Description of a Service (rpm: kdc), used as a common label or an item in table tmpstring = _("Open ports for the Key Distribution Center"); - // TRANSLATORS: Name of Service (rpm: lighttpd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: lighttpd, RPM: lighttpd), can be used as check box, item in multiple selection box... tmpstring = _("lighttpd"); // TRANSLATORS: Description of a Service (rpm: lighttpd), used as a common label or an item in table tmpstring = _("Open the http port for lighttpd."); - // TRANSLATORS: Name of Service (rpm: lighttpd-ssl), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: lighttpd-ssl, RPM: lighttpd), can be used as check box, item in multiple selection box... tmpstring = _("lighttpd"); // TRANSLATORS: Description of a Service (rpm: lighttpd-ssl), used as a common label or an item in table tmpstring = _("Open the https port for lighttpd."); - // TRANSLATORS: Name of Service (rpm: mysql), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: mysql, RPM: mysql), can be used as check box, item in multiple selection box... tmpstring = _("MySQL server"); // TRANSLATORS: Description of a Service (rpm: mysql), used as a common label or an item in table tmpstring = _("opens ports for MySQL in order to allow other hosts connect to it"); - // TRANSLATORS: Name of Service (rpm: nfs-client), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: nfs-client, RPM: nfs-client), can be used as check box, item in multiple selection box... tmpstring = _("NFS Client"); // TRANSLATORS: Description of a Service (rpm: nfs-client), used as a common label or an item in table tmpstring = _("Firewall Configuration for nfs client. opens ports for NFS client in order to allow to connect to a NFS server"); - // TRANSLATORS: Name of Service (rpm: nfs-kernel-server), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: nfs-kernel-server, RPM: nfs-kernel-server), can be used as check box, item in multiple selection box... tmpstring = _("NFS Server Service"); // TRANSLATORS: Description of a Service (rpm: nfs-kernel-server), used as a common label or an item in table tmpstring = _("Firewall Configuration for nfs kernel server. opens ports for NFS in order to allow other hosts connect to it"); - // TRANSLATORS: Name of Service (rpm: ntp), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: ntp, RPM: ntp), can be used as check box, item in multiple selection box... tmpstring = _("xntp Server"); // TRANSLATORS: Description of a Service (rpm: ntp), used as a common label or an item in table tmpstring = _("Opens ports for xntp."); - // TRANSLATORS: Name of Service (rpm: nut), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: nut, RPM: nut), can be used as check box, item in multiple selection box... tmpstring = _("Network UPS Tools"); // TRANSLATORS: Description of a Service (rpm: nut), used as a common label or an item in table tmpstring = _("Opens ports for remote UPS signalling for Network UPS Tools."); - // TRANSLATORS: Name of Service (rpm: openldap), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: openldap, RPM: openldap2), can be used as check box, item in multiple selection box... tmpstring = _("OpenLDAP Server"); // TRANSLATORS: Description of a Service (rpm: openldap), used as a common label or an item in table @@ -184,13 +184,13 @@ // TRANSLATORS: Description of a Service (rpm: postfix), used as a common label or an item in table tmpstring = _("Firewall Configuration file for postfix"); - // TRANSLATORS: Name of Service (rpm: postgresql), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: postgresql, RPM: postgresql-server), can be used as check box, item in multiple selection box... tmpstring = _("PostgreSQL Server"); // TRANSLATORS: Description of a Service (rpm: postgresql), used as a common label or an item in table tmpstring = _("Opens TCP port 5432 to allow remote connections to the PostgreSQL server."); - // TRANSLATORS: Name of Service (rpm: pure-ftpd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: pure-ftpd, RPM: pure-ftpd), can be used as check box, item in multiple selection box... tmpstring = _("pureftpd"); // TRANSLATORS: Description of a Service (rpm: pure-ftpd), used as a common label or an item in table @@ -199,73 +199,73 @@ // TRANSLATORS: Description of a Service (rpm: sendmail), used as a common label or an item in table tmpstring = _("Firewall Configuration file for postfix"); - // TRANSLATORS: Name of Service (rpm: squid), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: squid, RPM: yast2-squid), can be used as check box, item in multiple selection box... tmpstring = _("Squid Service"); // TRANSLATORS: Description of a Service (rpm: squid), used as a common label or an item in table tmpstring = _("Opens ports for Squid"); - // TRANSLATORS: Name of Service (rpm: sshd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: sshd, RPM: openssh), can be used as check box, item in multiple selection box... tmpstring = _("Secure Shell Server"); // TRANSLATORS: Description of a Service (rpm: sshd), used as a common label or an item in table tmpstring = _("Open ports for Secure Shell Server"); - // TRANSLATORS: Name of Service (rpm: svnserve), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: svnserve, RPM: subversion), can be used as check box, item in multiple selection box... tmpstring = _("svnserve"); // TRANSLATORS: Description of a Service (rpm: svnserve), used as a common label or an item in table tmpstring = _("Open ports for svnserve"); - // TRANSLATORS: Name of Service (rpm: talkd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: talkd, RPM: talk-server), can be used as check box, item in multiple selection box... tmpstring = _("Talk Server"); // TRANSLATORS: Description of a Service (rpm: talkd), used as a common label or an item in table tmpstring = _("Open ports for Talk Server"); - // TRANSLATORS: Name of Service (rpm: telnet-server), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: telnet-server, RPM: telnet-server), can be used as check box, item in multiple selection box... tmpstring = _("Telnet Server"); // TRANSLATORS: Description of a Service (rpm: telnet-server), used as a common label or an item in table tmpstring = _("Opens ports for Telnet Server."); - // TRANSLATORS: Name of Service (rpm: tetrinet-server), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: tetrinet-server, RPM: tetrinet-server), can be used as check box, item in multiple selection box... tmpstring = _("Tetrinet Server"); // TRANSLATORS: Description of a Service (rpm: tetrinet-server), used as a common label or an item in table tmpstring = _("Opens ports in firewall to make possible to connect clients to your server. "); - // TRANSLATORS: Name of Service (rpm: vnc-httpd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: vnc-httpd, RPM: tightvnc), can be used as check box, item in multiple selection box... tmpstring = _("VNC mini-HTTP server"); // TRANSLATORS: Description of a Service (rpm: vnc-httpd), used as a common label or an item in table tmpstring = _("Opens the VNC HTTP ports so that browsers can connect."); - // TRANSLATORS: Name of Service (rpm: vnc-server), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: vnc-server, RPM: tightvnc), can be used as check box, item in multiple selection box... tmpstring = _("VNC"); // TRANSLATORS: Description of a Service (rpm: vnc-server), used as a common label or an item in table tmpstring = _("Opens VNC server ports so that viewers can connect."); - // TRANSLATORS: Name of Service (rpm: vsftpd), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: vsftpd, RPM: vsftpd), can be used as check box, item in multiple selection box... tmpstring = _("vsftpd Server"); // TRANSLATORS: Description of a Service (rpm: vsftpd), used as a common label or an item in table tmpstring = _("Opens ports for vsftpd Server."); - // TRANSLATORS: Name of Service (rpm: xdmcp), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: xdmcp, RPM: xorg-x11), can be used as check box, item in multiple selection box... tmpstring = _("xdmcp"); // TRANSLATORS: Description of a Service (rpm: xdmcp), used as a common label or an item in table tmpstring = _("allow other hosts to access your display manager via XDMCP"); - // TRANSLATORS: Name of Service (rpm: ypbind), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: ypbind, RPM: ypbind), can be used as check box, item in multiple selection box... tmpstring = _("NIS Client"); // TRANSLATORS: Description of a Service (rpm: ypbind), used as a common label or an item in table tmpstring = _("The ypbind daemon binds NIS clients to an NIS domain"); - // TRANSLATORS: Name of Service (rpm: ypserv), can be used as check box, item in multiple selection box... + // TRANSLATORS: Name of Service (File name: ypserv, RPM: ypserv), can be used as check box, item in multiple selection box... tmpstring = _("NIS Server"); // TRANSLATORS: Description of a Service (rpm: ypserv), used as a common label or an item in table Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=4... ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Mon Apr 14 11:44:07 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Apr 14 11:44:17 CEST 2008 - locilka@suse.cz + +- Enhanced firewall-services translations script to generate a bit + more usefule output for translators. + +------------------------------------------------------------------- Mon Apr 14 08:49:05 CEST 2008 - jsrain@suse.cz - regenerated yast2-services-translations (bnc #373969) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org