src/uniandes/tsdl/itdroid/IBM/IBMTranslator.java
public static String replaceInjectedStrings2 (String input) {
        String repleaceable = input;
        Pattern pattern = Pattern.compile("xyz\\d");
        Matcher matcher = pattern.matcher(repleaceable);
        while(matcher.find()) {
            String injectedCharacter = matcher.group(0);
            char number = injectedCharacter.charAt(3);
            repleaceable = matcher.replaceFirst("%" + number + "\\$s");
            matcher = pattern.matcher(repleaceable);
        }
        return repleaceable;

    }
/**
     * Replaces the non translatable string for the injected parameters values.
     * @param input
     * @return
     */
Replaces the non translatable string for the injected parameters values.
@param input
@return
Replaces the non translatable string for the injected parameters values . @param input @return
public static String replaceInjectedStrings2 (String input) {
        String repleaceable = input;
        Pattern pattern = Pattern.compile("xyz\\d");
        Matcher matcher = pattern.matcher(repleaceable);
        while(matcher.find()) {
            String injectedCharacter = matcher.group(0);
            char number = injectedCharacter.charAt(3);
            repleaceable = matcher.replaceFirst("%" + number + "\\$s");
            matcher = pattern.matcher(repleaceable);
        }
        return repleaceable;
    }
public static String replaceInjectedStrings2 ( String input ) { String repleaceable = input ; Pattern pattern = Pattern . compile ( "xyz\\d" ) ; Matcher matcher = pattern . matcher ( repleaceable ) ; while ( matcher . find ( ) ) { String injectedCharacter = matcher . group ( 0 ) ; char number = injectedCharacter . charAt ( 3 ) ; repleaceable = matcher . replaceFirst ( "%" + number + "\\$s" ) ; matcher = pattern . matcher ( repleaceable ) ; } return repleaceable ; }
Replaces the non translatable string for the injected parameters values.
Replaces the non translatable string for the injected parameters values .