Calendar module: Where is the pager markup? How can I translate it? This is so driving me insane. I installed this: http://drupal.org/project/calendar

Now I'm trying to get the 'Next' and 'Prev' links in the monthly calendar to translate. Those strings don't show up in string translation, so I decided to look for their origins; where do they come from. Problem is, I can't even find the markup. The rendered final markup looks like

&lt;ul class="pager"&gt;
    &lt;li class="date-prev"&gt;
        &lt;a href="http://pirkanmaa.fi/fi/etusivu/tapahtumakalenteri?mini=2013-02" title="Navigate to previous month" rel="nofollow"&gt;« Prev&lt;/a&gt;      &amp;nbsp;
    &lt;/li&gt;
    &lt;li class="date-next"&gt;&amp;nbsp;
        &lt;a href="http://pirkanmaa.fi/fi/etusivu/tapahtumakalenteri?mini=2013-04" title="Navigate to next month" rel="nofollow"&gt;Next »&lt;/a&gt;
    &lt;/li&gt;
&lt;/ul&gt;


It has to be somewhere, but where?
The pager markup is not directly related to calendar. It is part of date views, a submodule to the date module. Assuming your date module is installed in sites/all/modules, you can override the markup by copying the templates in sites/all/modules/date/date_views/themes to your themes template directory. You can also see the template preprocess functions in sites/all/modules/date/date_views/themes/theme.inc