Changeset 61 for trunk/export.php


Ignore:
Timestamp:
Feb 4, 2009, 9:51:34 PM (16 years ago)
Author:
george
Message:
  • Přidáno: Export překladů do českého WoW Addonu.
  • Upraveno: Export souborů se nyní ukládá samostatně do složek dle jmen uživatelů.
  • Přidáno: Zobrazování chyb dle konfigurace.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export.php

    r59 r61  
    11<?php
    2 
    3 function utf2ascii($text)
    4 {
    5   $return = Str_Replace(
    6     Array("á","č","ď","é","ě","í","ľ","ň","ó","ř","š","ť","ú","ů","ý","ž","Á","Č","Ď","É","Ě","Í","Ľ","Ň","Ó","Ř","Š","Ť","Ú","Ů","Ý","Ž") ,
    7     Array("a","c","d","e","e","i","l","n","o","r","s","t","u","u","y","z","A","C","D","E","E","I","L","N","O","R","S","T","U","U","Y","Z") ,
    8     $text);
    9   //$return = Str_Replace(Array(" ", "_"), "-", $return); //nahradí mezery a podtržítka pomlčkami
    10   //$return = Str_Replace(Array("(",")",".","!",",","\"","'"), "", $return); //odstraní ().!,"'
    11   //$return = StrToLower($return); // velká písmena nahradí malými.
    12   return($return);
    13 }
    142
    153function Export($Setting)
Note: See TracChangeset for help on using the changeset viewer.