Skip to content

Commit

Permalink
SAK-43898: SWITCH: Polls: Use permissions widget (sakaiproject#8337)
Browse files Browse the repository at this point in the history
* Moved properties files from tool to api.
* Adapted to permissions webcomponent.
  • Loading branch information
frasese authored Jul 7, 2020
1 parent 7fea41c commit abeac9c
Show file tree
Hide file tree
Showing 22 changed files with 403 additions and 418 deletions.
20 changes: 20 additions & 0 deletions polls/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,24 @@
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>

<build>
<resources>
<resource>
<directory>${basedir}/src/bundle</directory>
<includes>
<include>**/*.properties</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>${basedir}/src/java</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.xslt</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ set.perms=Set poll permissions for {0}
rsf.invalid.date={0} is not a valid date
desc-poll.vote=Vote on a poll
desc-poll.add=Add a new poll
desc-poll.deleteOwn=Delete your own poll
desc-poll.deleteAny=Delete any poll
desc-poll.editAny=Edit any poll
desc-poll.editOwn=Edit own poll
perm-poll.vote=Vote on a poll
perm-poll.add=Add a new poll
perm-poll.deleteOwn=Delete your own poll
perm-poll.deleteAny=Delete any poll
perm-poll.editAny=Edit any poll
perm-poll.editOwn=Edit own poll
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ set.perms=Set poll permissions for {0}
rsf.invalid.date={0} is not a valid date
desc-poll.vote=Vote on a poll
desc-poll.add=Add a new poll
desc-poll.deleteOwn=Delete your own poll
desc-poll.deleteAny=Delete any poll
desc-poll.editAny=Edit any poll
desc-poll.editOwn=Edit own poll
perm-poll.vote=Vote on a poll
perm-poll.add=Add a new poll
perm-poll.deleteOwn=Delete your own poll
perm-poll.deleteAny=Delete any poll
perm-poll.editAny=Edit any poll
perm-poll.editOwn=Edit own poll
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ set.perms=Configura els permisos de l''eina de votacions per a l''espai {0}
rsf.invalid.date={0} no \u00e9s una data v\u00e0lida
desc-poll.vote=Pot participar en una votaci\u00f3
desc-poll.add=Pot afegir una votaci\u00f3 nova
desc-poll.deleteOwn=Nom\u00e9s pot eliminar les seves votacions
desc-poll.deleteAny=Pot eliminar qualsevol votaci\u00f3
desc-poll.editAny=Pot editar qualsevol votaci\u00f3
desc-poll.editOwn=Nom\u00e9s pot editar les seves votacions
perm-poll.vote=Pot participar en una votaci\u00f3
perm-poll.add=Pot afegir una votaci\u00f3 nova
perm-poll.deleteOwn=Nom\u00e9s pot eliminar les seves votacions
perm-poll.deleteAny=Pot eliminar qualsevol votaci\u00f3
perm-poll.editAny=Pot editar qualsevol votaci\u00f3
perm-poll.editOwn=Nom\u00e9s pot editar les seves votacions
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ set.perms=Configurar permisos para {0}
rsf.invalid.date={0} no es una fecha v\u00e1lida


desc-poll.vote=Votar en una encuesta
desc-poll.add=A\u00f1adir una nueva encuesta
desc-poll.deleteOwn=Eliminar su propia encuesta
desc-poll.deleteAny=Eliminar una encuesta
desc-poll.editAny=Editar cualquier encuesta
desc-poll.editOwn=Editar la propia encuesta
perm-poll.vote=Votar en una encuesta
perm-poll.add=A\u00f1adir una nueva encuesta
perm-poll.deleteOwn=Eliminar su propia encuesta
perm-poll.deleteAny=Eliminar una encuesta
perm-poll.editAny=Editar cualquier encuesta
perm-poll.editOwn=Editar la propia encuesta
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ set.perms=Ezarri zundaketa baimenak gune honetarako\: {0}
rsf.invalid.date={0} ez da data balioduna


desc-poll.vote=Eman botoa zundaketa bati
desc-poll.add=Gehitu beste zundaketa bat
desc-poll.deleteOwn=Ezabatu zure zundaketa
desc-poll.deleteAny=Ezabatu zundaketa guztiak
desc-poll.editAny=Editatu zundaketa guztiak
desc-poll.editOwn=Editatu nire zundaketa
perm-poll.vote=Eman botoa zundaketa bati
perm-poll.add=Gehitu beste zundaketa bat
perm-poll.deleteOwn=Ezabatu zure zundaketa
perm-poll.deleteAny=Ezabatu zundaketa guztiak
perm-poll.editAny=Editatu zundaketa guztiak
perm-poll.editOwn=Editatu nire zundaketa
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ set.perms=\u062a\u0646\u0638\u06cc\u0645 \u0645\u062c\u0648\u0632 \u0646\u0638\u
rsf.invalid.date={0} \u06cc\u06a9 \u062a\u0627\u0631\u06cc\u062e \u0645\u0639\u062a\u0628\u0631 \u0646\u06cc\u0633\u062a


desc-poll.vote=\u0631\u0627\u06cc \u062f\u0631 \u0646\u0638\u0631 \u0633\u0646\u062c\u06cc
desc-poll.add=\u0627\u0641\u0632\u0648\u062f\u0646 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc \u062c\u062f\u06cc\u062f
desc-poll.deleteOwn=\u062d\u0630\u0641 \u0646\u0638\u0631 \u0633\u0646\u062c\u06cc \u062e\u0648\u062f
desc-poll.deleteAny=\u062d\u0630\u0641 \u0647\u0631 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc
desc-poll.editAny=\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0647\u0631 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc
desc-poll.editOwn=\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc \u062e\u0648\u062f
perm-poll.vote=\u0631\u0627\u06cc \u062f\u0631 \u0646\u0638\u0631 \u0633\u0646\u062c\u06cc
perm-poll.add=\u0627\u0641\u0632\u0648\u062f\u0646 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc \u062c\u062f\u06cc\u062f
perm-poll.deleteOwn=\u062d\u0630\u0641 \u0646\u0638\u0631 \u0633\u0646\u062c\u06cc \u062e\u0648\u062f
perm-poll.deleteAny=\u062d\u0630\u0641 \u0647\u0631 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc
perm-poll.editAny=\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0647\u0631 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc
perm-poll.editOwn=\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0646\u0638\u0631\u0633\u0646\u062c\u06cc \u062e\u0648\u062f

Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ set.perms=D\u00e9finir les droits sur le sondage pour {0}
rsf.invalid.date={0} n'est pas une date valide


desc-poll.vote=Voter pour un sondage
desc-poll.add=Ajouter un nouveau sondage
desc-poll.deleteOwn=Supprimer ses sondages
desc-poll.deleteAny=Supprimer n'importe quel sondage
desc-poll.editAny=Modifier n'importe quel sondage
desc-poll.editOwn=Modifier ses sondages
perm-poll.vote=Voter pour un sondage
perm-poll.add=Ajouter un nouveau sondage
perm-poll.deleteOwn=Supprimer ses sondages
perm-poll.deleteAny=Supprimer n'importe quel sondage
perm-poll.editAny=Modifier n'importe quel sondage
perm-poll.editOwn=Modifier ses sondages
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ set.perms={0} \u0915\u0947 \u0932\u093f\u090f \u092a\u094b\u0932 \u0905\u0928\u0
rsf.invalid.date={0} \u0915\u094b\u0908 \u092e\u093e\u0928\u094d\u092f \u0926\u093f\u0928\u093e\u0902\u0915 \u0928\u0939\u0940\u0902 \u0939\u0948


desc-poll.vote=\u090f\u0915 \u092a\u094b\u0932 \u092a\u0930 \u0935\u094b\u091f
desc-poll.add=\u090f\u0915 \u0928\u090f \u0938\u0930\u094d\u0935\u0947\u0915\u094d\u0937\u0923 \u092e\u0947\u0902 \u091c\u094b\u0921\u093c\u0947\u0902
desc-poll.deleteOwn=\u0905\u092a\u0928\u0947 \u091a\u0941\u0928\u093e\u0935 \u0915\u094b \u0939\u091f\u093e\u0928\u093e
desc-poll.deleteAny=\u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094b\u0932 \u0915\u094b \u0939\u091f\u093e\u0928\u093e
desc-poll.editAny=\u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094b\u0932 \u0915\u094b \u0938\u0902\u092a\u093e\u0926\u093f\u0924 \u0915\u0930\u0947\u0902
desc-poll.editOwn=\u0938\u094d\u0935\u092f\u0902 \u092a\u094b\u0932 \u0915\u094b \u0938\u0902\u092a\u093e\u0926\u093f\u0924 \u0915\u0930\u0947\u0902
perm-poll.vote=\u090f\u0915 \u092a\u094b\u0932 \u092a\u0930 \u0935\u094b\u091f
perm-poll.add=\u090f\u0915 \u0928\u090f \u0938\u0930\u094d\u0935\u0947\u0915\u094d\u0937\u0923 \u092e\u0947\u0902 \u091c\u094b\u0921\u093c\u0947\u0902
perm-poll.deleteOwn=\u0905\u092a\u0928\u0947 \u091a\u0941\u0928\u093e\u0935 \u0915\u094b \u0939\u091f\u093e\u0928\u093e
perm-poll.deleteAny=\u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094b\u0932 \u0915\u094b \u0939\u091f\u093e\u0928\u093e
perm-poll.editAny=\u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094b\u0932 \u0915\u094b \u0938\u0902\u092a\u093e\u0926\u093f\u0924 \u0915\u0930\u0947\u0902
perm-poll.editOwn=\u0938\u094d\u0935\u092f\u0902 \u092a\u094b\u0932 \u0915\u094b \u0938\u0902\u092a\u093e\u0926\u093f\u0924 \u0915\u0930\u0947\u0902

Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ add_option=\u30aa\u30d7\u30b7\u30e7\u30f3
add_actions=\u64cd\u4f5c
set.perms="{0}" \u306e\u610f\u8b58\u8abf\u67fb\u6a29\u9650\u3092\u8a2d\u5b9a
rsf.invalid.date={0}\u306f\u6709\u52b9\u306a\u65e5\u6642\u3067\u306f\u3042\u308a\u307e\u305b\u3093
desc-poll.vote=\u610f\u898b\u8abf\u67fb\u3078\u6295\u7968
desc-poll.add=\u65b0\u3057\u3044\u6295\u7968\u3092\u8ffd\u52a0
desc-poll.deleteOwn=\u81ea\u5206\u306e\u610f\u898b\u8abf\u67fb\u3092\u524a\u9664
desc-poll.deleteAny=\u3059\u3079\u3066\u306e\u610f\u898b\u8abf\u67fb\u3092\u524a\u9664
desc-poll.editAny=\u3059\u3079\u3066\u306e\u610f\u8b58\u8abf\u67fb\u3092\u7de8\u96c6
desc-poll.editOwn=\u81ea\u5206\u306e\u610f\u8b58\u8abf\u67fb\u3092\u7de8\u96c6
perm-poll.vote=\u610f\u898b\u8abf\u67fb\u3078\u6295\u7968
perm-poll.add=\u65b0\u3057\u3044\u6295\u7968\u3092\u8ffd\u52a0
perm-poll.deleteOwn=\u81ea\u5206\u306e\u610f\u898b\u8abf\u67fb\u3092\u524a\u9664
perm-poll.deleteAny=\u3059\u3079\u3066\u306e\u610f\u898b\u8abf\u67fb\u3092\u524a\u9664
perm-poll.editAny=\u3059\u3079\u3066\u306e\u610f\u8b58\u8abf\u67fb\u3092\u7de8\u96c6
perm-poll.editOwn=\u81ea\u5206\u306e\u610f\u8b58\u8abf\u67fb\u3092\u7de8\u96c6
Loading

0 comments on commit abeac9c

Please sign in to comment.