Skip to content

Commit

Permalink
SAK-43692: SWITCH: Chat: Use permissions widget (sakaiproject#8246)
Browse files Browse the repository at this point in the history
* Moved properties files from tool to api.
* Merged permissions.properties files into chat.properties.
* Adapted to permissions webcomponent.
  • Loading branch information
frasese authored May 28, 2020
1 parent 6edff7c commit a0566b1
Show file tree
Hide file tree
Showing 30 changed files with 552 additions and 542 deletions.
9 changes: 8 additions & 1 deletion chat/chat-api/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
</dependency>
</dependencies>
<build>
<resources />
<resources>
<resource>
<directory>${basedir}/src/bundle</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,12 @@ change_room = Change Room
main = Chat Room
manage_tool = Options
permis = Permissions

## permission descriptions for chat tool
perm-chat.new=Post chat messages
perm-chat.read=Read chat messages
perm-chat.delete.any=Delete any chat messages
perm-chat.delete.own=Delete own chat messages
perm-chat.delete.channel=Delete a chat room
perm-chat.new.channel=Create a new chat room
perm-chat.revise.channel=Set chat room options
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,12 @@ channel_enable_override_description=Permet que els usuaris canvi\u00efn les opci

neg_num_error=No es permet usar nombres negatius.
show_last_range_error=El valor ha d''estar entre {0} i {1}

## permission descriptions for chat tool
perm-chat.new=Pot enviar missatges de xat
perm-chat.read=Pot llegir missatges de xat
perm-chat.delete.any=Pot esborrar qualsevol missatge
perm-chat.delete.own=Nom\u00e9s pot esborrar missatges propis
perm-chat.delete.channel=Pot esborrar sales de xat
perm-chat.new.channel=Pot crear sales de xat noves
perm-chat.revise.channel=Pot configurar les opcions de les sales de xat
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,12 @@ channel_enable_override_description=Permitir a cada participante del sitio cambi

neg_num_error=Los n\u00fameros negativos no est\u00e1n permitidos
show_last_range_error=El valor debe estar entre {0} y {1}

## permission descriptions for chat tool
perm-chat.new=Publicar mensajes del chat
perm-chat.read=Leer mensajes del chat
perm-chat.delete.any=Borrar cualquier mensaje del chat
perm-chat.delete.own=Borrar mensajes propios del chat
perm-chat.delete.channel=Borrar un sala del chat
perm-chat.new.channel=Crear una nueva sala en el chat
perm-chat.revise.channel=Modificar opciones de las salas del chat
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,12 @@ channel_enable_override_description=Baimena eman gunearen erabiltzaileei beren T

neg_num_error=Ez dira onartzen zenbaki negatiboak
show_last_range_error=Hauen arteko balioa behar du izan\: {0} eta {1}

## permission descriptions for chat tool
perm-chat.new=Publikatu mezuak
perm-chat.read=Irakurri mezuak
perm-chat.delete.any=Ezabatu edozein mezu
perm-chat.delete.own=Ezabatu norberaren mezuak
perm-chat.delete.channel=Ezabatu gelak
perm-chat.new.channel=Sortu gela berriak
perm-chat.revise.channel=Ezarri geletako ezarpenak
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,13 @@ channel_enable_override_description=\u0627\u062c\u0627\u0632\u0647 \u0628\u0647
neg_num_error=\u0627\u0639\u062f\u0627\u062f \u0645\u0646\u0641\u06cc \u0645\u062c\u0627\u0632 \u0646\u06cc\u0633\u062a\u0646\u062f
show_last_range_error=\u0645\u0642\u062f\u0627\u0631 \u0628\u0627\u06cc\u062f \u0628\u06cc\u0646 {0} \u0648 {1} \u0628\u0627\u0634\u062f


## permission descriptions for chat tool
#X-Generator: crowdin.com
perm-chat.new=\u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u0645 \u0647\u0627\u06cc \u06af\u0641\u062a\u06af\u0648
perm-chat.read=\u062e\u0648\u0627\u0646\u062f\u0646 \u067e\u06cc\u0627\u0645 \u0647\u0627\u06cc \u06af\u0641\u062a\u06af\u0648
perm-chat.delete.any=\u062d\u0630\u0641 \u0647\u0631 \u067e\u06cc\u0627\u0645 \u06af\u0641\u062a\u06af\u0648
perm-chat.delete.own=\u062d\u0630\u0641 \u067e\u06cc\u0627\u0645 \u0647\u0627\u06cc \u06af\u0641\u062a\u06af\u0648\u06cc \u062e\u0648\u062f
perm-chat.delete.channel=\u062d\u0630\u0641 \u06cc\u06a9 \u0627\u062a\u0627\u0642 \u06af\u0641\u062a\u06af\u0648
perm-chat.new.channel=\u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0627\u062a\u0627\u0642 \u06af\u0641\u062a\u06af\u0648\u06cc \u062c\u062f\u06cc\u062f
perm-chat.revise.channel=\u062a\u0646\u0638\u06cc\u0645 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc \u0627\u062a\u0627\u0642 \u06af\u0641\u062a\u06af\u0648
10 changes: 10 additions & 0 deletions ...ool/tool/src/bundle/chat_fr_FR.properties → ...-api/api/src/bundle/chat_fr_FR.properties
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,13 @@ channel_enable_override_description=Permettre aux participants du chat de modifi

neg_num_error=Les nombres n\u00e9gatifs sont interdits


## permission descriptions for chat tool
#X-Generator: crowdin.net
perm-chat.new=\u00c9crire des messages
perm-chat.read=Lire les messages
perm-chat.delete.any=Supprimer tous les messages
perm-chat.delete.own=Supprimer ses propres messages
perm-chat.delete.channel=Supprimer un salon
perm-chat.new.channel=Cr\u00e9er un nouveau salon
perm-chat.revise.channel=D\u00e9finir les options du salon
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,13 @@ channel_enable_override_description=\u091a\u0948\u091f \u092a\u094d\u0930\u0924\

neg_num_error=\u090b\u0923\u093e\u0924\u094d\u092e\u0915 \u0938\u0902\u0916\u094d\u092f\u093e\u0913\u0902 \u0915\u0940 \u0905\u0928\u0941\u092e\u0924\u093f \u0928\u0939\u0940 \u0939\u0948\u0964


## permission descriptions for chat tool
#X-Generator: crowdin.net
perm-chat.new=\u091a\u0948\u091f \u0938\u0902\u0926\u0947\u0936 \u092a\u094b\u0938\u094d\u091f \u0915\u0930\u0947\u0902
perm-chat.read=\u091a\u0948\u091f \u0938\u0902\u0926\u0947\u0936 \u092a\u0922\u093c\u0947\u0902
perm-chat.delete.any=\u0915\u094b\u0908 \u092d\u0940 \u091a\u0948\u091f \u0938\u0902\u0926\u0947\u0936 \u0939\u091f\u093e\u090f\u0902
perm-chat.delete.own=\u0938\u094d\u0935\u092f\u0902 \u0915\u0947 \u091a\u0948\u091f \u0938\u0902\u0926\u0947\u0936 \u0939\u091f\u093e\u090f\u0902
perm-chat.delete.channel=\u090f\u0915 \u091a\u0948\u091f \u0915\u0915\u094d\u0937 \u0939\u091f\u093e\u090f\u0901
perm-chat.new.channel=\u090f\u0915 \u0928\u092f\u093e \u091a\u0948\u091f \u0915\u0915\u094d\u0937 \u092c\u0928\u093e\u090f\u0901
perm-chat.revise.channel=\u091a\u0948\u091f \u0915\u0915\u094d\u0937 \u0935\u093f\u0915\u0932\u094d\u092a \u0938\u0947\u091f \u0915\u0930\u0947\u0902
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,12 @@ back_to_room=\u30eb\u30fc\u30e0\u306b\u623b\u308b
channel_enable_override_description=\u30c1\u30e3\u30c3\u30c8\u53c2\u52a0\u8005\u304c\u81ea\u5206\u81ea\u8eab\u306e\u30c1\u30e3\u30c3\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u5bfe\u3059\u308b\u30c1\u30e3\u30c3\u30c8\u8868\u793a\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u3059\u308b
neg_num_error=\u8ca0\u306e\u6570\u306f\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093
show_last_range_error=\u5024\u306f {0} \u3068 {1} \u306e\u9593\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e

## permission descriptions for chat tool
perm-chat.new=\u30c1\u30e3\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6295\u7a3f
perm-chat.read=\u30c1\u30e3\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8aad\u3080
perm-chat.delete.any=\u3059\u3079\u3066\u306e\u30c1\u30e3\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u524a\u9664
perm-chat.delete.own=\u81ea\u5206\u306e\u30c1\u30e3\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u524a\u9664
perm-chat.delete.channel=\u30c1\u30e3\u30c3\u30c8\u30eb\u30fc\u30e0\u3092\u524a\u9664
perm-chat.new.channel=\u65b0\u3057\u3044\u30c1\u30e3\u30c3\u30c8\u30eb\u30fc\u30e0\u3092\u4f5c\u6210
perm-chat.revise.channel=\u30c1\u30e3\u30c3\u30c8\u30eb\u30fc\u30e0\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a
Loading

0 comments on commit a0566b1

Please sign in to comment.