Try using

[self performSelectorOnMainThread:@selector(updateProgressBar:) withObject: [NSNumber numberWithFloat:pr] waitUntilDone: YES] 


instead of 

progressView.progress += 0.1; // or any other number for that matter 


Update UIProgressView on UITableViewCell
In my theme I have a Search Form which looks like this:

&lt;form method="get" id="search" action="&lt;?php echo home_url(); ?&gt;"&gt;
    &lt;div&gt;
    &lt;?php $req=''; ?&gt;
    &lt;input type="text" value="Search" name="s" id="s"  onfocus="if(this.value==''){this.value='&lt;?php  _e( 'Search', 'thememagic' );  ?&gt;'};" onblur="if(this.value==''){this.value='Search'};" tabindex="2" &lt;?php if ($req) echo "aria-required='true'"; ?&gt; /&gt;
    &lt;input type="submit" id="searchsubmit" value="" /&gt;

    &lt;/div&gt;
&lt;/form&gt;


I think the _e( 'Search', 'thememagic' ) means that if you would use WPML you could easily translate the "Search" string. But what could I do without WPML?

Would it be possible to pass a variable to the search form template without touching the wordpress core functions? Because I'm calling get_search_form(); in my theme's functions.php within a shortcode function.

I have a simple site with not much content and for most of the purposes Polylang is good enough to make the site multilingual but I'm stuck at translating the "Search" string. 
