Modifiche

⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Modulo:It-pronunciation

70 byte rimossi, 08:08, 26 dic 2018
nessun oggetto della modifica
Riga 1: Riga 1:  
local export = {}
 
local export = {}
local k
+
local k=" "
 
local stress = "ˈ"
 
local stress = "ˈ"
 
local long = "ː"
 
local long = "ː"
Riga 31: Riga 31:  
         word = mw.ustring.toNFC(word)
 
         word = mw.ustring.toNFC(word)
 
--â at the end of a word is /a/
 
--â at the end of a word is /a/
         if mw.ustring.match(word,"â.")=="â" then
+
         if mw.ustring.match(word,"â.")==nil then
 
           word=word:gsub("â","a ")
 
           word=word:gsub("â","a ")
 
         else
 
         else
          k=mw.string.match(word,"â.")
+
        word=word:gsub("â","a")
          k=k:gsub("â","a")
  −
          word = word:gsub("â.","k")
   
         end
 
         end
 
         end
 
         end

Menu di navigazione