Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

MTool Forum

  1. Home
  2. 翻译修正
  3. Пожалуйста! Помогите с коррекцией перевода!

Пожалуйста! Помогите с коррекцией перевода!

Scheduled Pinned Locked Moved 翻译修正
12 Posts 2 Posters 65 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SmartFalcon475
    wrote on last edited by
    #3
    This post is deleted!
    1 Reply Last reply
    • S Offline
      S Offline
      SmartFalcon475
      wrote on last edited by
      #4
      This post is deleted!
      1 Reply Last reply
      • S Offline
        S Offline
        SmartFalcon475
        wrote on last edited by
        #5

        Я думал что нужно bin-файл вставлять из папки переводимой игры. А где искать CSV-файл?

        鬼 1 Reply Last reply
        • S SmartFalcon475

          Я думал что нужно bin-файл вставлять из папки переводимой игры. А где искать CSV-файл?

          鬼 Offline
          鬼 Offline
          鬼才琪露诺
          wrote on last edited by
          #6

          @SmartFalcon475
          There are no files for you to insert here — this is a “fill in what you see during the game” area.
          There are no preset entries.

          The CSV export/import is just for your convenience when editing externally.

          S 1 Reply Last reply
          • 鬼 Offline
            鬼 Offline
            鬼才琪露诺
            wrote on last edited by 鬼才琪露诺
            #7

            You can paste this "How to use" to any AI, for help.

            Basic use:
                If you see "others1 BBB others2" after the game has been translated
                you want to replace it from BBB to CCC
                If you want to replace it regardless what the original text is
                
                don't fill anything in A 
                fill in "BBB" to B
                fill in "CCC" to C 
                
                and that's it.
                
                You will see "others1 CCC others2" in the game.
            Advanced 1: 
                If you want to replace BBB with CCC only when AAA appears in the original text, fill in "AAA" in A
                
            Advanced 2 (only for users who can write regular expressions): 
                You can use a RegExp to match AAA and BBB.
                See JavaScript's regular expressions and String.replace() method for details.
                You need to fill in the entire regular expression, including the slash and optional flag, if you don't fill in the flag, it defaults to "gi" e.g. "/(others1)(BBB)(others2)/mg" or "/(others1)(BBB)(others2)/"
                
                CCC can be replaced by using "$$" "$&" "$`" "$'" "$n" "$<Name>" in a capture.
                
            An example for Advanced 2:
                The original game text: DDDEEEAAAZZZXXX
                After translation: YYYHHHBBBPPPXXX
                    A: AAA
                    B: /YYYH(HH)(BBB)(PPP)X(X)X/
                    C: $1CCC$2JJ$3
                Result: HHCCCPPPJJX
                
            The Logic Example:
                //replace in order of CCC length from longest to shortest, or localeCompare if length is the same
                let AAA, BBB, CCC; //User Input  
                function doFix(str, oriStr) {
                    if(AAA){
                        AAA.lastIndex = 0;
                        if (!oriStr.match(AAA)) {
                            return str;
                        }
                    }
                    BBB.lastIndex = 0;
                    return str.replace(BBB, CCC); // if BBB not a RegExp, the CCC will replace all $ to $$
                }
            
            1 Reply Last reply
            • 鬼 鬼才琪露诺

              @SmartFalcon475
              There are no files for you to insert here — this is a “fill in what you see during the game” area.
              There are no preset entries.

              The CSV export/import is just for your convenience when editing externally.

              S Offline
              S Offline
              SmartFalcon475
              wrote on last edited by
              #8

              @鬼才琪露诺 said in Пожалуйста! Помогите с коррекцией перевода!:

              @SmartFalcon475
              -Through MTool, I start the game, get to the dialog line that I want to fix.
              -Open "Translate Fix" and fill in (select) the empty fields.
              -In the "A" field, I enter a string from the game, in "B" the word I want to change, in "C" the word I want to change to.
              -I'll export it to a CSV file
              Where should I put this file?
              Thank you.

              1 Reply Last reply
              • S Offline
                S Offline
                SmartFalcon475
                wrote on last edited by
                #9

                Хотя согласно справки для замены например "Привет мир" на "Привет земля" Я должен "А" оставить пустым, в "В" вставить "мир" а в "С" вставить "земля" Тогда вообще непонятно как этот CSV исправит строку в моей игре....

                1 Reply Last reply
                • 鬼 Offline
                  鬼 Offline
                  鬼才琪露诺
                  wrote on last edited by
                  #10

                  If you don't understand it, you don't need a CSV file at all.

                  1 Reply Last reply
                  • 鬼 Offline
                    鬼 Offline
                    鬼才琪露诺
                    wrote on last edited by
                    #11

                    Just fill in the A B C on the page.

                    1 Reply Last reply
                    • S Offline
                      S Offline
                      SmartFalcon475
                      wrote on last edited by
                      #12

                      Разобрался... ИИ помог. Всем спасибо.

                      1 Reply Last reply
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups