Not signed in (Sign In)
  1.  
    Hi,
    i found some errors and repaired it.
    here is the new german string.
    sry my english isn't the best.

    elseif ( GetLocale() == "deDE" ) then
        -- German localized variables
        GATHERER_VERSION_WARNING="New Gatherer Version detected, check zone match.";

        -- TRADE NAME
        TRADE_HERBALISM="Kr\195\164uterkunde"
        OLD_TRADE_HERBALISM="Kr\195\164uterkunde"
        TRADE_MINING="Bergbau"

        -- strings for gather line in chat
        HERB_GATHER_STRING="Ihr f\195\188hrt Kr\195\164utersammeln aus" -- "Ihr führt Kräutersammeln auf Beulengras aus."
        ORE_GATHER_STRING="Ihr f\195\188hrt Bergbau aus"                -- "Ihr führt Bergbau auf Kupfervorkommen aus."
        TREASURE_GATHER_STRING="Ihr f\195\188hrt \195\150ffnen aus"     -- "Ihr führt Öffnen auf Ramponierte Truhe aus."

        -- Length of the string to keep the gather name
        HERB_GATHER_LENGTH=32
        HERB_GATHER_END=-6
        ORE_GATHER_LENGTH=24
        ORE_GATHER_END=-6
        TREASURE_GATHER_LENGTH=24
        TREASURE_GATHER_END=-6

        GATHERER_REQUIRE="Ben\195\182tigt"
        GATHERER_NOSKILL="Erfordert"

        -- ore classes
        ORE_CLASS_VEIN   ="vorkommen"
        ORE_CLASS_DEPOSIT="ablagerung"

        -- ore types
        ORE_COPPER    ="Kupfer"
        ORE_TIN       ="Zinn"
        ORE_IRON      ="Eisen"
        ORE_SILVER    ="Silber"
        ORE_TRUESILVER="Echtsilber"
        ORE_GOLD      ="Gold"
        ORE_MITHRIL   ="Mithril"
        ORE_THORIUM   ="Thorium"
        ORE_RTHORIUM  ="Thorium (Reiches)"
        ORE_DARKIRON  ="Dunkeleisen"

        -- herb types
        HERB_ARTHASTEAR        ="Arthas' Tr\195\164nen"
        HERB_BLACKLOTUS        ="Schwarzer Lotus"
        HERB_BLINDWEED         ="Blindkraut"
        HERB_BRIARTHORN        ="Wilddornrose"
        HERB_BRUISEWEED        ="Beulengras"
        HERB_DREAMFOIL         ="Traumblatt"
        HERB_EARTHROOT         ="Erdwurzel"
        HERB_FADELEAF          ="Blassblatt"
        HERB_FIREBLOOM         ="Feuerbl\195\188te"
        HERB_GHOSTMUSHROOM     ="Geisterpilz"
        HERB_GOLDENSANSAM      ="Goldener Sansam"
        HERB_GOLDTHORN         ="Golddorn"
        HERB_GRAVEMOSS         ="Grabmoos"
        HERB_GROMSBLOOD        ="Gromsblut"
        HERB_ICECAP            ="Eiskappe"
        HERB_KHADGARSWHISKER   ="Khadgars Schnurrbart"
        HERB_KINGSBLOOD        ="K\195\182nigsblut"
        HERB_LIFEROOT          ="Lebenswurz"
        HERB_MAGEROYAL         ="Magusk\195\182nigskraut"
        HERB_MOUNTAINSILVERSAGE="Bergsilberweisling"
        HERB_PEACEBLOOM        ="Friedensblume"
        HERB_PLAGUEBLOOM       ="Pestbl\195\188te"
        HERB_PURPLELOTUS       ="Lila Lotus"
        HERB_SILVERLEAF        ="Silberblatt"
        HERB_STRANGLEKELP      ="W\195\188rgetang"
        HERB_SUNGRASS          ="Sonnengras"
        HERB_SWIFTTHISTLE      ="Flitzdistel"
        HERB_WILDSTEELBLOOM    ="Wildstahlblume"
        HERB_WINTERSBITE       ="Winterbiss"
        HERB_WILDVINE          ="Wildranke"

        -- treasure types
        TREASURE_BOX        ="Kasten"
        TREASURE_CHEST      ="Truhe"
        TREASURE_CLAM       ="Muschel"
        TREASURE_CRATE      ="Kiste"
        TREASURE_BARREL     ="Fass"
        TREASURE_CASK       ="Tonne"
        TREASURE_UNGOROSOIL_G = "Erdhaufen"
        TREASURE_BLOODPETAL = "Bloodpetal"
        TREASURE_BLOODPETAL_G = "Bloodpetal-Spr\195\182ssling"
        TREASURE_POWERCRYST = "Machtkristall"
        TREASURE_UNGOROSOIL = "Un'Goro Erde"

        -- UNTESTED
        TREASURE_FOOTLOCKER = "Schlie\195\159kiste"
        TREASURE_BLOODHERO  = "Blut von Helden"

        TREASURE_REGEX = {
     [1] = " ([^ ]+)$",
     [2] = "^([^ ]+) ",
     [3] = "([^ ]+) ([^ ]+) ",
     [4] = "([^ ]+) ([^ ]+)$",
        };

        function Gatherer_FindOreType(input)
     local i,j, oreType, oreClass, oreTypeClass;

     if ( string.find(input, "Reiches") and string.find(input, "Thorium") ) then
       return ORE_RTHORIUM;
     end;

     -- fix for ooze covered
     oreTypeClass = string.gsub(string.gsub(string.gsub(string.gsub(input, "Br\195\188hschlammbedecktes ", ""), "Kleines ", ""), "Reiches ", "" ), "Br\195\188hschlammbedeckte ", "" );


     if (string.find(oreTypeClass, ORE_CLASS_VEIN)) then
         oreType = strsub(oreTypeClass, 0, string.len(oreTypeClass)-string.len(ORE_CLASS_VEIN));
         oreClass = ORE_CLASS_VEIN;
     end
     if (string.find(oreTypeClass, ORE_CLASS_DEPOSIT)) then
         oreType = strsub(oreTypeClass, 0, string.len(oreTypeClass)-string.len(ORE_CLASS_DEPOSIT));
         oreClass = ORE_CLASS_DEPOSIT;
     end
     if( oreClass == ORE_CLASS_DEPOSIT and oreType == ORE_SILVER ) then
            oreType = ORE_TRUESILVER;
     end
     if (oreType and oreClass and ((oreClass == ORE_CLASS_VEIN) or (oreClass == ORE_CLASS_DEPOSIT))) then
         return oreType;
     end
     return;
        end

        function Gatherer_FindTreasureType(in_input)
     local iconName, input;

     -- fix for clams
     input = string.gsub(in_input, "Riesen", "");

     if ( string.find(input, TREASURE_UNGOROSOIL_G) or string.find(input, TREASURE_UNGOROSOIL)) then
         return TREASURE_UNGOROSOIL, TREASURE_UNGOROSOIL;
     end
         
     if (string.find(input, TREASURE_POWERCRYST) ) then
         return TREASURE_POWERCRYST, TREASURE_POWERCRYST;
     end

     if (string.find(input, TREASURE_BLOODPETAL_G) or string.find(input, TREASURE_BLOODPETAL)) then
         return TREASURE_BLOODPETAL, TREASURE_BLOODPETAL_G;
     end

     if (string.find(input, TREASURE_BLOODHERO) ) then
         return TREASURE_BLOODHERO, TREASURE_BLOODHERO;
     end

     for iconName in Gather_DB_IconIndex[0] do
         local index, treasure_regex, i, j, treasType;
         if ( input == iconName ) then
       return iconName;
         end
         
         if ( string.find(input, iconName) ) then
       for index, treasure_regex in TREASURE_REGEX do
           i,j, treasType = string.find(input, treasure_regex);
           if ( treasType and treasType == iconName ) then
         return iconName;
           end
           
           i,j, _, treasType = string.find(input, treasure_regex);
           if ( treasType and treasType == iconName ) then
         return iconName;
           end
       end
         end
     end
     return;
        end

        function Gatherer_ExtractItemFromTooltip()
     return string.lower(GameTooltipTextLeft1:GetText());    
        end
  2.  
    Posted by: TIGERisBACK on Sep 8 2005, 11:45 AMHi,
    i found some errors and repaired it.
    here is the new german string.
    sry my english isn't the best.


    better put them all in lower caps since we do force the gather line to lower caps when it is extracted from the chat.

    let me see if I missed anything:
    - thorium (reiches)
    - treasure Box and Crate swapped (nevermind this one I changed the icon for boxes to be a crate instead of a chest).
    - comparison in FindTreasureType for Rich Thorium made with "reiches"

    Edit: there's a lot of new stuff to translate in the beta in UI_Localization.lua if you're game
  3.  
    in the German language, you must write this words with high caps.
    they stand also in such a way in chat.
    wrong does to me, but German is a heavy language
  4.  
    Posted by: TIGERisBACK on Sep 9 2005, 11:42 AMin the German language, you must write this words with high caps.
    they stand also in such a way in chat.
    wrong does to me, but German is a heavy language


    doesn't matter what it looks like in the chat, when we get the chat line we transform all upper case to lower case to make the comparison easier (works in the same way for other languages too).
  5.  
    You missed the ore 'Geringes Blutsteinerz' in the file.
    Gatherer tells me that this is not in de databse and could not be added and I should post it here in the forums.

    I collect 'Geringes Blutsteinerz' in the mine in the 'Arathi Hochland' near from Hammerfall. I think this is the ore you need to collect in a stranglethorn-quest. As far as I know, this mine is the only one you find 'Geringes Blutsteinerz'.
  6.  
    Posted by: Litidian on Sep 25 2005, 12:30 PM
    You missed the ore 'Geringes Blutsteinerz' in the file.
    Gatherer tells me that this is not in de databse and could not be added and I should post it here in the forums.

    I collect 'Geringes Blutsteinerz' in the mine in the 'Arathi Hochland' near from Hammerfall. I think this is the ore you need to collect in a stranglethorn-quest. As far as I know, this mine is the only one you find 'Geringes Blutsteinerz'.


    Bloodstones? that's not handled by Gatherer (ie. no icon, no item in the filters, though it may record depending on the client language), and doesn't fit the criteria stated in the documentation section for inclusion in the list.

    BTW, the message you get doesn't come from Gatherer, there is no such message anywhere in our code.

    it comes from MapNotes Gathering which, I think, isn't maintained anymore and is completely different from Gatherer.
  7.  
    in the german local

    HERB_ARTHASTEAR ="arthas' tr\195\164nen"

    doesnt work ?

    them are gathered but the icon doesnt work.
  8.  
    Posted by: Guest on Nov 14 2005, 02:13 PM
    in the german local

    HERB_ARTHASTEAR ="arthas' tr\195\164nen"

    doesnt work ?

    them are gathered but the icon doesnt work.


    for some reason the quote character is saved in unicode format on some occasions, the problem was notified on the sourceforge tracker by a german user but he didn't follow up so the report was closed (http://sourceforge.net/tracker/index.php?f...353&atid=738378).

    You'll have to convert all your old nodes to the new name.

    Note: that the tracker item I mention does deal with a slightly different problem, the name had not changed.
  9.  
    Posted by: Islorgris on Nov 14 2005, 05:30 PM
    for some reason the quote character is saved in unicode format on some occasions, the problem was notified on the sourceforge tracker by a german user but he didn't follow up so the report was closed (http://sourceforge.net/tracker/index.php?f...353&atid=738378).

    You'll have to convert all your old nodes to the new name.

    Note: that the tracker item I mention does deal with a slightly different problem, the name had not changed.



    so i have found the bug... a --> ' is saved in the gathere savedfile as an --> `
World of Warcraft™ and Blizzard Entertainment™ are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.