فهرست منبع

Set default gender to 'they'

walle303 9 سال پیش
والد
کامیت
932e2387ce
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      modules/Pisg/HTMLGenerator.pm

+ 2 - 2
modules/Pisg/HTMLGenerator.pm

@@ -1732,7 +1732,7 @@ sub _get_subst
 {
     # This function looks at the user definition and see if there is sex
     # defined. If yes, return the appropriate value. If no, just return the
-    # default he/she value.
+    # default 'they' value.
     my $self = shift;
     my ($m,$f,$d,$hash) = @_;
     if ($hash->{nick} && $self->{users}->{sex}{$hash->{nick}}) {
@@ -1742,7 +1742,7 @@ sub _get_subst
             return $f;
         }
     }
-    return defined($d) ? $d : "$m/$f";
+    return defined($d) ? $d : "they";
 }
 
 sub _mostusedword