r67625 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67624‎ | r67625 | r67626 >
Date:15:01, 8 June 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
One file alternative up for discussion
Modified paths:
  • /trunk/extensions/Translate/groups/Shapado/Shapado.yml (added) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/Shapado/Shapado.yml
@@ -0,0 +1,319 @@
 2+TEMPLATE:
 3+ BASIC:
 4+ namespace: NS_SHAPADO
 5+ class: FileBasedMessageGroup
 6+ description: "{{int:bw-desc-shapado}}"
 7+
 8+
 9+ FILES:
 10+ class: YamlFFS
 11+ codeAsRoot: 1
 12+ targetPattern: %CODE%.yml
 13+ codeMap:
 14+ es: es-AR
 15+ pt: pt-PT
 16+ pt-br: pt-BR
 17+ sr-ec: sr-EC
 18+ zh-cn: zh-CN
 19+ zh-tw: zh-TW
 20+ zh-hant: zh-HANT
 21+
 22+ MANGLER:
 23+ class: StringMatcher
 24+ patterns:
 25+ - "*"
 26+
 27+---
 28+BASIC:
 29+ id: out-shapado-ads
 30+ label: Shapado - Ads
 31+ display: out/shapado/ads
 32+FILES:
 33+ sourcePattern: %GROUPROOT%/shapado/config/locales/ads/%CODE%.yml
 34+MANGLER:
 35+ prefix: ads-
 36+
 37+---
 38+BASIC:
 39+ id: out-shapado-announcements
 40+ label: Shapado - Announcements
 41+ display: out/shapado/announcements
 42+FILES:
 43+ sourcePattern: %GROUPROOT%/shapado/config/locales/announcements/%CODE%.yml
 44+MANGLER:
 45+ prefix: announcements-
 46+TAGS:
 47+ ignored:
 48+ - announcements-announcements.form
 49+
 50+---
 51+BASIC:
 52+ id: out-shapado-answers
 53+ label: Shapado - Answers
 54+ display: out/shapado/answers
 55+FILES:
 56+ sourcePattern: %GROUPROOT%/shapado/config/locales/answers/%CODE%.yml
 57+MANGLER:
 58+ prefix: answers-
 59+
 60+---
 61+BASIC:
 62+ id: out-shapado-badges
 63+ label: Shapado - Badges
 64+ display: out/shapado/badges
 65+FILES:
 66+ sourcePattern: %GROUPROOT%/shapado/config/locales/badges/%CODE%.yml
 67+MANGLER:
 68+ prefix: badges-
 69+
 70+---
 71+BASIC:
 72+ id: out-shapado-closerequests
 73+ label: Shapado - Close requests
 74+ display: out/shapado/closerequests
 75+FILES:
 76+ sourcePattern: %GROUPROOT%/shapado/config/locales/close_requests/%CODE%.yml
 77+MANGLER:
 78+ prefix: closereq-
 79+
 80+---
 81+BASIC:
 82+ id: out-shapado-comments
 83+ label: Shapado - Comments
 84+ display: out/shapado/comments
 85+FILES:
 86+ sourcePattern: %GROUPROOT%/shapado/config/locales/comments/%CODE%.yml
 87+MANGLER:
 88+ prefix: comments-
 89+
 90+---
 91+BASIC:
 92+ id: out-shapado-doc
 93+ label: Shapado - Doc
 94+ display: out/shapado/doc
 95+FILES:
 96+ sourcePattern: %GROUPROOT%/shapado/config/locales/doc/%CODE%.yml
 97+MANGLER:
 98+ prefix: doc-
 99+
 100+---
 101+BASIC:
 102+ id: out-shapado-errors
 103+ label: Shapado - Errors
 104+ display: out/shapado/errors
 105+FILES:
 106+ sourcePattern: %GROUPROOT%/shapado/config/locales/errors/%CODE%.yml
 107+MANGLER:
 108+ prefix: errors-
 109+
 110+---
 111+BASIC:
 112+ id: out-shapado-favorites
 113+ label: Shapado - Favorites
 114+ display: out/shapado/favorites
 115+FILES:
 116+ sourcePattern: %GROUPROOT%/shapado/config/locales/favorites/%CODE%.yml
 117+MANGLER:
 118+ prefix: favs-
 119+
 120+---
 121+BASIC:
 122+ id: out-shapado-flags
 123+ label: Shapado - Flags
 124+ display: out/shapado/flags
 125+FILES:
 126+ sourcePattern: %GROUPROOT%/shapado/config/locales/flags/%CODE%.yml
 127+MANGLER:
 128+ prefix: flags-
 129+
 130+---
 131+BASIC:
 132+ id: out-shapado-global
 133+ label: Shapado - Global
 134+ display: out/shapado/global
 135+FILES:
 136+ sourcePattern: %GROUPROOT%/shapado/config/locales/global/%CODE%.yml
 137+MANGLER:
 138+ prefix: global-
 139+
 140+---
 141+BASIC:
 142+ id: out-shapado-groups
 143+ label: Shapado - Groups
 144+ display: out/shapado/groups
 145+FILES:
 146+ sourcePattern: %GROUPROOT%/shapado/config/locales/groups/%CODE%.yml
 147+MANGLER:
 148+ prefix: groups-
 149+
 150+---
 151+BASIC:
 152+ id: out-shapado-imports
 153+ label: Shapado - Imports
 154+ display: out/shapado/imports
 155+FILES:
 156+ sourcePattern: %GROUPROOT%/shapado/config/locales/imports/%CODE%.yml
 157+MANGLER:
 158+ prefix: imports-
 159+
 160+---
 161+BASIC:
 162+ id: out-shapado-layouts
 163+ label: Shapado - Layouts
 164+ display: out/shapado/layouts
 165+FILES:
 166+ sourcePattern: %GROUPROOT%/shapado/config/locales/layouts/%CODE%.yml
 167+MANGLER:
 168+ prefix: layouts-
 169+
 170+---
 171+BASIC:
 172+ id: out-shapado-mailers
 173+ label: Shapado - Mailers
 174+ display: out/shapado/mailers
 175+ class: FileBasedMessageGroup
 176+FILES:
 177+ sourcePattern: %GROUPROOT%/shapado/config/locales/mailers/%CODE%.yml
 178+MANGLER:
 179+ prefix: mailers-
 180+
 181+---
 182+BASIC:
 183+ id: out-shapado-manage
 184+ label: Shapado - Manage
 185+ display: out/shapado/manage
 186+FILES:
 187+ sourcePattern: %GROUPROOT%/shapado/config/locales/manage/%CODE%.yml
 188+MANGLER:
 189+ prefix: manage-
 190+
 191+---
 192+BASIC:
 193+ id: out-shapado-members
 194+ label: Shapado - Members
 195+ display: out/shapado/members
 196+FILES:
 197+ sourcePattern: %GROUPROOT%/shapado/config/locales/members/%CODE%.yml
 198+MANGLER:
 199+ prefix: members-
 200+
 201+---
 202+BASIC:
 203+ id: out-shapado-moderate
 204+ label: Shapado - Moderate
 205+ display: out/shapado/moderate
 206+ class: FileBasedMessageGroup
 207+FILES:
 208+ sourcePattern: %GROUPROOT%/shapado/config/locales/moderate/%CODE%.yml
 209+MANGLER:
 210+ prefix: moderate-
 211+
 212+---
 213+BASIC:
 214+ id: out-shapado-pages
 215+ label: Shapado - Pages
 216+ display: out/shapado/pages
 217+FILES:
 218+ sourcePattern: %GROUPROOT%/shapado/config/locales/pages/%CODE%.yml
 219+MANGLER:
 220+ prefix: pages-
 221+
 222+---
 223+BASIC:
 224+ id: out-shapado-questions
 225+ label: Shapado - Questions
 226+ display: out/shapado/questions
 227+FILES:
 228+ sourcePattern: %GROUPROOT%/shapado/config/locales/questions/%CODE%.yml
 229+MANGLER:
 230+ prefix: questions-
 231+
 232+---
 233+BASIC:
 234+ id: out-shapado-searches
 235+ label: Shapado - Searches
 236+ display: out/shapado/searches
 237+FILES:
 238+ sourcePattern: %GROUPROOT%/shapado/config/locales/searches/%CODE%.yml
 239+MANGLER:
 240+ prefix: searches-
 241+
 242+---
 243+BASIC:
 244+ id: out-shapado-sessions
 245+ label: Shapado - Sessions
 246+ display: out/shapado/sessions
 247+FILES:
 248+ sourcePattern: %GROUPROOT%/shapado/config/locales/sessions/%CODE%.yml
 249+MANGLER:
 250+ prefix: sessions-
 251+
 252+---
 253+BASIC:
 254+ id: out-shapado-shared
 255+ label: Shapado - Shared
 256+ display: out/shapado/shared
 257+FILES:
 258+ sourcePattern: %GROUPROOT%/shapado/config/locales/shared/%CODE%.yml
 259+MANGLER:
 260+ prefix: shared-
 261+
 262+---
 263+BASIC:
 264+ id: out-shapado-unfavorites
 265+ label: Shapado - Unfavorites
 266+ display: out/shapado/unfavorites
 267+FILES:
 268+ sourcePattern: %GROUPROOT%/shapado/config/locales/unfavorites/%CODE%.yml
 269+MANGLER:
 270+ prefix: unfav-
 271+
 272+---
 273+BASIC:
 274+ id: out-shapado-users
 275+ label: Shapado - Users
 276+ display: out/shapado/users
 277+FILES:
 278+ sourcePattern: %GROUPROOT%/shapado/config/locales/users/%CODE%.yml
 279+MANGLER:
 280+ prefix: users-
 281+
 282+---
 283+BASIC:
 284+ id: out-shapado-votes
 285+ label: Shapado - Votes
 286+ display: out/shapado/votes
 287+FILES:
 288+ sourcePattern: %GROUPROOT%/shapado/config/locales/votes/%CODE%.yml
 289+MANGLER:
 290+ prefix: votes-
 291+
 292+---
 293+BASIC:
 294+ id: out-shapado-welcome
 295+ label: Shapado - Welcome
 296+ display: out/shapado/welcome
 297+FILES:
 298+ sourcePattern: %GROUPROOT%/shapado/config/locales/welcome/%CODE%.yml
 299+MANGLER:
 300+ prefix: welcome-
 301+
 302+---
 303+BASIC:
 304+ id: out-shapado-widgets
 305+ label: Shapado - Widgets
 306+ display: out/shapado/widgets
 307+FILES:
 308+ sourcePattern: %GROUPROOT%/shapado/config/locales/widgets/%CODE%.yml
 309+MANGLER:
 310+ prefix: widgets-
 311+
 312+---
 313+BASIC:
 314+ id: out-shapado-wiki
 315+ label: Shapado - Wiki
 316+ display: out/shapado/wiki
 317+FILES:
 318+ sourcePattern: %GROUPROOT%/shapado/config/locales/wiki/%CODE%.yml
 319+MANGLER:
 320+ prefix: wiki-

Follow-up revisions

RevisionCommit summaryAuthorDate
r67634Code support for r67625 (template and multiple group definitions per file)nikerabbit16:33, 8 June 2010

Status & tagging log