| 
本帖最后由 fattiger 于 2023-1-13 20:33 编辑
×
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册 
  
 
 [RenPy] 纯文本查看 复制代码 
    $ yoga_name=_("Ms.Levin")
    $ penny_name = _("Secretary")
    $ asian_rival_name = _("Asian Guy")
    $ lucy_name = _("Blue-haired Girl")
    $ isabella_name = _("Mrs. Toletto")
    $ lila_name = _("Violet-haired Girl")
    $ goth_student = __("Goth Student")
    $ swot_student = _("White Hair Student")
    $ tracy_name = _("Saleswoman")
    $ bouncer_name = _("VIP-Bouncer")
 已经在tl 文件里面设置了对应的翻译内容,但是游戏中还是显示英文
 
 [RenPy] 纯文本查看 复制代码 translate chinese strings: 
   # game/scripts/script.rpy:536
    old "Violet-haired Girl"
    new "紫罗兰色头发的女孩"
    # game/scripts/script.rpy:537
    old "Goth Student"
    new "哥特学生"
    # game/scripts/script.rpy:538
    old "White Hair Student"
    new "白发学生"
 并且,源码中,无论把变量值添加 _() 和 __() 都无效
 
 
 
 
 
 |