[apparmor] [patch] fix broken english in parser_yacc.y

Seth Arnold seth.arnold at canonical.com
Fri Dec 6 19:22:33 UTC 2013


On Fri, Dec 06, 2013 at 07:54:29PM +0100, Christian Boltz wrote:
> Hello,
> 
> I think the patch (and $SUBJECT) speaks for itsself ;-)

What's the deal with the po/apparmor-parser.pot file? Do we need to update
this file when we change the msgid strings like this? Do we need to update
any translation tables anywhere else as a result of this change?

The patch itself of course looks good :)

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Thanks


> === modified file 'parser/parser_yacc.y'
> --- parser/parser_yacc.y        2013-09-28 00:26:39 +0000
> +++ parser/parser_yacc.y        2013-12-06 18:52:41 +0000
> @@ -657,7 +657,7 @@
>  rules:  rules opt_prefix mnt_rule
>         {
>                 if ($2.owner)
> -                       yyerror(_("owner prefix not allow on mount rules"));
> +                       yyerror(_("owner prefix not allowed on mount rules"));
>                 if ($2.deny && $2.audit) {
>                         $3->deny = 1;
>                 } else if ($2.deny) {
> @@ -674,7 +674,7 @@
>  rules:  rules opt_prefix dbus_rule
>         {
>                 if ($2.owner)
> -                       yyerror(_("owner prefix not allow on dbus rules"));
> +                       yyerror(_("owner prefix not allowed on dbus rules"));
>                 if ($2.deny && $2.audit) {
>                         $3->deny = 1;
>                 } else if ($2.deny) {
> @@ -701,7 +701,7 @@
>  rules:  rules opt_prefix capability
>         {
>                 if ($2.owner)
> -                       yyerror(_("owner prefix not allow on capability rules"));
> +                       yyerror(_("owner prefix not allowed on capability rules"));
>  
>                 if ($2.deny)
>                         $1->caps.deny |= $3;
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131206/dba97b1d/attachment.pgp>


More information about the AppArmor mailing list