Commit caafe66f59866440fda31494f326279c172a4e84

Authored by kevin_fourie
1 parent d18e3097

Merged in from DEV trunk...

KTS-3505
"A string without i18n in rss dashlet - 'Select External RSS Feed'"
Fixed. Added i18n tags.

KTS-3504
"Bad i18n style in RSS dashlet"
Fixed. Used full sentences instead of ones broken up by if statements.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@8810 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/rssplugin/templates/RSSPlugin/dashlet.smarty
... ... @@ -5,7 +5,7 @@
5 5 {if $internalrss}
6 6 <option selected='selected' value='{$internalrss}'>{i18n arg_appname="$appname"}#appname# RSS{/i18n}</option>
7 7 {else}
8   - <option selected='selected' value='null'>Select External RSS Feed</option>
  8 + <option selected='selected' value='null'>{i18n}Select External RSS Feed{/i18n}</option>
9 9 {/if}
10 10 {if $feedlist}
11 11 {section name=feed loop=$feedlist}
... ... @@ -42,7 +42,12 @@
42 42 {if $action.description}title="{$action.description}"{/if}>{$action.name}</a><br>{else}{$action.name}
43 43 {/if}
44 44 {/if}
45   - <br>{i18n}No internal{/i18n} {if !$feedlist}{i18n}or external{/i18n} {/if}{i18n}feeds available{/i18n}.
  45 + <br>
  46 + {if !$feedlist}
  47 + {i18n}No internal or external feeds available{/i18n}
  48 + {else}
  49 + {i18n}No internal feeds available{/i18n}.
  50 + {/if}
46 51 <br>
47 52 <br>
48 53 {/if}
... ...