Skip to content

Commit 8e69999

Browse files
committed
Merge remote-tracking branch 'origin/2.0' into 2.0
2 parents cbe13fd + 5ee8ce4 commit 8e69999

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

book/http_cache.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,10 @@ Here is how you can configure the Symfony2 reverse proxy to support the
10001000
``PURGE`` HTTP method::
10011001

10021002
// app/AppCache.php
1003-
class AppCache extends Cache
1003+
1004+
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
1005+
1006+
class AppCache extends HttpCache
10041007
{
10051008
protected function invalidate(Request $request)
10061009
{

book/translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Creating Translations
322322

323323
The act of creating translation files is an important part of "localization"
324324
(often abbreviated `L10n`_). Translation files consist of a series of
325-
id-translation pairs for the given domain and locale. The id is the identifier
325+
id-translation pairs for the given domain and locale. The source is the identifier
326326
for the individual translation, and can be the message in the main locale (e.g.
327327
"Symfony is great") of your application or a unique identifier (e.g.
328328
"symfony2.great" - see the sidebar below):

0 commit comments

Comments
 (0)